xcode [email protected] 即使不是?无法将应用程序提交到 iTunes Connect
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9646580/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
[email protected] Even though it isn't? Can't submit Apps to iTunes Connect
提问by Plies Neyo
Trying to upload my app, the app sends fine but I get this error via email once the binary has been sent.
尝试上传我的应用程序,该应用程序发送正常,但发送二进制文件后,我通过电子邮件收到此错误。
'Dear developer,
'亲爱的开发者,
We have discovered one or more issues with your recent binary submission for "MyApp". Before your app can be reviewed, the following issues must be corrected:
我们发现您最近提交的“MyApp”二进制文件存在一个或多个问题。在审核您的应用之前,必须纠正以下问题:
Corrupt PNG File - The PNG icon file [email protected] appears to be corrupt.
损坏的 PNG 文件 - PNG 图标文件 [email protected] 似乎已损坏。
Once these issues have been corrected , go to the Version Details page and click Ready to Upload Binary. Continue through the submission process until the app status is Waiting for Upload and then use Application Loader to upload the corrected binary.
更正这些问题后,请转到“版本详细信息”页面并单击“准备上传二进制文件”。继续提交过程,直到应用程序状态为等待上传,然后使用 Application Loader 上传更正后的二进制文件。
Regards,
问候,
The App Store team'
App Store 团队'
I've tried replaced the [email protected] and re-submitted but I got the same email
我试过更换 [email protected] 并重新提交,但我收到了相同的电子邮件
回答by phatblat
This is a problem with Xcode 4.3.1. The solution is to disable PNG compression.
这是 Xcode 4.3.1 的问题。解决方案是禁用 PNG 压缩。
- Project > target > Build Settings > Show All > first item under the Packaging header
- I searched for "pack"
- Toggle Compress PNG Filesto NO
- 项目 > 目标 > 构建设置 > 全部显示 > 打包标题下的第一项
- 我搜索“包”
- 将压缩 PNG 文件切换为NO
While you're at it, go dup rdar://11046386and rdar://11035448on Apple's Bug Reporter
在此期间,请访问Apple 的 Bug Reporter上的dup rdar://11046386和rdar://11035448
Further discussion on the Apple Dev Forums
关于Apple Dev Forums 的进一步讨论
回答by Nicolas Manzini
I had the same error again and again, I couldn't upload my App because of a corrupted PNG.
我一次又一次地遇到同样的错误,由于 PNG 损坏,我无法上传我的应用程序。
I though it was because I failed to uncheck the transparency box when exporting the PNG in Photoshop (which you should/must do) but it appears that there was a layer in my Photoshop image that caused the problem and corrupted my file when exporting in PNG. If ever you think of "save as" and then specify PNG format in your Photoshop, it will not solve the problem either.
我虽然这是因为我在 Photoshop 中导出 PNG 时没有取消选中透明度框(您应该/必须这样做),但看起来我的 Photoshop 图像中有一个图层导致了问题并在以 PNG 导出时损坏了我的文件. 如果您想到“另存为”,然后在 Photoshop 中指定 PNG 格式,也无法解决问题。
You must remake this buggy layer and export your image again. As Domsou said before you can use ImageOptimto verify that your new PNG is not corrupt... and optimize its size at the same time (Actually it does not check it but if the file is corrupted it won't be able to optimize it). I've done what I just said and now my App is waiting for review :) Good luck (hope your image does not have 30 layers...mine had 2)
您必须重新制作这个有问题的图层并再次导出您的图像。正如 Domsou 之前所说,您可以使用ImageOptim来验证您的新 PNG 没有损坏......并同时优化其大小(实际上它不会检查它,但如果文件损坏,它将无法优化它)。我已经完成了我刚才所说的,现在我的应用程序正在等待审核:) 祝你好运(希望你的图像没有 30 层......我的有 2 个)
回答by Alexander
Are you sure your image covers all the requirements?
回答by DjimOnDev
It seems to be a problem in the info.plist file !!!! When removing icons from the app, on record is keeping in place.
好像是info.plist文件有问题!!!!从应用程序中删除图标时,记录会保留到位。
I removed it from those 2 nodes : - Icon Files - Icon files (IOS 5)
我从这两个节点中删除了它: - 图标文件 - 图标文件(IOS 5)
i don't know again if that worked but i didn't received mails for this moment...
我不知道这是否有效,但此刻我没有收到邮件......
回答by DjimOnDev
This is what worked for me :
这对我有用:
Click on those 4 images : - the icon - the icon@2x - the default - the default@2x
单击这 4 个图像: - 图标 - 图标@2x - 默认 - 默认@2x
in the right window 'Identity and Type' select this File Type : 'Icon'
在右侧窗口“身份和类型”中选择此文件类型:“图标”
回答by NiKe
If you Build application for Archiving you'll probably see the warning saying you have mismatched icon settings. I've got this error when i've submitted app using xCode 4.3 with deploy target set to iOS 3.0. My app bundle had Icon.png and [email protected], after i've added new icons they were named Icon57.png & Icon114.png, old ones were not deleted automatically.
如果您为存档构建应用程序,您可能会看到警告说您的图标设置不匹配。当我使用 xCode 4.3 提交应用程序并将部署目标设置为 iOS 3.0 时,出现此错误。我的应用程序包有 Icon.png 和 [email protected],在我添加新图标后,它们被命名为 Icon57.png 和 Icon114.png,旧的不会自动删除。
This is how i've solved this problem: 1) removed old Icon.png & [email protected] from project; 2) new Icon57.png & Icon114.png renamed to Icon.png & [email protected] 3) in *-info.plist i've corrected icon records from Icon57.png & Icon114.png to Icon.png & [email protected] 4) Added CFBundleIconFile row with value Icon.png
这是我解决这个问题的方法:1)从项目中删除旧的 Icon.png 和 [email protected];2) 新的 Icon57.png & Icon114.png 重命名为 Icon.png & [email protected] 3) 在 *-info.plist 我已经将 Icon57.png & Icon114.png 的图标记录更正为 Icon.png & Icon@ 2x.png 4) 添加了值为 Icon.png 的 CFBundleIconFile 行
That's it! =)
就是这样!=)
回答by Ben Lings
I had the same problem with an icon today. The icon was saved as an interlaced PNG. I re-saved it as non-interlaced, resubmitted and it wasn't rejected.
我今天在图标上遇到了同样的问题。该图标已保存为隔行扫描 PNG。我将其重新保存为非隔行扫描,重新提交并没有被拒绝。
回答by Steve Wang
That works for me, too. Just change icon72.png and icon144.png file type to "Icon", then App Store accept the submission.
这对我也有效。只需将 icon72.png 和 icon144.png 文件类型更改为“图标”,然后 App Store 接受提交。
回答by jaredsinclair
@Phatblat's solution will work, but it doesn't fix the root of the problem. The primary cause is probably that "Interlaced" was enabled when exporting the app icons from Photoshop. Disabling PNG compression will prevent the rejection, but it will often increase the size of your IPA. If you disable Interlacing and resave all of your icons in Photoshop, you can re-enable PNG compression and should be able to submit your app without issue.
@Phatblat 的解决方案会奏效,但不能解决问题的根源。主要原因可能是从 Photoshop 导出应用程序图标时启用了“隔行扫描”。禁用 PNG 压缩将防止拒绝,但它通常会增加 IPA 的大小。如果您禁用隔行扫描并在 Photoshop 中重新保存所有图标,您可以重新启用 PNG 压缩,并且应该能够毫无问题地提交您的应用程序。
This is what happened to me with my app Pillboxie, which as tons of images. I needed PNG compression to keep my file size low.
这就是我的应用程序 Pillboxie 发生的事情,它包含大量图像。我需要 PNG 压缩来保持我的文件很小。