Can't Unity Cloud Build to iOS

0 votes
asked May 13, 2021 by snapdar (410 points)


when I use unity to build to iOS, (using their cloud build feature), I get this error:

366: ;  ld: '/BUILD_PATH/aaa.2019-4-ios/temp20210513-6569-1ntpi27/Frameworks/Plugins/iOS/easyar.framework/easyar(easyar-arm64-master.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. file '/BUILD_PATH/aaa.2019-4-ios/temp20210513-6569-1ntpi27/Frameworks/Plugins/iOS/easyar.framework/easyar'
367: ;  clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can you tell me how to enable bitcode, or is there an updated library I can use? The library I am using hasn't been updated in 2 years. 

- Mike

1 Answer

0 votes
answered May 13, 2021 by kenn (18,750 points)
Try 4.3. Bitcode will be DISABLED automatically in this version. Otherwise you need to do it manually following the documents.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.