Highlighted

At my wit's end- Why won't developer cert builds work on ios?

New Here ,
Apr 27, 2017

Copy link to clipboard

Copied

I have a working Adobe AIR iOS app, but it only works with testflight builds.  For some reason, builds using a developer certificate / provisioning profile crash with a segmentation fault.  This makes the iteration time on testing iOS builds nightmarishly long.  I would really love some help analyzing the iOS logs.  They're kinda blowing my mind.

These are the errors I'm seeing.  I'm having a great deal of trouble narrowing down which of these errors is the one responsible for the crash.  I've emboldened the ones that I suspect as complicit.  Any help parsing what all these mean would be extremely helpful!  I've googled the buhzits out of all of them and haven't found any definitive answers.

Apr 27 09:38:53 ddtipad3 SpringBoard[47] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

Apr 27 09:38:53 ddtipad3 SpringBoard[47] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>: ocsp response signed by certificate which does not satisfy ocspSigner policy

Apr 27 09:38:54 ddtipad3 SpringBoard[47] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

Apr 27 09:38:54 ddtipad3 amfid[1166] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

Apr 27 09:38:54 ddtipad3 amfid[1166] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>: ocsp response signed by certificate which does not satisfy ocspSigner policy

Apr 27 09:38:54 ddtipad3 kernel[0] <Notice>: xpcproxy[2351] Container: /private/var/mobile/Containers/Data/Application/F59E6D53-C584-481

9-94ED-CDC633FD708F (sandbox)

Apr 27 09:38:54 ddtipad3 com.apple.xpc.launchd[1] <Error>: assertion failed: 13G36: launchd + 85529 [083E000D-4C31-3B98-A2C4-6FADB4D1940

F]: 0x3

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: [GvEx] static start

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: GoViral pass launch data to Facebook.

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: [PnEx] launch

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: [PnEx] apply overrides

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: mmgDidUpdateControl.

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: mmgDidUpdateControl.

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: mmgDidUpdateControl.

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: mmgDidUpdateControl.Apr 27 09:38:56 ddtipad3 backboardd[63] <Warning>: |GAXGeneral|warning| The pid sent from loaded client:(com.company_name.app_name: PID:2351) does not match the pid we are managing: (2319). This is expected if the app crashed.

Apr 27 09:38:56 ddtipad3 backboardd[63] <Warning>: |GAXGeneral|warning| The GAXClientLoaded flag was already set. Something is out of sync. AXApp<0x146ba1a0>: PID:2351 BundleID:com.company_name.app_name Primary:1 FullScrModal:0. GAX Client loaded: 1

Apr 27 09:38:57 ddtipad3 backboardd[63] <Warning>: |GAXGeneral|info| Updating session app bundle ID to com.company_name.app_name.

Apr 27 09:38:57 ddtipad3 backboardd[63] <Warning>: |GAXGeneral|info| Did verify event: [Substantial Transition did occur]. Outcome: [Success - Session App is Frontmost].

Apr 27 09:38:58 ddtipad3 SpringBoard[47] <Warning>: HW kbd: Failed to set (null) as keyboard focusApr 27 09:38:58 ddtipad3 com.apple.xpc.launchd[1] (UIKitApplication:com.company_name.app_name[0xf402][2351]) <Notice>: Service exited due to signal: Segmentation fault: 11

Apr 27 09:38:58 ddtipad3 SpringBoard[47] <Warning>: Application 'UIKitApplication:com.company_name.app_name[0xf402]' crashed.

What's weird is that one of the first things the app does is open a log file (synchronously in append mode) in the applicationStorageDirectory, and then does a writeUTFBytes() call to essentially say that logging has started.  I see that log file get created.  However, nothing gets written to it.  So the app does appear to be starting, even though the assertion failure appears to be in launchd and not the app, which is what's particularly confusing about the crash to me.

The key piece of info here is that the testflight builds work fine, and we purposely take the same codepaths on the dev/dist builds, because we want to test the final distribution build codepaths when doing dev builds.  Builds on other architectures like Android, Windows, and Mac also work fine.

I'm using Beta 25 right now.  Saw the same behaviour on Beta 24.  Haven't tried Beta 26, because I don't see anything in the release notes suggesting anything in this area was changed.

Thanks so much for our help!

TOPICS
Development

Views

357

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

At my wit's end- Why won't developer cert builds work on ios?

New Here ,
Apr 27, 2017

