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

怎么样才能支持模拟器 #6

Open
panfeng1104 opened this issue Jan 17, 2019 · 5 comments
Open

怎么样才能支持模拟器 #6

panfeng1104 opened this issue Jan 17, 2019 · 5 comments

Comments

@panfeng1104
Copy link

Undefined symbols for architecture x86_64:
"_EXCARDS_Init", referenced from:
-[FBYScanBankCard configIDScan] in FBYScanBankCard.o
"_BankCardNV12", referenced from:
-[FBYScanBankCard parseBankImageBuffer:] in FBYScanBankCard.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@fanbaoying
Copy link
Owner

目前.a文件不支持模拟器

@ZClee128
Copy link

那怎么解决呢

@fanbaoying
Copy link
Owner

@ZClee128 在configIDScan和parseBankImageBuffer方法中添加模拟器判断,如果是模拟器不去运行调用,

`#if TARGET_IPHONE_SIMULATOR

#define SIMULATOR_TEST
#else

#endif `

@ZClee128
Copy link

ZClee128 commented Apr 17, 2019 via email

@fanbaoying
Copy link
Owner

确定要加在报错的那两个方法里面

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

3 participants