ZBarSDK-for-iOS
---------------------
64bits ZbarSDK for iOS (armv7, amrv7s, arm64).
Refers to http://stackoverflow.com/questions/18740304/linker-error-in-xcode-5/18937831#18937831
**The lib in this repo has already been rebuilt for 64bit devices, but in case you want to built it on your own, the explicit steps are listed below:**
===============
Download Mercurial first
Clone the source:
```bash
hg clone http://zbar.hg.sourceforge.net:8000/hgroot/zbar/zbar
cd zbar
hg checkout iPhoneSDK-1.3.1
open iphone/zbar.xcodeproj
```
In Xcode's menu, select **"Product > Scheme > libzbar"** and then select **"Product > Scheme > Edit Scheme…"**. Select **"Run"** in the build configuration and click **OK**.
In the Project and Targets list, select the libzbar target and click on the Build Settings tab. Verify your Architecture settings, make sure it says **iOS and arm64 armv7 armv7s**. Also don't forget to change Architectures to **Standard architectures (armv7, armv7s, arm64)**, otherwise your project won't compile with arm64.
Go back to **"Product > Scheme > Edit Scheme…"** and check the **"Destination"** drop-down menu. Change to the simulator. (Build once for both iOS Device and simulator)
Combine the two library:
```bash
cd ~/Library/Developer/Xcode/DerivedData
/Users/mario/Library/Developer/Xcode/DerivedData/zbar-******
cd Build
cd Products
lipo -create Release-iphoneos/libzbar.a Release-iphonesimulator/libzbar.a -o libzbar.a
cp libzbar.a ~/Desktop (Copy it to your desktop)
```
replace the **libzbar.a** in your project!
Done!
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
LHTwoDimensionCodeZBar.zip (79个子文件)
LHTwoDimensionCodeZBar
ZHTwoDimensionCodeZBarTests
ZHTwoDimensionCodeZBarTests.m 921B
Info.plist 773B
ZHTwoDimensionCodeZBar
main.m 351B
LHButtonItem.h 414B
MineTwoDimensionCodeController.h 301B
ZBarSDK-for-iOS-master
libzbar.a 5.2MB
Resources
zbar-helpicons.png 18KB
zbar-samples.png 1KB
zbar-back.png 319B
zbar-help.html 3KB
.DS_Store 6KB
Headers
ZBarSDK
ZBarImageScanner.h 2KB
ZBarHelpController.h 2KB
ZBarReaderView.h 4KB
ZBarImage.h 2KB
zbar.h 52KB
ZBarSymbol.h 2KB
ZBarCaptureReader.h 4KB
.DS_Store 6KB
zbar
Symbol.h 12KB
ImageScanner.h 4KB
Window.h 4KB
Image.h 8KB
Exception.h 5KB
Scanner.h 4KB
Processor.h 7KB
Video.h 4KB
Decoder.h 6KB
ZBarCameraSimulator.h 2KB
ZBarReaderController.h 5KB
ZBarReaderViewController.h 5KB
ZBarSDK.h 1KB
.DS_Store 6KB
README.md 2KB
qr_scan_line@2x.png 387B
MineTwoDimensionCodeController.m 1KB
LHMenuToolBar.h 516B
LHMainScanView.h 532B
Constant.h 367B
AppDelegate.h 294B
AppDelegate.m 2KB
libqrencode
QRCodeGenerator.h 1KB
mask.c 6KB
qrinput.c 29KB
qrspec.h 5KB
bitstream.c 4KB
mask.h 1KB
split.h 2KB
qrencode.c 13KB
.DS_Store 6KB
rscode.c 9KB
split.c 7KB
bitstream.h 1KB
QRCodeGenerator.m 3KB
qrinput.h 3KB
qrspec.c 15KB
qrencode.h 15KB
rscode.h 1KB
Base.lproj
LaunchScreen.xib 4KB
Main.storyboard 2KB
LHMainScanView.m 6KB
.DS_Store 8KB
LHMenuToolBar.m 3KB
ViewController.h 231B
Images.xcassets
AppIcon.appiconset
Contents.json 585B
Info.plist 1KB
ViewController.m 7KB
LHButtonItem.m 560B
.DS_Store 8KB
ZHTwoDimensionCodeZBar.xcodeproj
project.xcworkspace
contents.xcworkspacedata 167B
xcuserdata
duomei.xcuserdatad
UserInterfaceState.xcuserstate 26KB
Lxh2.xcuserdatad
UserInterfaceState.xcuserstate 27KB
project.pbxproj 36KB
xcuserdata
duomei.xcuserdatad
xcschemes
xcschememanagement.plist 584B
ZHTwoDimensionCodeZBar.xcscheme 4KB
xcdebugger
Breakpoints_v2.xcbkptlist 91B
Lxh2.xcuserdatad
xcschemes
xcschememanagement.plist 584B
ZHTwoDimensionCodeZBar.xcscheme 4KB
xcdebugger
Breakpoints_v2.xcbkptlist 91B
共 79 条
- 1
资源评论
- 10chenxi2019-06-12还可以,值得参考
- pzz8198162017-10-24很不错 可以参考
- 无崖2015-11-30能用上,能生产二维码,参考价值很大
- ONETWOFREE242015-08-07还可以吧。基本功能都实现了,可以参考假装不在乎你2015-08-10如果想拿来直接用,你得稍作修改
假装不在乎你
- 粉丝: 5
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功