Copy link to clipboard

Copied

I have a working Adobe AIR iOS app, but it only works with testflight builds.  For some reason, builds using a developer certificate / provisioning profile crash with a segmentation fault.  This makes the iteration time on testing iOS builds nightmarishly long.  I would really love some help analyzing the iOS logs.  They're kinda blowing my mind.

These are the errors I'm seeing.  I'm having a great deal of trouble narrowing down which of these errors is the one responsible for the crash.  I've emboldened the ones that I suspect as complicit.  Any help parsing what all these mean would be extremely helpful!  I've googled the buhzits out of all of them and haven't found any definitive answers.

Apr 27 09:38:53 ddtipad3 SpringBoard[47] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

Apr 27 09:38:53 ddtipad3 SpringBoard[47] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>: ocsp response signed by certificate which does not satisfy ocspSigner policy

Apr 27 09:38:54 ddtipad3 SpringBoard[47] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

Apr 27 09:38:54 ddtipad3 amfid[1166] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

Apr 27 09:38:54 ddtipad3 amfid[1166] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

Apr 27 09:38:54 ddtipad3 securityd[1092] <Error>: ocsp response signed by certificate which does not satisfy ocspSigner policy

Apr 27 09:38:54 ddtipad3 kernel[0] <Notice>: xpcproxy[2351] Container: /private/var/mobile/Containers/Data/Application/F59E6D53-C584-481

9-94ED-CDC633FD708F (sandbox)

Apr 27 09:38:54 ddtipad3 com.apple.xpc.launchd[1] <Error>: assertion failed: 13G36: launchd + 85529 [083E000D-4C31-3B98-A2C4-6FADB4D1940

F]: 0x3

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: [GvEx] static start

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: GoViral pass launch data to Facebook.

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: [PnEx] launch

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: [PnEx] apply overrides

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: mmgDidUpdateControl.

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: mmgDidUpdateControl.

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: mmgDidUpdateControl.

Apr 27 09:38:55 ddtipad3 app_name[2351] <Warning>: mmgDidUpdateControl.Apr 27 09:38:56 ddtipad3 backboardd[63] <Warning>: |GAXGeneral|warning| The pid sent from loaded client:(com.company_name.app_name: PID:2351) does not match the pid we are managing: (2319). This is expected if the app crashed.

Apr 27 09:38:56 ddtipad3 backboardd[63] <Warning>: |GAXGeneral|warning| The GAXClientLoaded flag was already set. Something is out of sync. AXApp<0x146ba1a0>: PID:2351 BundleID:com.company_name.app_name Primary:1 FullScrModal:0. GAX Client loaded: 1

Apr 27 09:38:57 ddtipad3 backboardd[63] <Warning>: |GAXGeneral|info| Updating session app bundle ID to com.company_name.app_name.

Apr 27 09:38:57 ddtipad3 backboardd[63] <Warning>: |GAXGeneral|info| Did verify event: [Substantial Transition did occur]. Outcome: [Success - Session App is Frontmost].

Apr 27 09:38:58 ddtipad3 SpringBoard[47] <Warning>: HW kbd: Failed to set (null) as keyboard focusApr 27 09:38:58 ddtipad3 com.apple.xpc.launchd[1] (UIKitApplication:com.company_name.app_name[0xf402][2351]) <Notice>: Service exited due to signal: Segmentation fault: 11

Apr 27 09:38:58 ddtipad3 SpringBoard[47] <Warning>: Application 'UIKitApplication:com.company_name.app_name[0xf402]' crashed.

What's weird is that one of the first things the app does is open a log file (synchronously in append mode) in the applicationStorageDirectory, and then does a writeUTFBytes() call to essentially say that logging has started.  I see that log file get created.  However, nothing gets written to it.  So the app does appear to be starting, even though the assertion failure appears to be in launchd and not the app, which is what's particularly confusing about the crash to me.

The key piece of info here is that the testflight builds work fine, and we purposely take the same codepaths on the dev/dist builds, because we want to test the final distribution build codepaths when doing dev builds.  Builds on other architectures like Android, Windows, and Mac also work fine.

I'm using Beta 25 right now.  Saw the same behaviour on Beta 24.  Haven't tried Beta 26, because I don't see anything in the release notes suggesting anything in this area was changed.

Thanks so much for our help!

TOPICS
Development

Views

358

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 27, 2017 0

Have something to add?

Join the conversation