mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

Errors when building for iOS

Open dpruitt90 opened this issue 8 years ago • 3 comments

Note: If this is a bug or support ticket, please provide the following information:

  • Unity version: Unity 2018.2.12f1
  • Mapbox SDK version: 1.4.5
  • The platform you're building to: iOS
  • A description of what you're trying to do: Build an app for iOS
  1. Build app for iOS in Unity
  2. Build opens xCode and reports successful build
  3. Attempt to build for device, and receive the following error (after receiving the error mentioned in #644 and manually updating search headers - isn't that fixed?????:

/clang:-1: linker command failed with exit code 1 (use -v to see invocation)

dpruitt90 avatar Oct 12 '18 23:10 dpruitt90

@dpruitt90 This #644 error seems to occur with the way Unity exports xCode projects. If you rebuild the xCode project and chose the option Append , it will start working.

The header paths are correctly appended but somehow xCode is not able to find it.

abhishektrip avatar Oct 12 '18 23:10 abhishektrip

@dpruitt90

/clang linker command failed with exit code 1 (use -v to see invocation)

Are you sure this is Mapbox related error?

abhishektrip avatar Oct 12 '18 23:10 abhishektrip

@atripathi-mb Please disregard. It looks like it was due to a setting in the "Target Minimum IOS Version. When set to 9.0 we got the build errors. Setting to 8.0 and everything worked.

dpruitt90 avatar Oct 13 '18 00:10 dpruitt90