在 iTunesConnect 上上传后无效的二进制文件

在 iTunesConnect 上上传后无效的二进制文件

问题描述:

我已经构建了一个 iPhone 应用程序,并且在 iTunes Connect 上显示无效二进制状态时正在上传第 4 个版本.第一3个版本顺利上传.

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.

我收到了一封来自 Apple 的邮件,其中包含以下错误

I recieved a mail from Apple with the following error

文件名无效 - 您的包中包含一个文件appname.app/Icon",其名称包含无效字符.避免在文件名中使用控制字符.

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.

我无法将问题制作文件归零.关于我如何调试这个的任何线索?已经坚持了 2 天了.

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.

应用图标文件必须命名为Icon.png.您的二进制文件似乎包含名称不正确或中间有空格的文件.检查应用程序图标文件的名称.

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.

还要检查您的 XCode 项目中是否有任何名为 Icon .png 的杂散文件.有时由于版本控制软件,可能会有一些名称奇怪的隐藏文件备份.检查 XCode 项目中名称为 Icon .隐藏文件/文件夹.任何包含在您的 XCode 项目中的此类文件都将添加到应用二进制资源中.

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.