Troubleshooting App Store submission with the Mapbox Maps SDK for iOS
If you have installed the Mapbox Maps SDK for iOS manually, you may see an App Store bug that results in the following error when submitting your application to the App Store:
ERROR ITMS-90087: Unsupported Architectures. The executable for
YourApp.app/Frameworks/Mapbox.framework
contains unsupported architectures '[x86_64, i386]'
To avoid this, you'll need to add the following script in the Build Phases tab of your project. This script will remove architectures for simulators, which are not necessary for App Store submission.
"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mapbox.framework/strip-frameworks.sh"
If you have installed the Mapbox framework with CocoaPods or Carthage, adding this script is not necessary.
Was this page helpful?