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

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

    use these command to install imagemagick

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

    now, use following steps to check 16 depth assets used in project:

    1) Change the extension of .ipa to .zip. 
    
    2) Expand the .zip file. This will produce a Payload folder containing your .app bundle. 
    
    3) Open a terminal and change the working directory to the top level of your .app bundle cd path/to/Payload/your.app
    
    4) find . -name "*.png" -print0 | xargs -0 identify | grep "16-bit" | awk '{print $1;}' | xargs mogrify -depth 8
    
      this command will show you corrupted images. Replace these images with 8 depth images.
    

提交回复
热议问题