Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

our app crashed in iOS 9 which upload by Xcode 10

Tags:

ios

xcode10

Our app crashed in iOS 9 which upload to App Store by Xcode 10 GM Seed. It's running perfectly when using XCode 10 GM Debug Or Archive To Ad_Hoc. Here's some call stack.

crash1

crash2

crash3

Is Xcode 10 GM do anything with image.assets or others?

apple reply apple reply

like image 200
apricot Avatar asked Sep 17 '18 09:09

apricot


People also ask

How do I view iOS crash logs?

You can also see the crash log on an iPhone/iPad by going to Settings -> Privacy -> Analytics -> Analytics Data. You can also see the crash log on a simulator if the app crashes during building through a simulator.

How do I read an Apple crash report?

You can access the crash log in macOS in two ways: Launch Finder, press Command + Shift + G, and type ~/Library/Logs/DiagnosticReports/ in the Go to Folder dialog box. Launch Console, and look for Diagnostic Reports located under ~/Library/Logs/.


2 Answers

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

like image 51
Léo Natan Avatar answered Oct 01 '22 11:10

Léo Natan


Instead of waiting for Apple to fix, submit using Xcode 9 while using NSInvocation for the new API. It involves more code but your users will be happy.

like image 23
Kashif Hisam Avatar answered Oct 01 '22 10:10

Kashif Hisam