如何更改我的iPhone App二进制文件名 [英] How do I change my iPhone App binary filename

查看:174
本文介绍了如何更改我的iPhone App二进制文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在iTunes Connect上传应用程序时出现以下错误:

I get the following error when I try to upload the application on iTunes Connect:

二进制文件名不能包含空格。请重命名二进制文件并尝试再次。

"Binary file names cannot contain a space. Please rename your binary file and try again."

如果我尝试在XCode中验证应用程序,我得到:
我的Application.ipa:文件名可能不包含空格

If I try to Validate the Application in XCode, I get: "My Application.ipa: filename may not contain whitespace"

所以我想我必须找到一种方法来重命名这个.ipa文件。我不想更改必须保留我的应用程序的产品名称。我怎么能这样做?

So I guess I have to find a way to rename this .ipa file. I don't want to change my product name which has to stay "My Application". How can I do that?

谢谢!

推荐答案

这是有效的非常好(取自这里: http://developer.appcelerator.com/question/82971/filename-may-not-contain-whitespace-in-xcode-325-is-back ):

This works very well (taken from here: http://developer.appcelerator.com/question/82971/filename-may-not-contain-whitespace-in-xcode-325-is-back):

1)在Xcode Organizer中右键单击应用程序的构建日期,然后选择在Finder中显示已存档的应用程序

1) In Xcode Organizer right click on the build date of the app and select "Reveal Archived App in Finder"

2)打开ArchiveInfo.plist在文本编辑器中(我使用过Coda)

2) Open ArchiveInfo.plist in a text editor (i used Coda)

3)对于第12行的我来说,它创建了一个带有空格的应用程序:

3) For me at line 12 it was creating the application with a space:

  <key>XCApplicationName</key>
  <string>Example Name</string>

将其更改为ExampleName并保存文件。

Change that to ExampleName and save the file.

4)一旦你回到Xcode Organizer,你应该可以通过罚款。

4) Once you get back to Xcode Organizer, you should be able to go through fine.

这篇关于如何更改我的iPhone App二进制文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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