Invalid Binary File after uploading on ITunesConnect

霸气de小男生 提交于 2019-11-28 06:14:31

问题


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.


回答1:


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.




回答2:


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

I delete it and it worked.



来源:https://stackoverflow.com/questions/18460314/invalid-binary-file-after-uploading-on-itunesconnect

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