简体   繁体   English

iOS App Store提交错误

[英]iOS App Store Submission Error

I have an iOS app that works fine when I deploy to an iPhone but throws the following error when attempting to submit to the App Store via Xcode. 我有一个iOS应用程序,当我部署到iPhone时可以正常运行,但是尝试通过Xcode提交到App Store时抛出以下错误。

How would I go about unblocking this? 我将如何取消阻止呢?

Any help is greatly appreciated. 任何帮助是极大的赞赏。

Unexpected CFBundleExecutable Key. 意外的CFBundleExecutable密钥。 The bundle at 'Payload/Picsolve.app/GooglePlus.bundle' does not contain a bundle executable. “ Payload / Picsolve.app / GooglePlus.bundle”中的捆绑软件不包含捆绑软件可执行文件。 If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. 如果此捆绑包故意不包含可执行文件,请考虑从其Info.plist中删除CFBundleExecutable键,并使用BNDL的CFBundlePackageType。 If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue. 如果此捆绑包是第三方框架的一部分,请考虑与框架的开发人员联系以获取更新以解决此问题。

I have checked what the error suggests... and it looks like the CFBundleExecutable key does not exist and the CFBundlePackageType of BNDL already exists. 我已经检查了错误提示的内容...并且看起来CFBundleExecutable键不存在,并且BNDL的CFBundlePackageType已经存在。

在此处输入图片说明

I removed the Executable File item, and then did a project clean followed by Archive. 我删除了“可执行文件”项,然后先清理项目,然后清理存档。 I then attempted to validate the new archive for app store submission and the same error message displayed. 然后,我尝试验证用于应用商店提交的新档案,并显示相同的错误消息。

I encountered the same problem today with the same exact error message when trying to submit our app (using Xcode 7 beta 5) but instead of the instabug.bundle bit, it was for me TencentOpenApi_IOS_Bundle.bundle . 今天,当我尝试提交我们的应用程序时(使用Xcode 7 beta 5),我遇到了相同的错误消息,但还是出现了同样的错误消息,但不是instabug.bundle位,而是我TencentOpenApi_IOS_Bundle.bundle

I solved the problem by finding the named bundle in the project then - just as the error message suggests - edited the Info.plist that is in the bundle by removing the CFBundleExecutable key. 我通过在项目中找到命名包解决了问题,正如错误消息所建议的那样,通过删除CFBundleExecutable键编辑了包中的Info.plist The CFBundlePackageType key was already set to BNDL so I didn't touch it. CFBundlePackageType键已经设置为BNDL所以我没有碰它。

After these changes, I did Product > Clean and then had no problem submitting the app to the App store. 完成这些更改后,我进行了“产品”>“清洁”,然后将应用程序提交到App Store没问题。

I hope this helps. 我希望这有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM