skip to Main Content

I’m using MapLibre in React Native project, when i do bunx eas build --profile preview --local -p ios i start getting this error, but no issues when doing in simulator.

I did have MapBox in my other project and that is working fine. But unsure if this related. Or is there a signature being stored in system that i need to manually remove?

2

Answers


  1. Is an error from Xcode 15, add the next script to your build phases:

    if [ "$XCODE_VERSION_MAJOR" = "1500" ]; then
      echo "Remove signature files (Xcode 15 workaround)"
    
      rm "$BUILD_DIR/Release-iphoneos/Mapbox.xcframework-ios.signature"
    fi
    

    Issue reference

    Login or Signup to reply.
  2. If using Xcode 15 or higher, then this script may fix, just add new step to build phase and tick For install builds only:

    if [ "$XCODE_VERSION_MAJOR" = "1500" ]; then
      echo "Remove signature files (Xcode 15 workaround)"
      find "$BUILD_DIR/${CONFIGURATION}-iphoneos" -name "*.signature" -type f | xargs -r rm
    fi
    

    2 things updated than previous answer:

    • ${CONFIGURATION} for dynamic config
    • Process won’t stop if there’s no *.signature files

    This update did save my time in some case, and may be your time too.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search