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

前端 未结 14 532
执念已碎
执念已碎 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: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

提交回复
热议问题