开发者社区> 问答> 正文

关于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)

这个错误简直是无情,求大神教我怎么解决,我要疯了

展开
收起
爵霸 2016-03-11 11:09:37 2406 0
2 条回答
写回答
取消 提交回答
  • 移动开发工程师,现在在研究混合开发技术。

    这个是iOS9引入的特性,bitcode特性,
    建议升级支持bitcode的二维码库,
    或者不需要bitcode功能的话直接关闭该功能,
    building setting里,查找bitcode,设成NO。

    2019-07-17 18:58:43
    赞同 展开评论 打赏
  • 你到building setting里,查找bitcode,设成NO,就好了

    2019-07-17 18:58:43
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
From Java_Android to Swift iOS 立即下载
From Java/Android to Swift iOS 立即下载
移动 App 性能监测实践(iOS篇) 立即下载