ios - Mapbox App 提交错误

标签 ios app-store mapbox appstore-approval

我已经使用 Mapbox 框架构建了应用程序。应用在设备上运行并通过应用提交验证过程。

但是,当我尝试在 App Store 上提交应用程序时,出现错误

错误 ITMS-90087:“不支持的架构。AppName.app/Frameworks/Mapbox.framework 的可执行文件包含不支持的架构‘[x86_64, i386]’。”

我尝试过不同的解决方案,但还没有成功。

例如http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/

然而在Mapbox cocoapods和其他一些框架,他们提到

最后一步,由 Realm 提供,是解决 iOS 问题所必需的 App Store bug归档通用二进制文件时

谁能告诉我如何解决这个错误或如何使用 Realm 来解决这个问题?

最佳答案

根据 Mapbox iOS SDK动态框架安装说明:

In the Build Phases tab of the project editor, click the + button at the top and select “New Run Script Phase”. Enter the following code into the script text field:

"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mapbox.framework/strip-frameworks.sh”

这适用于 App Store bug其中模拟器切片没有从框架中剥离。

关于ios - Mapbox App 提交错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39285002/

相关文章:

ios - 为 Xcode 4 创建跨项目引用时遇到问题

app-store - AppStore没有提供不自动发布应用程序的选项

angular - "MapboxGeocoder is not a constructor"当尝试在我的组件的 ts 内初始化 MapboxGeocoder 时

ios - Mapbox:iOS:根据位置计算剩余的折线点

ios - Selenium iOS驱动程序(0.6.5)无法启动Safari

iphone - 在运行时自动调整 UIButton 的大小。

iphone - future "Availability Date"的iPhone App当天会出现在 "New Releases"吗?

ios - 通过上传 zip 文件使用 iTunes Connect 将 iOS 应用程序提交到应用程序商店仍然有效吗?

java - 在 Mapbox 中获取 geogson 要素的坐标

iOS 应用程序提交 - 无效的二进制文件