验证错误:无效的包。在...包含不允许的文件'框架' [英] Validation Error: Invalid Bundle. The bundle at ... contains disallowed file 'Frameworks'

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

问题描述

我正在尝试使用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中看起来已经重命名为始终嵌入Swift标准库因此,对于应用程序:

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

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

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