我有一个 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/