0

Yesterday I updated MacBook Pro to El Capitan. I had Xcode 6.1 Since the update Xcode wouldn't open Xcode 6.1 but I was FORCED to download Xcode 7.0.1 I didn't want to upgrade but I was forced. I created my app with Objective-C. Submitted it to apple and it's currently "pending developer release".

I want to change something but now out of nowhere with Xcode 7.0.1 I get an error that I never received with Xcode 6.1.

 ld: '/Users/markjak/Desktop/Stick Down   copy/Leap Up/LibAdapterIAd- 1.0.0/libAdapterIAd.a(GADMAdapterIAdInterstitial.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see  invocation)

How do I do what Xcode 7.0.1 want me to do?

user102008
  • 28,544
  • 10
  • 78
  • 100
HELLO
  • 457
  • 1
  • 7
  • 15

2 Answers2

6

Just disable the bitcode from the Build Settings

enter image description here

Because your library not support the bitcode.

Apple documentation reference for bitcode.

Ashish Kakkad
  • 22,149
  • 11
  • 88
  • 130
  • Thank you, you saved me there. I'll give you best answer, when StackOverflow allows me to. – HELLO Oct 07 '15 at 06:30
  • But what if I need bitcode enabled? Without bitcode enabled I am unable to get the dSYM file from iTunes Connect after the archive has been uploaded. And Xcode won't let me download the dSYMs file from the window organizer it just says "no dSYM file available for this build...", which leaves me with no way to get the dSYM file and use it to symbolicate crash reports... – MikeG May 02 '17 at 17:19
0

Your error clearly states that your library (libAdapterIAd) does not support bitcode In xcode7 + , bitcode is enabled by default. So you just have to disable it by following below steps:-

  1. Click on Target build settings.
  2. Search for bitocde.
  3. Set No to Enable bitcode

enter image description here

Community
  • 1
  • 1
pkc456
  • 7,998
  • 34
  • 45
  • 99