Apps distributed internally to our organization signed with a distribution provisioning profile crash on start

In iOS 12 Beta 4, our apps distributed internally (via OTA) and signed with a distribution provisining profile crash on start.


Compile them and rebuild them doesn't work


The dispositive log console showed these lines that seem to be the cause:


kernel AMFI: does not pass CT evaluation, result: 0x80008

kernel AMFI: Unrecoverable CT signature issue, bailing out


Our organization is part of the Apple Developer Enterprise Program


Anyone with similar problem?


Thanks

Post not yet marked as solved Up vote post of jciente Down vote post of jciente
13k views

Answers

Hi jciente,

We are having the same issue on iOS 12 Beta 8 after resiging the IPA using fastlane

Were you able to resolve the problem?


Thanks

Hi,


Did you manage to resolve this one? Can you help me with the solution? Is it distribution certificate?


Best Regards

Chandan Singh

Hi,


Were you able to fix this one?

We are seeing the same issue.


error 14:22:29.985438 -0400 SpringBoard [com.***.yyy] Bootstrap failed with error: <NSError: 0x2839c84e0; domain: BKSProcessErrorDomain; code: 1 (bootstrap-failed); reason: "Failed to start job">

error 14:22:29.986325 -0400 SpringBoard Bootstrapping failed for <FBApplicationProcess: 0x13524b8d0; com.***.yyy; pid: -1> with error: Error Domain=BKSProcessErrorDomain Code=1 "Unable to bootstrap process with bundleID com.***.yyy" UserInfo={NSLocalizedDescription=Unable to bootstrap process with bundleID com.***.yyyy, BKSProcessExitReason=0, NSLocalizedFailureReason=Failed to start job, NSUnderlyingError=0x2839cbe10 {Error Domain=NSPOSIXErrorDomain Code=3 "No such process" UserInfo={BKLaunchdOperation=launch_get_running_pid_4SB, NSLocalizedDescription=Unable to get pid for label UIKitApplication:com.***.yyy[0x3119][58], BKLaunchdJobLabel=UIKitApplication:com.***.yyy[0x3119][58], NSLocalizedFailureReason=No such process}}, BKSProcessJobLabel=UIKitApplication:com.***.yyy[0x3119][58], BSErrorCodeDescription=bootstrap-failed}

default 14:22:29.986648 -0400 SpringBoard Adding: <FBApplicationProcess: 0x13524b8d0; com.***.yyy; pid: -1>

default 14:22:29.986780 -0400 SpringBoard <FBApplicationProcess: 0x13524b8d0; com.***.yyy; pid: -1> exited.

default 14:22:29.990376 -0400 SpringBoard Removing: <FBApplicationProcess: 0x13524b8d0; com.***.yyy; pid: -1>

default 14:22:29.993528 -0400 kernel AMFI: '/private/var/containers/Bundle/Application/275E533F-0A1D-4B06-A5AB-2A9723CEE1FE/yyy.app/yyy' does not pass CT evaluation, result: 0x80008

default 14:22:29.994039 -0400 kernel AMFI: '/private/var/containers/Bundle/Application/275E533F-0A1D-4B06-A5AB-2A9723CEE1FE/yyy/yyy': Unrecoverable CT signature issue, bailing out.

default 14:22:29.994105 -0400 kernel AMFI: code signature validation failed.

Did you manage to resolve this one?

BEst,

-m

I have the exact same problem. Did anyone find a way to solve this?


Many thanks in advance!

I am facing the exact same issue on iOS12 but works well on the lower versions. Did any one find any solution on this?

Seeing the exact same issue as above. App installs/runs on iOS11 just fine. On iOS 12 get the same device log errors as above. Core error seems to be:


default 00:17:16.727083 -0500 kernel AMFI: '/private/var/containers/Bundle/Application/98EF72D2-A481-4A63-BCCF-35998EC6897B/name.app/name' does not pass CT evaluation, result: 0x80008


default 00:17:16.727121 -0500 kernel AMFI: '/private/var/containers/Bundle/Application/98EF72D2-A481-4A63-BCCF-35998EC6897B/name.app/name': Unrecoverable CT signature issue, bailing out.


This is using Unity 2018 and Xcode 10.0 (or even the 10.1 beta).

I am facing the same issue exactly after we updated IOS 11 to 12. and the app crashed when started and we are getting the below Errors from device console log.Did any one find any solution on this?



error 10:44:05.109096 +0300 SpringBoard [com.appname] Bootstrap failed with error: <NSError: 0x2831ccf00; domain: BKSProcessErrorDomain; code: 1 (bootstrap-failed); reason: "Failed to start job">

