简体   繁体   中英

ParseUI … does not contain bitcode

Once I seem to have got rid of all the syntax errors, while converting my project to Swift 3.0.

I now hit this one:

    ld: '/Users/......./ParseUI.framework/ParseUI(PFLogInViewController.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 arm64
    clang: error: linker command failed with exit code 1 
(use -v to see invocation)

After trying a few option change in Xcode which did not have any effect, I don't see any clear solution to solve this issue. Anyone has a simple and clear answer to that?

在此处输入图片说明

In XCode, Select your project in Explorer > Select your Target> Make "Enable Bitcode" to No. And recompile your code.

If you enable bitcode in your target, then all the pods need to have enabled bitcode. But in your case Alamofire looks to be not bitcode enabled. So as long as it is so, you can't go ahead with "Enable Bitcode" option as Yes for your code.

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