Zbar SDK - missing required architecture x86_64

前端 未结 6 1786
隐瞒了意图╮
隐瞒了意图╮ 2021-01-30 18:58

I had one problem during building application in the recent Xcode 5.1. Compilation fails with \"Undefined symbols for architecture x86_64\" error.

I build my project wit

6条回答
  •  别跟我提以往
    2021-01-30 19:43

    Make sure your libzbar.a contains all the architectures you needed in your project. You may need following to build for device and simulator:

    armv7 armv7s arm64 i386 x86_64
    

    You can test this using following command:

    xcrun -sdk iphoneos lipo -info libzbar.a
    

提交回复
热议问题