Reputation: 4239
I can't run unit tests on my iPhone. I need to run the unit tests on the phone because I need to access devices on the phone that the simulator cannot emulate. But every time I am get a breakpoint:
Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1200c1088)
The code highlighted at the breakpoint is:
dyld`dyld_fatal_error:
-> 0x1200c1088 <+0>: brk #0x3
Has anyone seen this before?
Upvotes: 1
Views: 5394
Reputation: 77
Just had similar issue. What worked for me (Xcode 8 beta 6):
Upvotes: 0
Reputation: 401
I experienced exactly the same symptoms. The tests ran on the simulator but not on device. In my case, the following were the steps to fix the problem:
Team
selected in Identity
option of the General
target settings (it is not set to None
:
Then in the test target in the Code Signing Identity
make sure it is not set to Don't Code Sign
:
BEFORE:
AFTER:
Upvotes: 3
Reputation: 115
I had the same issue
To fix it:
this worked for me.
Upvotes: 2