tvOS 框架包含不完整的位码

标签 tvos bitcode

我有一个 tvOS 配置如下的项目:

我的应用

MyAppFramework

MyAppFramework 设置为嵌入到 MyApp 中。

该应用程序在设备上调试运行良好,但在存档后提交到 App Store 时,我得到:

ERROR ITMS-90668: "Invalid Bundle Executable. The executable file 'MyApp.app/Frameworks/MyAppFramework.framework/MyAppFramework' contains incomplete bitcode. To compile binaries with complete bitcode, open Xcode and choose Archive in the Product menu."

ERROR ITMS-90635: "Invalid Mach-O Format. The Mach-O in bundle "MyApp.app/Frameworks/MyAppFramework.framework" isn’t consistent with the Mach-O in the main bundle. The main bundle Mach-O contains arm64(bitcode and machine code), while the nested bundle Mach-O contains arm64(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting."

MyApp 或 MyAppFramework 都没有 BITCODE 的任何配置设置,因此它采用默认值。

有没有其他人遇到这个问题,有什么想法吗?

最佳答案

我遇到了同样的问题。我正在构建一个框架并在我的应用程序中使用它。我需要做的是存档框架。这解决了 ITMS-90635 错误。

关于tvOS 框架包含不完整的位码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37947636/

相关文章:

tvOS上的UIScrollView

tvos - Apple TV 开发者套件的差异

javascript - 在 xcode 中哪里可以找到 tvos 的 javascript 控制台?

ios - 导出存档以进行临时分发时无法验证位码​​ - 尝试过 Xcode 8.3.3 和 Xcode 9

ios - 位码和dylib

iOS - Crashlytics - 缺少几次崩溃

ios - 电视操作系统 UIFocusEnvironment 没有聚焦按钮

simulator - 在 tvOS Simulator 上卸载应用程序

ios - Xcode 8.3 xcodebuild exportArchive 不工作 "No applicable devices found"错误

ios - 错误 : Invalid bitcode version (Producer: '800.0.24.1_0' Reader: '703.0.31_0' ) with XCode 7. 3.1