-
105. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
Alarmus Sep 28, 2016 4:51 AM (in response to fernando)This script helped me a lot!
just run it inside your Asset catalog. My Deployment target is 8.2 and App was successfully uploaded to AppStore after this script
#!/bin/sh files=`find . -name "*.png"` for i in ${files[@]}; do SOURCE_FILE=${i} DESTINATION_FILE=$SOURCE_FILE sips \ --matchTo '/System/Library/ColorSync/Profiles/sRGB Profile.icc' \ "$SOURCE_FILE" \ --out "$DESTINATION_FILE" done exit 0
-
106. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
ffyrty Sep 29, 2016 12:54 AM (in response to fernando)We are having the same issue. A few days ago, we released our app with Xcode 7.3. Yesterday, I migrated to Swift 3 and today I was trying to upload a beta to TestFlight but I'm having this error. Every target in our app points to iOS 9. I've tried the proposed solution and none of my assets are 16-bit or P3. What should we do?
EDIT:
The script above me fixed the error! We were able to ship the app after using the script!
-
107. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
clyxstudios Oct 3, 2016 4:35 PM (in response to 3ZS)Thank you for this. Your updated comment about the Deployment Target was the answer for me. I had mine set to 8.4 and couldn't submit or even run the app in the 8.4 simulator. Changed the target to 8.2 and it works like a charm.
Rohan.
-
108. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
azavatone Oct 11, 2016 4:24 PM (in response to 3ZS)Hi 3ZS.
Using the release Xcode 8.0, I've run a validation on our IPA that needs to target iOS 8.1, because I only have 1 device that has iOS 8 on it and it's iOS 8.1.3.
Validation fails reporting the following:
iTunes Store operation failed.
Invalid Bundle. The asset catalog at 'Payload/ThisAppHere.app/Assets.car' can't contain 16-bit or P3 assets if the app is targeting iOS releases earlier than iOS 9.3.
There are no 16 bit assets in our project and I have no idea what a P3 asset might be.
I just went through every image file in our iOS app, and every asset lib as well.
Any ideas here?
-
109. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
pdm Oct 11, 2016 4:48 PM (in response to azavatone)Have you followed the instructions in the Correct Answer at the very beginning of this thread?
-
110. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
bseay Oct 12, 2016 12:14 PM (in response to 3ZS)After following your instructions, I still have the same issue. I noticed that some of my images have the color space listed as "Adobe RGB (1998)"; could this possibly be the issue? I have a lot of images, so I haven't gone through and looked at all of them.
I created a case for you to look at: 28739590 -
111. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
felipefromweston Oct 13, 2016 8:08 AM (in response to pdm)We have followed the instructions and yet the appstore upload is still failing with:
iTunes Store operation failed.
Invalid Bundle. The asset catalog at 'Payload/ThisAppHere.app/Assets.car' can't contain 16-bit or P3 assets if the app is targeting iOS releases earlier than iOS 9.3.
We are setting the target to 8.2 and all are images are s-RGB format. Any help would be greatly appreciated.
-
112. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
pdm Oct 13, 2016 8:12 AM (in response to felipefromweston)Please file a bug report, attach a copy of the .ipa you are trying to submit, and post the bug number here. We're looking at bseay's case and will look at yours once we have the bug.
-
113. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
felipefromweston Oct 13, 2016 10:54 AM (in response to pdm)Bug Report: 28757844
Thanks Apple!!
-
114. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
pdm Oct 13, 2016 12:26 PM (in response to felipefromweston)Actually in your case you do have a P3 asset in your Assets.car file. The image "Add_to_Passbook_Badge_2014" shows up with the DisplayGamut property showing "P3" when running assetutil tool on your Assets.car file. If you can get that image updated to use sRGB then that'll work better for you.
As an aside, as of iOS 9 we now have the PKAddPassButton class that you should probably be using instead of your own button. It will display the correct Add to Wallet badge, localized, and with the appropriate appearance.
-
115. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
felipefromweston Oct 13, 2016 1:12 PM (in response to pdm)Great, that solved the problem. Thanks!!
-
116. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
jankoesp Oct 13, 2016 1:37 PM (in response to 3ZS)Thank you for that useful information... actually I used the Preview app to change the color profile (in Preview app, go to Tools -> Assign profile...) from "Adobe RGB (1998)" to "sRGB IEC61966-2.1" and rebuilt the project.
-
117. Re: ITMS-90682: can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier
pdm Oct 20, 2016 7:29 AM (in response to bseay)I don't think I every replied to @bseay. Your .ipa file has P3 assets in it, so the error message is correct. You should follow the directions at the beginning of this (long) thread and remove all the P3 assets by converting them to sRGB.