本文介绍了如果应用程序支持 iOS 8 或更早版本,Assets.car 不能包含 16 位或 P3 资产?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人在上传到 iTunesConnect 时遇到过这个错误.上传过程进入使用 iTunes 商店验证资产",我收到以下错误:

我正在使用 xCode8,在现有的 iOS 应用程序中嵌入自定义贴纸应用程序.我暂时删除了贴纸资产并包含了苹果示例消息图标来测试是否是我的贴纸资产导致了问题,但是在验证时我收到了同样的错误.有什么想法吗?

解决方案

简而言之:您的捆绑包中有格式不受支持的图片.您可以调整这些图像的格式或增加目标的最低 iOS 版本.请记住,后者只是一个修补程序,可能不是您想要做的,因为它会因为一个非常可解决的问题而减少您的潜在用户群.

第 1 部分将解释如何找出哪些图片有问题.

第 2 部分 向您展示如何调整图片格式,以便 iTunesConnect 满意.如果您只有少量图片,可以跳到第 2 部分并手动检查.

第 1 部分:识别违规图片:

Apple 开发者论坛有一个关于此的主题:

我不知道哪些配置文件正确,哪些不正确,但我的Adobe RGB (1998)"肯定被拒绝了.所以我使用了Color Synch Utility"(OSX 自带).(右击图片,打开方式...)

现在,您可以在底部指定不同的颜色配置文件:

现在,如果您再次检查您的图像,它应该如下所示:

现在替换您之前的图像并重试.这对我有用,希望对您有所帮助.

Has anyone come across this error when uploading to iTunesConnect. Upload precess gets to "Verifying assets with iTunes store" the I get the following error:

I am working with xCode8, embedding a custom sticker app within an existing iOS application. I have temporarily removed sticker assets and included apple sample message icons to test if it was my sticker assets that were causing the issue, however when validating I receive the same error. Any thoughts?

解决方案

In short:There are pictures in your bundle that have a non-supported format.You can either adjust the format of these images or increase your minimum iOS version of your target. Keep in mind that the latter is only a hotfix and probably not what you want to do, because it would decrease your potential user base because of a very solvable problem.

Part 1 will explain how to find out which pictures are the offending ones.

Part 2 shows you how to adjust the picture format so that iTunesConnect is happy with it. If you only have a handful of images, you can skip to Part 2 and check them manually.

Part 1: Identify the offending images:

The Apple Developer Forum has a thread on this:https://forums.developer.apple.com/thread/60919

The accepted solution is as follows:

Part 2: Adjust the color profile of the images to play nice with iTunesConnect

Open the "Information" of the offending file (CMD+I).Check your color profile.

I don't know which profiles exactly are fine and which are not, but my "Adobe RGB (1998)" certainly got rejected.So I used "Color Synch Utility" (comes with OSX). (Right click on the image, open with...)

Now at the bottom you have the possiblity to assign a different color profile:

Now if you inspect your image again it should look like this:

Now replace your previous image(s) and try again.This worked for me, I hope this helps you.

这篇关于如果应用程序支持 iOS 8 或更早版本,Assets.car 不能包含 16 位或 P3 资产?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 09:30
查看更多