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

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

问题描述

我试过通过Xcode(以及应用程序加载器)向Apple商店提交申请,我收到以下错误:

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给我们的唯一反馈是询问我们是否使用第三方库,我们这样做。这只发生在几天前。

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. 转到

  1. go to

/ 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'

在'products / applications'目录中导航

navigate inside the 'products/applications' directory

右键单击myAppName.app并选择show package contents

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

删除exe文件底部未命名为myAppName.exe

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

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

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