App won't launch; no crash log from device

For two days now, our TestFlight builds have been unable to launch on a device.

What is unusual is that:

  • I can see no crash reports in the Xcode Organiser
  • The console output from a device shows little information
  • Our previous TestFlight build 3.43 worked with no issues. If I make a build with the same code but only changing the version name & version code, the app crashes.
  • Our adhoc distributed app launches fine

Some information I do see, but unsure whether it is pertinent or not, is

default	10:22:09.228580+0100	kernel	AMFI: '/private/var/mobile/Containers/Data/Application/<uuid>/tmp/<uuid-2>' has no CMS blob?
default	10:22:09.229105+0100	kernel	Unable to send CoreAnalytics event. Delaying for 1000 u.s. to see if the queue drains.
default	10:22:09.228760+0100	kernel	AMFI: '/private/var/mobile/Containers/Data/Application/<uuid>/tmp/<uuid-2>': Unrecoverable CT signature issue, bailing out.
default	10:22:09.228811+0100	kernel	AMFI: code signature validation failed.
<... lot more logs>
[app<{our.bundleid}({uuid-3})>:10098] termination reported by launchd (0, 0, 256)

How can I further debug what is going on?

The key to your problem is likely code signing, but you might've figured that out already. From your description, I suspect the issue is related to this, since you're essentially not changing any code, so this is the only other thing that could fail.

And indeed, we can also see that in your Console Logs:

default	10:22:09.228811+0100	kernel	AMFI: code signature validation failed.

The same issue occured on our side starting with 01-08-2024. After a lot of investigation, it turned out that Apple changed a leaf certificate in TestFlight, so it caused to our app to crash because of a 3rd party dependency did not include that certificate. In our case it was Promon Shield (https://promon.co/dev-updates) Hope that helps.

App won't launch; no crash log from device
 
 
Q