Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 7: linker command failed with exit code 1 (use -v to see invocation) again

Im testing my app on iOS simulator of Xcode 7 and its all right o, but when i try test in my iOSDevice (a iPhone 5S with iOS 9). I updated the xcode 7 and iOS9 today (09/16/2015) and before that with iOS 8.4 was working fine.

OBS: The iOS Deployment target on Xcode project is iOS 9.

I already try this: http://twobitlabs.com/2011/06/adding-ocunit-to-an-existing-ios-project-with-xcode-4/ like suggested in this post: clang: error: linker command failed with exit code 1 (use -v to see invocation) when doing unit test on xcode but doesn't work.

The guy of this post, just created a new project: xCode 7: linker command failed with exit code 1 (use -v to see invocation) But is not a solution to me, because my project is huge.

like image 686
Thiago Arreguy Avatar asked Sep 17 '15 05:09

Thiago Arreguy


1 Answers

To solve this problem:

  1. Go to your project setting page
  2. Select your project (left side)
  3. Click the "Build Settings" tab
  4. Search "Bitcode"
  5. Set "Enable Bitcode" to "No"
like image 103
21.kaw Avatar answered Nov 19 '22 01:11

21.kaw