Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change my iPhone App binary filename

Tags:

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."

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

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?

Thanks!

like image 692
Kamchatka Avatar asked Jun 14 '10 05:06

Kamchatka


People also ask

How do I change my app Display name?

Go to the app > res > values > strings. xml file as shown in the below image. In this file we have a string name as app_name it is the string resource that holds the current app name which is passed in the Manifest. xml file's application tag inside the label attribute.

What is IOS binary file?

An app binary is a file that contains machine code for a computer to execute.

What is a binary for an app?

In general, executable -- or ready-to-run -- programs are identified as binary files and given a filename extension such as . bin or .exe. Programmers often talk about an executable program as a binary or will refer to their compiled application files as binaries.


1 Answers

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.

like image 75
Johannes Fahrenkrug Avatar answered Oct 28 '22 17:10

Johannes Fahrenkrug