问题描述
- ios ZBar 二维码扫描。。。。
-
ld: warning: directory not found for option '-LZBarSDK'
ld: '/Users/**/Documents/**/**/ios7 Scan QRCode/ZBarSDK-for-iOS-master/libzbar.a(ZBarReaderController.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)这个错误简直是无情,求大神教我怎么解决,我要疯了。。
解决方案
你到building setting里,查找bitcode,设成NO,就好了
解决方案二:
很多三方使用的时候都要把bitcode设置成NO
解决方案三:
ios9 的新特性,为缩小文件大小而使用的bitcode有的三方文件不支持,所以需要设置为build setting中bitcode设置成NO
解决方案四:
在iOS中使用ZBar扫描二维码
iOS扫描二维码
IOS二维码 扫描
时间: 2024-08-31 17:14:14