Xcode7报错:
ld: '/Users/LF/iOS/Objective-C/自写/04ZBar二维码/04ZBar二维码/ZBarSDK-master/libzbar.a(ZBarReaderView.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)
或者:ld: -bundle and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
解决方式如下:
修改项目的PROJECT——>Build Option——>Enable Bitcodes——>NO
报错2如下:
embeded dylib/frameworks are only supported on iOS8.0 and later () for architecture arm64
解决如下:
本文详细介绍了如何解决使用ZBarSDK时遇到的Xcode7报错问题,包括禁用bitcode和解决嵌入dylib框架在iOS8.0以上版本的兼容性问题,并提供了具体操作步骤。
1万+

被折叠的 条评论
为什么被折叠?



