Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't run app on device after upgrade to xcode 7

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

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

Originally I was using cocoapods and getting an error that said "Image not found" for each of my frameworks I had configured. I removed cocoapods and manually added all the frameworks but now I'm getting the error above. Any help would be appreciated.

Thanks

like image 333
user3567080 Avatar asked Sep 27 '15 18:09

user3567080


1 Answers

I had this issue. Clean, Xcode update, deletion of derived data - all didn't help.

What helped was based on this answer:

  1. Go to "Build Phase" section of your target settings.
  2. Click on the + button in the top left and select "New Copy Files Phase".
  3. Under the Copy File Phase, select the "Destination" dropdown and select "Frameworks".
  4. Drag and drop your framework from the project navigator into the "Name" section.
like image 64
Tal Haham Avatar answered Nov 17 '22 02:11

Tal Haham