Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

集成 报错 #219

Open
Qson8 opened this issue Aug 5, 2020 · 1 comment
Open

集成 报错 #219

Qson8 opened this issue Aug 5, 2020 · 1 comment

Comments

@Qson8
Copy link

Qson8 commented Aug 5, 2020

pod 'LBXScan', '~> 2.4'

LBXScanViewController.h 第27行

#ifdef LBXScan_Define_ZBar
#import "ZBarSDK.h"
#import "LBXZBarWrapper.h"//ZBar扫码封装
#endif

LBXScanViewController.h 第130行

#ifdef LBXScan_Define_ZBar
/**
 ZBar扫码对象
 */
@property (nonatomic, strong) LBXZBarWrapper *zbarObj;

#endif
@MxABC
Copy link
Owner

MxABC commented Aug 31, 2020

需要pch添加对应的宏,建议使用最新demo中的native,Zxing,Zbar 控制器代码,最新2.4版本分开了,2.4之前的版本是3个库在一个控制器里面,需要使用宏来控制

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants