Platform: iOS
Mapbox SDK version: 3.2
I added the SDK using the dynamic framework package, and added to the project as Embedded Binary.
The SDK works perfectly.
But I encounter this issue when I upload to AppStore,

Any idea what I'm doing wrong?
Thanks in advance.
You forgot the buildphase that strips the mapbox framework from the i386 and x86_64 architecture.
https://github.com/mapbox/mapbox-gl-native/blob/master/platform/ios/INSTALL.md#dynamic-framework

Hi @mozinator,
Thanks for the quick reply.
I did indeed add the script, but the project doesn't build and throws me an error like so -
/Users/ramsundar.narayanan/Library/Developer/Xcode/DerivedData/AppName/Build/Intermediates/ArchiveIntermediates/AppName/BuildProductsPath/Release-iphoneos/AppName.app/Frameworks/Mapbox.framework/strip-frameworks.sh: No such file or directory
@Ramshandilya, how did you install the SDK? Manually, or via a package manager like Fabric or CocoaPods? If you installed it manually, which ZIP file did you download from the release page?
I did it manually. Using the mapbox-ios-sdk-3.2.0-dynamic.zip
@1ec5 @mozinator Thanks for the help! I tried again with the build phase script, and it worked.
Most helpful comment
@1ec5 @mozinator Thanks for the help! I tried again with the build phase script, and it worked.