Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[iOS] build fails with Xcode 8.1 #6942

Closed
RomainQuidet opened this issue Nov 7, 2016 · 5 comments
Closed

[iOS] build fails with Xcode 8.1 #6942

RomainQuidet opened this issue Nov 7, 2016 · 5 comments
Labels
iOS Mapbox Maps SDK for iOS

Comments

@RomainQuidet
Copy link
Contributor

**Platform:iOS
Mapbox SDK version: master branch

Steps to trigger behavior

  1. Compile SDK with command line make ipackage
  2. Or compile static or dynamic SDK with Xcode project after a make iproj

Expected behavior

Compilation is ok

Actual behavior

job fails with error on Settings.bundle:

CodeSign /Users/mappy/Documents/mapbox-gl-native/build/ios/Debug-iphonesimulator/Settings.bundle
cd /Users/mappy/Documents/mapbox-gl-native/platform/ios
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Signing Identity: "-"

/usr/bin/codesign --force --sign - --timestamp=none /Users/mappy/Documents/mapbox-gl-native/build/ios/Debug-iphonesimulator/Settings.bundle

/Users/mappy/Documents/mapbox-gl-native/build/ios/Debug-iphonesimulator/Settings.bundle: bundle format unrecognized, invalid, or unsuitable
Command /usr/bin/codesign failed with exit code 1

@tobrun tobrun added the iOS Mapbox Maps SDK for iOS label Nov 7, 2016
@RomainQuidet
Copy link
Contributor Author

This happens only when the target device is iPhoneSimulator. The build on Xcode project succeed when set to iOS Generic Device

@RomainQuidet
Copy link
Contributor Author

according to this thread, a missing ressource or info.plist makes Xcode 8.1 failing building the bundle.
https://forums.developer.apple.com/thread/66538

@boundsj
Copy link
Contributor

boundsj commented Nov 8, 2016

This looks like a duplicate of #6947 that was fixed by #6948. @RomainQuidet. Can you please test again with 642ef0f?

@RomainQuidet
Copy link
Contributor Author

You're right, it's the missing plist that makes Xcode 8.1 failing building mapbox

@frederoni
Copy link
Contributor

frederoni commented Nov 9, 2016

Fixed by #6948

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

4 participants