This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRFready iOS Demo App won't run in Xcode 5.0.2

I opened both the NordicSemiDemo.xcodeproj and nRFDemo.xcodeproj in Xcode 5.0.2. When I try to run them (Product->Run), I get the splash screen in the simulator, but when the main menu appears, I get a "EXC_BAD_ACCESS" error.

My experience with Xcode and objective-C is quite low, so it's entirely possible I simply don't have something configured properly, and this is a really dumb question. Like I put the files into the wrong directory or missed an obvious configuration change or something.

Here's what comes up in Xcode when the simulator stops running:


NordicSemiDemo`-[WFHardwareControllerBTLE setCentralManager:] at WFHardwareControllerBTLE.m:21:
0xddfa4:  pushl  %ebp
0xddfa5:  movl   %esp, %ebp
0xddfa7:  subl   $24, %esp
0xddfaa:  calll  0xddfaf                   ; -[WFHardwareControllerBTLE setCentralManager:] + 11 at WFHardwareControllerBTLE.m:21
0xddfaf:  popl   %eax
0xddfb0:  movl   854401(%eax), %eax
0xddfb6:  movl   16(%ebp), %ecx
0xddfb9:  movl   %ecx, 12(%esp)
0xddfbd:  movl   %eax, 8(%esp)
0xddfc1:  movl   12(%ebp), %eax
0xddfc4:  movl   %eax, 4(%esp)
0xddfc8:  movl   8(%ebp), %eax
0xddfcb:  movl   %eax, (%esp)
0xddfce:  movl   $0, 20(%esp)
0xddfd6:  movl   $0, 16(%esp)
0xddfde:  calll  0x115640                  ; symbol stub for: objc_setProperty
0xddfe3:  addl   $24, %esp
0xddfe6:  popl   %ebp
0xddfe7:  ret    

The third-to-last line is highlighted and gives the error "Thread 1:EXC_BAD_ACCESS (code=2, address=0x8)".

Related