error 10:44:05.109128 +0300 SpringBoard Bootstrapping failed for <FBApplicationProcess: 0x10ee6aaf0; com.zain.zainapps; pid: -1> with error: Error Domain=BKSProcessErrorDomain Code=1 "Unable to bootstrap process with bundleID com.zain.zainapps" UserInfo={NSLocalizedDescription=Unable to bootstrap process with bundleID com.zain.zainapps, BKSProcessExitReason=0, NSLocalizedFailureReason=Failed to start job, NSUnderlyingError=0x2831ce0d0 {Error Domain=NSPOSIXErrorDomain Code=3 "No such process" UserInfo={BKLaunchdOperation=launch_get_running_pid_4SB, NSLocalizedDescription=Unable to get pid for label UIKitApplication:com.zain.zainapps[0xea2f][62], BKLaunchdJobLabel=UIKitApplication:com.appname[0xea2f][62], NSLocalizedFailureReason=No such process}}, BKSProcessJobLabel=UIKitApplication:com.appname[0xea2f][62], BSErrorCodeDescription=bootstrap-failed}

error 10:44:05.110497 +0300 assertiond Failed to start job with error <NSError: 0x100924d60; domain: NSPOSIXErrorDomain; code: 3; reason: "No such process"> {

description = "Unable to get pid for label UIKitApplication:com.appname[0xea2f][62]";

failureReason = "No such process";

userInfo = {

BKLaunchdJobLabel = UIKitApplication:com.appname[0xea2f][62];

BKLaunchdOperation = launch_get_running_pid_4SB;

}

}



error 14:33:04.807527 +0300 SpringBoard No data found at /var/mobile/Library/UserNotifications/com.appname/AttachmentsList.plist

error 14:33:04.841058 +0300 SpringBoard [com.appname] Push registration with a nil environment was encountered, will not invalidate token

error 14:33:11.283308 +0300 appstored [PersonalizationManager]: Could not find previous app metadata bundleID: com.appname

error 14:33:29.082610 +0300 SpringBoard No data found at /var/mobile/Library/UserNotifications/com.appname/PendingNotifications.plist

error 14:33:29.082773 +0300 SpringBoard No data found at /var/mobile/Library/UserNotifications/com.appname/Schedule.plist

error 14:33:29.128812 +0300 SpringBoard Unable to generate launch image for com.zain.salesapp because the app has no valid launch interfaces.

error 14:33:29.196129 +0300 appstored [ProgressCache]: Failed to finish progress for: com.appname

error 14:33:29.219733 +0300 appstored [ProgressCache]: Failed to finish progress for: com.zappname

error 14:34:17.066068 +0300 assertiond Failed to start job with error <NSError: 0x100933100; domain: NSPOSIXErrorDomain; code: 3; reason: "No such process"> {

description = "Unable to get pid for label UIKitApplication:com.appname[0x4868][62]";

failureReason = "No such process";

userInfo = {

BKLaunchdJobLabel = UIKitApplication:com.appname[0x4868][62];

BKLaunchdOperation = launch_get_running_pid_4SB;

}

}

In https://stackoverflow.com/questions/52440492/ios-app-wont-run-on-device-any-more-under-ios-12-unrecoverable-ct-signature-is a possible solution is described: check the trust settings of your certificates and set them to "Use System Defaults".


For me, setting the "Apple Worldwide Developer Relations Certification Authority" certificate's trust level to system defaults fixed the issue.

The solution at the stack overflow article above worked for us as well with one change. We had a fourth "iOS Distribution" certificate that was also in the signing chain since our application is an Enterprise distribution app. That certificate was set to "Always Trust" instead of "Use System Defaults". I confirmed that changing the trust setting on that cert to "Use System Defaults" makes the problem go away and toggling it back to "Always Trust" makes the problem return.

The solution here also worked for me:


https://stackoverflow.com/a/52506186


If either the Apple Worldwide Developer Relations Certification Authority or the iPhone Developer Cert was set to Always Trust, or just not System Defaults, then I would get the error.


I vaguely recall re-insallting the Worldwide cert a year or so ago. Still odd that things will work on iOS 11 and not 12, but at least this appears to be a fix.

I've filed a bug report with apple for this issue at https://bugreport.apple.com/web/?problemID=44831920

Does any solve this problem?

I'm not sure if this will fix it for everyone, but I had the exact same problem and it solved the problem for me. In Keychain Access, I set the trust settings to "Use System Defaults" for the following certificates:

  • Apple Worldwide Developer Relations Certification Authority
  • Developer ID Certification Authority
  • iPhone Developer: {email}
  • iOS Distribution

Some of them were set to "Always Trust" before, and changing it seemed to resolve the issue. When running Xcode however, it initially still did not work, so I cleaned the build and restarted Xcode, and the application finally launched.