iPad app using swift 3 crashes on iOS 10

I just updated my app to use swift 3, xCode 8 and to run on iOS 10.0.2 . Everything works fine while debugging from xCode but the app crashes when I use a distribution server.

Unfortunately I could not find much in the crash logs. I have looked up on forums with little success. Also I have tried with different distribution servers so it seems a problem with the app.

This is some of the crash log:


Oct 10 09:37:43 My-iPad locationd[58] <Notice>: message 'kCLConnectionMessageWatchdog' received from client 'com.apple.springboard'

Oct 10 09:37:43 My-iPad sharingd[57] <Notice>: SystemUI changed: 0x0 -> 0x10

Oct 10 09:37:43 My-iPad ReportCrash[258] <Notice>: Formulating report for corpse[256] <private>

Oct 10 09:37:43 My-iPad symptomsd(SymptomEvaluator)[118] <Error>: Can't get most elevated app state from dictionary <private>

Oct 10 09:37:43 My-iPad symptomsd(SymptomEvaluator)[118] <Notice>: 256 com.test.appId: Unknown (most elevated: Unknown)

Oct 10 09:37:43 My-iPad symptomsd(SymptomEvaluator)[118] <Notice>: 256 com.test.appId: Terminated (most elevated: Terminated)

Oct 10 09:37:43 My-iPad symptomsd(SymptomEvaluator)[118] <Notice>: Entry, display name com.test.appId uuid (null) pid 256 isFront 0

Oct 10 09:37:43 My-iPad symptomsd(SymptomEvaluator)[118] <Notice>: Check for bundle name com.test.appId returns 0

Oct 10 09:37:43 My-iPad symptomsd(SymptomEvaluator)[118] <Notice>: app name com.test.appId isForeground 0 hasForegroundApps 1, current idea of foreground 1 disp (null)

Oct 10 09:37:43 My-iPad symptomsd(SymptomEvaluator)[118] <Notice>: Continue with bundle name com.test.appId, is front 0

Oct 10 09:37:43 My-iPad symptomsd(SymptomEvaluator)[118] <Notice>: com.test.appId: Foreground: false


Anyone else experiencing a similar issue ? I have been stuck here for some time now.

Replies

This is some of the crash log:

That’s the system log, not a crash log. However, the following does confirm that the system generated a crash log:

Oct 10 09:37:43 My-iPad ReportCrash[258] <Notice>: Formulating report for corpse[256] <private>

Please grab that crash log, symbolicate it, and then post it here. Technote 2151 Understanding and Analyzing iOS Application Crash Reports describes how to do that.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"