Today I update my Xcode vision to 8.0. When I submit a app.ipa file to Apple store,i get an error feedback that ITMS-90682: "Invalid Bundle. The asset catalog at '$path' can't contain 16-bit or P3 assets if the app is targeting iOS releases earlier than iOS 9.3."].
I search the answer on the Internet and get a similar answer,but it not fit.
Because their question is not completely the same as mine.Their question contain 'Payload/****.app/Assets.car' ,but mine contain '$path'.
Their method is as follows:
First step : modify the file' name of app.ipa to app.zip
Second step : decompressing app.zip
Third step : undo command line and $ cd app.app file
Forth step: $ find . -name 'Assets.car'
Fifth step : $ sudo xcrun --sdk iphoneos assetutil --info /path/to/a/Assets.car > /tmp/Assets.json
Sixth step : open /tmp/Assets.json
Seventh step : search "P3" and "16-bit" in file named "Assets.json"
Eighth step : record the "Name"
Ninth step : open Xcode and find out the image that names have been record in eighth step. change the image form to 8 and sRGB
These are not use for mine ,because the different is "$path".i can't get the name of imaged which form is P3 or 16-bit in my project because i can't get a right method to get a property Assets.json file on fifth step.