验证错误:无效的捆绑包.位于 ... 的包包含不允许的文件“Frameworks" [英] Validation Error: Invalid Bundle. The bundle at ... contains disallowed file 'Frameworks'

查看:23
本文介绍了验证错误:无效的捆绑包.位于 ... 的包包含不允许的文件“Frameworks"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Xcode6 GM 提交应用程序,但在验证时出现此错误.该应用有一个操作扩展程序和一个在扩展程序和应用程序本身之间共享的动态框架.

I'm trying to submit an app with the Xcode6 GM, and I get this error on validation. The app has an action extension and a dynamic framework that's shared between the extension and the app itself.

我在项目的任何地方都没有名为Frameworks"的文件,所以我真的不确定这意味着什么.有没有人遇到过这个问题或有任何想法?

I don't have a file called 'Frameworks' anywhere in the project, so I'm really not sure what this is supposed to mean. Has anyone gotten this issue or have any ideas?

推荐答案

原来错误与使用 Swift 有关(应用程序和扩展程序都使用 Swift).

Turns out the error is related to using Swift (both the app and the extension make use of Swift).

对于应用程序,我必须设置:

For the app, I had to set:

Embedded Content Contains Swift Code: YES

对于扩展:

Embedded Content Contains Swift Code: NO

Xcode 8 和 9

看起来这已在 Xcode 8 和 9 中重命名为 Always Embed Swift Standard Libraries.因此,对于应用程序:

Looks like this has been renamed to Always Embed Swift Standard Libraries in Xcode 8 and 9. So, for the app:

Always Embed Swift Standard Libraries: YES

对于扩展:

Always Embed Swift Standard Libraries: NO

这篇关于验证错误:无效的捆绑包.位于 ... 的包包含不允许的文件“Frameworks"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