1

I have built an iPhone application and was uploading the 4th version when the Invalid Binary status showed up on ITunes Connect. The 1st 3 versions uploaded smoothly.

I recieved a mail from Apple with the following error

Invalid File Name - Your package contains a file 'appname.app/Icon ' with a name that contains invalid characters. Avoid using control characters in the file names.

I am unable to zero down on the trouble making file. Any leads on how I could debug this? Have been stuck on it for 2 days now.

Vishal Shah
  • 1,069
  • 1
  • 10
  • 11
  • I think it's because of the "/" in the file name. Don't use chars like "/" or "." for your files' name – zbMax Aug 27 '13 at 08:21

2 Answers2

3

App icon file must be named Icon.png. It appears that your binary includes a file with incorrect name or a space in between. Check the app icon file's name.

Also check your XCode project for any stray file with name Icon .png. Sometimes due to version control softwares there can be some hidden files backup with strange name. Check for hidden files/folders with name Icon . in your XCode project. Any such files getting included in your XCode project will get added in the app binary resources.

Amar
  • 13,202
  • 7
  • 53
  • 71
1

In my case I found the Icon .png making a search in the filter of the Project Navigator

filter inside Project Navigator

I delete it and it worked.

chuck
  • 31
  • 5