How do I change my iPhone App binary filename

两盒软妹~` 提交于 2019-11-29 20:38:25

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

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

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

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

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

Change that to ExampleName and save the file.

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

Since Xcode or the Application Loader is the only way to submit apps now, renaming the file before using the web interface isn't an option.

However, there is a workaround. From Xcode Organizer, choose Save to Disk, pick a file name without a space, and then use Application Loader (not the Xcode Organizer) to send the archive to Apple.

I ran into this and another issue when I wanted to submit an app with whitespace and a + in the name.

Application Loader did not work well for me - cryptic errors that required deleting the IPA and rebuilding.

My final solution was to set the PRODUCT_NAME to something sane, e.g. instead of My App+ it was MyAppPro. Then I set CFBundleDisplayName in Info.plist to the name I wanted, e.g. My App+.

This is in my opinion a better solution than renaming the IPA every time and using Application Loader.

I just had to rename the zip file before uploading it in the web interface. This is really silly...

Use Xcode 4.

The problem is solved in this version.

There's no need to change anything in XCode. Just rename the resulting .zip File from "My Application.zip" to "My_Application.zip". This does not affect your application name its just a way to bypass the Application Loader filename checks (which do not allow whitespaces in the uploaded zip filename).

My_Application.zip should be fine

I was able to use the Organizer, select Share, Save to disk. The went to the file and told Finder to open it with Application Loader v1.4. This is with XCode 3.2.5. I've previously used Application Loader to upload apps to the Mac app store.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!