关于CardBoard报错ld: … (use -v to see invocation)
Unity版本:5.3.2
Xcode版本:7.2.1
编译报错:
ld: '/Users/U3DC/GoogleVR/CARBOARD/Libraries/Plugins/iOS/libvrunity.a(vraudio_unity.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)
解决方法:
1.「Build Settings -> Build Options -> Enable Bitcode」设置为NO
2.「Build Phases -> Link Binary With Libraries」追加:「Security.Framework」
3. 重新打包看看啦,应该是OK的啦!哈哈,个人项目经验仅供参考。