FBYBankCardRecognition-iOS
FBYBankCardRecognition-iOS copied to clipboard
怎么样才能支持模拟器
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)
目前.a文件不支持模拟器
那怎么解决呢
@ZClee128 在configIDScan和parseBankImageBuffer方法中添加模拟器判断,如果是模拟器不去运行调用,
`#if TARGET_IPHONE_SIMULATOR
#define SIMULATOR_TEST #else
#endif `
试过了不行
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: BaoYing-Fan [email protected] 发送时间: 2019年4月17日 14:49 收件人: fanbaoying/FBYBankCardRecognition-iOS [email protected] 抄送: ZClee [email protected], Mention [email protected] 主题: 回复:[fanbaoying/FBYBankCardRecognition-iOS] 怎么样才能支持模拟器 (#6)
@ZClee128 在configIDScan和parseBankImageBuffer方法中添加模拟器判断,如果是模拟器不去运行调用,
`#if TARGET_IPHONE_SIMULATOR
#define SIMULATOR_TEST #else
#endif `
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
确定要加在报错的那两个方法里面