XCUITesting Terminating app due to uncaught exception 'Halted', reason: 'Protection is missing from non-development build'

Trying to get XCUI testing builds running. Test Fails with a screenshot showing the "Use Bluetooth" popup but app is not visible in it, only icon on the springboard.

Perusing the logs the only helpful line I can find is:

*** Terminating app due to uncaught exception 'Halted', reason: 'Protection is missing from non-development build' ***

I could not find any information about this crash via Google. I originally had done a Debug build, tried with a Release build and same result.

The crash report didn't really have anything useful either, excerpt:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0

Application Specific Information:
abort() called

Thread 0 name:  Dispatch queue: com.apple.main-thread

Is this related to the entitlements and Data Protection? Any other ideas?

The crash report didn't really have anything useful

Can you post the full crash report? See Posting a Crash Report for advice on that front.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

XCUITesting Terminating app due to uncaught exception 'Halted', reason: 'Protection is missing from non-development build'
 
 
Q