our app crashed in iOS 9 which upload by Xcode 10
Edit 4: From the Xcode 10.2 beta release notes:
Resolved an issue that affected app compatibility with iOS 9.0, 9.1, and 9.2 when distributing an app for local or enterprise distribution. App asset catalogs built using Xcode 10 with a deployment target of iOS 9.0, 9.1 or 9.2 produced content incompatible with the runtimes of those iOS versions when distributed using local or enterprise distribution. Rebuilding the app with Xcode 10.2 resolves this issue. (46893768, 44535967)
Edit 3: From the revised Xcode 10.1 release notes:
Asset Catalog
Known Issues
Apps that contain asset catalogs built using Xcode 10 or later with a deployment target set to iOS 9.0, 9.1 or 9.2 produce content incompatible with the runtimes of those iOS versions. (44535967, 45723580, 45723189)
The issue remains. ♂️
Edit 2: Apparently, the issue is still not completely fixed.
Edit: Xcode 10.1 is out now.
This has been fixed in Xcode 10.1 beta 2:
Resolves an issue that affected app compatibility with iOS 9.0, 9.1 and 9.2. Apps containing asset catalogs built with Xcode 10 whose deployment target was set to iOS 9.0, 9.1 or 9.2 would produce content incompatible with the runtimes of those iOS versions. Rebuilding the application with Xcode 10.1 resolves this issue. (44535967)
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_1_beta_2_release_notes?language=objc
EXC_BAD_ACCESS KERN_INVALID_ADDRESS ios 9.3 xcode 10
Thank you to all you guys responding to my problem:
as said in the comments the issue is the same of: our app crashed in iOS 9 which upload by Xcode 10
and is resolved in xcode 10.1 beta2
Resolves an issue that affected app compatibility with iOS 9.0, 9.1 and 9.2. Apps containing asset catalogs built with Xcode 10 whose deployment target was set to iOS 9.0, 9.1 or 9.2 would produce content incompatible with the runtimes of those iOS versions. Rebuilding the application with Xcode 10.1 resolves this issue. (44535967)
This issue gave my app too many crashes...
Thank you very much
App crashes on devices running iOS 9.2.1 or lower (not P3 images)
It is backwards compatibility issue of asset catalogs in Xcode 10, it has been fixed in Xcode 10.1 beta 2
https://stackoverflow.com/a/52614882/3134625
Xcode 8 build crash on iOS 9.2 and below
See the accepted answer https://forums.developer.apple.com/thread/60919
You can save 16-bit assets as 8-bit ones with Preview.app
How to resolve "ERROR ITMS-90682: Invalid Bundle - The asset catalog
at 'Payload/XXXXX/Assets.car' can't contain 16-bit or P3 assets if the
app supports iOS 8 or earlier."With Xcode 8 GM, this error will occur if you include 16-bit or P3
assets in an app submission targeting iOS releases earlier then iOS
9.3. If your app requires wide color functionality you must change your Deployment Target to iOS 9.3 or later. If your app does not
require wide color functionality and you wish to deploy it to older
iOS versions then you should replace all 16-bit or P3 assets with
8-bit sRGB assets. You can find 16-bit or P3 assets by running
“assetutil” on the asset catalog named in the error message from
iTunes Connect. The following steps outline the process:
Create an Inspectable .ipa file. In the Xcode Organizer (Xcode->Window->Organizer), select an archive to inspect, click
“Export...", and choose "Export for Enterprise or Ad-Hoc Deployment".
This will create a local copy of the .ipa file for your app.Locate that .ipa file and change its the extension to .zip.
Expand the .zip file. This will produce a Payload folder containing your .app bundle.
Open a terminal and change the working directory to the top level of your .app bundle cd path/to/Payload/your.app
Use the find tool to locate Assets.car files in your .app bundle as shown below: find . -name 'Assets.car'
Use the assetutil tool to find any 16-bit or P3 assets, in each Assets.car your application has as shown below. :
sudo xcrun --sdk iphoneos assetutil --info /path/to/a/Assets.car > /tmp/Assets.json
Examine the resulting /tmp/Assets.json and look for any contents containing “DisplayGamut": “P3” and its associated “Name". This will
be the name of your imageset containing one or more 16-bit or P3
assets.Replace those assets with 8-bit / sRGB assets, then rebuild your app.
Update: If your Deployment Target is set to either 8.3 or 8.4 and you have an
asset catalog then you will receive this same error message, even if you do not
actually have 16-bit or P3 assets. In this case you will either need to lower
your Deployment Target to 8.2, or move it up to 9.x.
Xcode 9, iOS 10 issue with Assets
I got same problem when I test app on iOS 10.
Check the Xcode 9 beta release note and found known issues about that:
Asset Catalog
- Jpeg assets in asset catalogs are not found on iOS 10 or earlier for apps built with Xcode 9. API calls for accessing the image such as UIImage.imageNamed: return nil. (32524123)
Workaround: Use png resources or limit app testing to devices running iOS 11 or later.
After convert all my jpg asset to png. It's works well. Oh...
Xcode quits unexpectedly while submitting app to the AppStore
Open organizer, quit Xcode (keep Organiser open), then submit again. Works!
Related Topics
Getting Video Snapshot for Thumbnail
Sendasynchronousrequest Was Deprecated in iOS 9, How to Alter Code to Fix
How to Disable Caching from Nsurlsessiontask
Uicollectionview Registerclass: Forcellwithreuseidentifier Method Breaks Uicollectionview
Loading a Resource (E.G. Storyboard) in a Swift Framework
Will iOS Wake Up the Terminated App If It's Registered with Location for Uibackgroundmodes
How to Show a Info Window in iOS Google Maps Without Tapping on Marker
Swift If Statement - Multiple Conditions Separated by Commas
Getting Device Id or MAC Address in iOS
Connect to Vpn Programmatically in iOS 8
How to Implement "Share Button" in Swift
iOS Playground Doesn't Show UI Preview
Rendering PDF in Uiwebview iOS 8, Causes a Black Border Around PDF