错误 ITMS-90207 捆绑包无效

ERROR ITMS-90207 Invalid bundle

使用此框架将应用上传到应用商店时遇到问题。

ERROR ITMS-90207 "Invalid bundle. The bundle at .../TesseractOCR.framework' does not contain a bundle executable.

在我的 Xcodeproj 中我有另一个项目,我包括依赖项框架、链接库和复制文件。

你知道这个问题吗?

非常感谢,纳韦尔。

我通过在构建设置中将 Mach-O 类型更改为动态库解决了这个问题。 Xcode 没有生成可执行文件。

我通过关闭 Bitcode 解决了这个问题。 (下面两个是相关设置)

  1. 构建设置 > 构建选项 > 启用位码:否
  2. 将应用程序上传到 Itunes Connect 时取消选中 "Include Bitcode"(存档后)

我遇到了同样的问题。我按照以下流程解决了这个问题:

In your info.plist file, under the key Executable file, add the value $(EXECUTABLE_NAME).