提交 swift 应用程序 + 框架时捆绑包无效

Invalid Bundle while submitting swift app + framework

我的应用程序在 swift 中,并且依赖于 swift+obj-C(包括 Parse 库)中的私有框架(动态而非静态),它管理对 [=40= 的调用] API。

我按照此 tuto 在工作区中构建我的应用程序。

代码 运行 在我的 iPhone 上没问题。

存档没问题(如果我取消选中 'Include app symbols' 或失败,如 here),但我收到了来自 iTunes Connect 的邮件,其中包含以下消息:

Invalid Bundle - This app includes files that were built with bitcode enabled but without doing an Archive or Install build, possibly from a library or framework that was imported but not built as part of the project. Full bitcode content is only generated in an Archive or Install build.

Once these issues have been corrected, you can then redeliver the corrected binary.

我已经检查并重新检查了我的构建设置 3 次,但我找不到我遗漏的内容。

我的会议:[​​=14=]

尝试禁用位码支持

Project > Build Settings > All > Build Options > Enable Bitcode = NO

也许您的库是在没有 Bitcode 的情况下编译的,但是在 Xcode7

中您的项目默认启用了上述设置