在 iTunesConnect 上上传后二进制文件无效 [英] Invalid Binary File after uploading on ITunesConnect
问题描述
我已经构建了一个 iPhone 应用程序并正在上传第 4 个版本,此时 iTunes Connect 上显示无效二进制状态.第13个版本顺利上传.
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 .
的 hidden 文件/文件夹.包含在 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.
这篇关于在 iTunesConnect 上上传后二进制文件无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!