简体   繁体   中英

Xcode - Apple Mach-O Linker Error - Linker command failed with exit code 1 when change xcode version

While updating my iOS Developer Course to Xcode 7.2, I've found that when opening Xcode 6.4 apps in Xcode 7.2, even when going through the upgrader, I'm left with the error "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)'

and i have searched in "internet" and so many peoples saying that

Clearing the "Test Host" values in the Build Settings of my "Tests" target see my below image but "how can i clear them" and how can i fix this issue

在此处输入图片说明

Search your target's Build Settings for "bitcode". Change the setting for Enable Bitcode to No.

Or you can do what the error suggests: "obtain an updated library from the vendor".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM