简体   繁体   中英

Xcode Bot bitcode error during integration only

ld: '/Library/Developer/XcodeServer/Integrations/Caches/5c17d3e903f4d302cf453 40fb301f30f/Source/ocular/Pods/Sodium/Sodium/libsodium- ios.a(libsodium_la-crypto_box.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

I ran /usr/local/bin/pod install before integration (Triggers).

屏幕快照2016-08-03 at 3 18 14 pm

I am able to build and run the app in simulator & real device. However my integration with bot failed with the above error message. I install Sodium via cocoapods.

I tried setting ENBALE_BITCODE = NO for project/targets/Pods

Server: 5.1.7 Xcode: 7.3.1

Any help is appreciated.

错误消息,表明您需要在项目目标下达到ENBALE_BITCODE = NO ,将其更改为有效。

xCode > your project -> Build Settings -> Enable Bitcode = NO

After searching for the solutions online and the only solution i can find is Enable Bitcode = NO . Which is what i already had!

So eventually i use the WILD CARD SOLUTION which is to restart Xcode & Server - Still throws the same error. Since there's really no solution, i restarted my mac. First time still throws errors and TADA second time it works.I have no idea what have i done to make it work or what have i not done to make it work.

PS: I clean and clean build folder each time before i integrate my bot.

To anyone who faced the same issue: good luck

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