Assets.car can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier?

前端 未结 14 529
执念已碎
执念已碎 2020-12-04 12:52

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:

相关标签:
14条回答
  • 2020-12-04 13:10

    I've found the offending images with the @fancy steps but I couldn't change the color profile of my images with the above solutions.

    I've tried with ColorSync, Preview, and I was unable to change the color profile of the offending images.

    Finally I could change the color profile using convert command.

    convert my_image.png -profile /path/to/AdobeRGB1998.icc -profile /path/to/sRGB_v4_ICC_preference_displayclass.icc my_image.png
    

    After this, the appropiated color profile (sRGB...) was shown on Finder > File > Get Info and finally I was able to upload my app using Application Loader.

    If you want to try this method:

    1) Download ImageMagick using brew:

    brew update
    brew install imagemagick --with-little-cms --with-little-cms2
    

    2) Download the color profiles:

    • AdobeRGB1998 > https://www.adobe.com/digitalimag/adobergb.html
    • sRGB_v4_ICC_preference_displayclass.icc > http://www.color.org/srgbprofiles.xalter

    3) Execute the following command:

    convert input_image_name.ext -profile /path/to/AdobeRGB1998.icc -profile /path/to/sRGB_v4_ICC_preference_displayclass.icc output_image_name.ext
    
    0 讨论(0)
  • 2020-12-04 13:10

    Was able to resolved using the ff steps:

    1. Double checked all my Assets and made sure there's no P3 by using @fancy answer.
    2. Manually look into Xcode Assets for non-RGB color space.
    3. Set deployment target from 8.3 to 8.2
    0 讨论(0)
  • 2020-12-04 13:13

    If you need to resolve the issue on temporary basis just increase its minimum development target to iOS 9.0 and this issue will be resolved.

    0 讨论(0)
  • 2020-12-04 13:15

    Inspired by Ignacio, I have been able to convert all the AdobeRGB1998 images to sRGB images with the following scripts

    Install imagemagick

    brew update
    brew install imagemagick --with-little-cms --with-little-cms2
    

    Find images and convert them to sRGB profile

    cd path>to>Images.xcassets>folder
    find . -name '*.png' -exec convert "{}" \
    -profile    "/System/Library/ColorSync/Profiles/AdobeRGB1998.icc" \
    -profile "/System/Library/ColorSync/Profiles/sRGB Profile.icc" \
    "{}"  \;
    

    If you don't have AdobeRGB1988.icc on you mac

    Consider downloading it here AdobeRGB1998 https://www.adobe.com/support/downloads/iccprofiles/iccprofiles_mac.html https://www.adobe.com/digitalimag/adobergb.html

    0 讨论(0)
  • 2020-12-04 13:17
    1. Find in your assets catalog icons with attribute Adobe RGB (1998).
    2. Replace it with icon with attribute sRGB IEC61966-2.1

    because, it needs to be changed to 8bit sRGB

    0 讨论(0)
  • 2020-12-04 13:17

    Also Do The Following As An Addition To What I Have Posted Earlier

    This Step Is Applied For All Photos Open Each Or All Photos in Preview App Click On Tools > Adjust Size > Then set dpi to 72
    And Tools > Assign Profile > Then Select Generic RGB Profile

    0 讨论(0)
提交回复
热议问题