user3059729
user3059729

Reputation: 57

use CocoaPods install ZBarSDK (1.3.1) error

User CocoaPods install ZBarSDK have error error : directory not found for option '-L/Users/Tank/Desktop/人宇數位科技/MetroNews/MetroNews/ZBarSDK' I need help. I need scanning QRCode in iOS 6.0 and later. I need armv7s because i install AFNetworking .it need armv7s. so don't delete armv7s.

Upvotes: 0

Views: 1514

Answers (2)

Cœur
Cœur

Reputation: 38667

It should be working now, possibly since December 2014:

Use latest 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 armv7s and arm64.

Upvotes: 1

Vizllx
Vizllx

Reputation: 9246

In this moment the great qr/bar code reader library ZBar doesn't work on iPhone 5 simply because no one has re-compiled the library for armv7, and if you try to use this lib in you armv7s ready ios project you obtain linker error.

Your solution is here:

https://web.archive.org/web/20170128181158/http://www.federicocappelli.net/2012/10/05/zbar-library-for-iphone-5-armv7s/

which links to:

Linker Error in Xcode 5 for libzbar.a

Upvotes: 0

Related Questions