Xcode app fails when device (iPhone 4s) attached, works fine on simulator.

I try to instal an app on attached device (iPhone 4s) and get the following:


dyld`dyld_fatal_error:

0x1fe1a08c <+0>: trap Thread 1: EXC_BREAKPOINT (code=EXC_ARM_BREAKPOINT, subcode=0xe7ffdefe)

0x1fe1a090 <+4>: nop


Referenced from:

/var/containers/Bundle/Application/738D041C-9CB9-4B94-8B31-C2690433BDD7/Beer Places.app/Beer Places

Reason: no suitable image found. Did find:

/private/var/containers/Bundle/Application/738D041C-9CB9-4B94-8B31-C2690433BDD7/Beer Places.app/Frameworks/libswiftAVFoundation.dylib: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/738D041C-9CB9-4B94-8B31-C2690433BDD7/Beer Places.app/Frameworks/libswiftAVFoundation.dylib'


The app works good on simulator iPhone 4s with Deployment Target 9.3

Accepted Reply

Try an option-clean build folder, then check certs via Keychain Access - see: https://stackoverflow.com/questions/32730312/reason-no-suitable-image-found

Replies

Try an option-clean build folder, then check certs via Keychain Access - see: https://stackoverflow.com/questions/32730312/reason-no-suitable-image-found