无效的捆绑结构 - iOS [英] Invalid Bundle Structure - iOS

查看:23
本文介绍了无效的捆绑结构 - iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试通过 Xcode(以及应用程序加载器)向 Apple Store 提交应用程序,但收到以下错误:

I have tried do submit an application via Xcode (as well as the application loader) to the Apple store, and I received the following error:

无效的包结构 - 不允许使用二进制文件xx.app/xx".您的应用程序可能只包含一个可执行文件.有关 iOS 应用程序包结构的信息,请参阅包编程指南.

Invalid Bundle Structure - The binary file 'xx.app/xx' is not permitted. Your app may contain only one executable file. Refer to the Bundle Programming Guide for information on the iOS app bundle structure.

根据Bundle Programming Guide,我检查了文件生成的文件/项目设置,但没有发现问题所在.

I checked the files generated files/project settings and I didn't find what's wrong according to the Bundle Programming Guide.

我们已尝试清理我们的代码存储库,并通过更新构建文件夹位置以及派生数据位置来进行清理构建,但仍然遇到相同的错误.

We have attempted to clean our code repository, as well as do clean builds by updated the build folder locations as well as the derived data locations and still get the same error.

Apple 给我们的唯一反馈是询问我们是否使用了 3rd 方库,我们确实这样做了.这只是几天前发生的.

The only feedback that Apple has given us is a query about whether we use 3rd party libraries, which we do. This has only happened as of a few days ago.

我们将不胜感激任何建议或分步说明以上传我们的二进制文件.

Any suggestions or step by step instructions to get our binaries uploaded would be greatly appreciated.

我们使用版本 4.6.2 (4H1003) 和 Application Loader 2.8 上传到 iTunes,并且我们之前已经部署了多个具有完全相同结构的应用程序(最后一个应用程序是在错误发生前 2 天部署的,并且现在尝试将最后一个工作二进制文件重新上传到备用应用程序 [更改相关应用程序特定信息后] 失败).

We are using Version 4.6.2 (4H1003) as well as Application Loader 2.8 to upload to iTunes, and we have deployed multiple apps with the exact same structure previously (last app was deployed 2 days prior to the error occuring, and now attempting to reupload the last working binary to an alternate app [after changing relevant app specific info] fails).

提前致谢.

推荐答案

对我来说答案是

  1. 前往

/Users/myusername/Library/Developer/Xcode/Archives

/Users/myusername/Library/Developer/Xcode/Archives

转到最新存档的当前文件夹.

go to the current folder for the latest archive.

右键单击 .xarchive 并选择显示包内容"

right-click the .xarchive and select 'show package contents'

在产品/应用程序"目录中导航

navigate inside the 'products/applications' directory

右键单击 myAppName.app 并选择显示包内容"

right-click the myAppName.app and select 'show package contents'

删除最底部未命名为myAppName.exe的exe

delete the exe at the very bottom that was not named myAppName.exe

这篇关于无效的捆绑结构 - iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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