Linker Error in Xcode 5 for libzbar.a

前端 未结 4 516
猫巷女王i
猫巷女王i 2020-12-07 21:54

After I integrate ZBar Sdk into my project, my xcode 5-DP starts showing below warning:

\"ld: warning: linking ObjC for iOS Simulator, but object file

4条回答
  •  独厮守ぢ
    2020-12-07 22:12

    Since Dec 2014, there is an easier solution than Mario's answer. Use CocoaPods and add this line to your Podfile:

    pod 'ZBarSDK', '~> 1.3.1'
    

    Then, run the classic pod install. It will build fine, including for arm64.

提交回复
热议问题