xcode 此捆绑包无效 - 您的存档包含不允许的路径:(“AppThinning.plist”)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/46361761/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:17:06  来源:igfitidea点击:

This bundle is invalid - Your archive contains paths that are not allowed: ( "AppThinning.plist" )

xcodeapp-store-connectxcode9application-loader

提问by C?ur

We made an archive with Xcode 9.
We exported this archive with Xcode 9.
We successfully uploaded the app to iTunes Connect with Application Loader. Yet, soon after, we got this message:

我们使用 Xcode 9 创建了一个存档。
我们使用 Xcode 9导出了这个存档。
我们使用 Application Loader 成功地将应用上传到了 iTunes Connect。然而,不久之后,我们收到了这条消息:

This bundle is invalid - Your archive contains paths that are not allowed: ( "AppThinning.plist" )

此捆绑包无效 - 您的存档包含不允许的路径:(“AppThinning.plist”)

This was not happening with Xcode 8.

Xcode 8 没有发生这种情况。

回答by C?ur

When you're exporting with Xcode 9 or later, they will ask you if you want to Strip Swift symbols:
enter image description here

当您使用 Xcode 9 或更高版本导出时,他们会询问您是否要剥离 Swift 符号:
在此处输入图片说明

Well, don't uncheck it! And the error will be gone.

好吧,不要取消选中它!错误将消失。