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
解决如下: