Cannot start application on device after upgrading to xcode 7

I upgraded my iphone 6 to ios 9 and also updated Xcode to version 7.0. When I run my project on a simulator, the application works fine. When I try to run the application on my device, the application crashes and I see this:

dyld`dyld_fatal_error: -> 0x120049088 <+0>: brk # 0x3

I originally used cocoapods and received an "Image not found" error message for each of my infrastructures that I configured. I removed cocoapods and manually added all the frameworks, but now I get the error above. Any help would be appreciated.

thanks

+7
ios xcode ios9 xcode7
source share
2 answers

I had this problem. Cleanliness, updating Xcode, deleting derived data - all this did not help.

What helped is based on this answer :

  • Go to the Build Phase section of your target settings.
  • Click the + button in the upper left corner and select "New phase of copy files."
  • In the “File Copy Phase” section, select the “Destination” drop-down menu and select “Frames”.
  • Drag the framework from the project navigator to the "Name" section.
+6
source share

Sometimes you need to use Clean and Build (Cmd + Shift + K), most of the time it helps to fix strange problems like this one. If this does not help, try clearing ~ / Library / Developer / Xcode / DerivedData.

0
source share

All Articles