libiRockey301_ccid_V3.5.40_debug.a, missing required architecture x86_64
iPopular opened this issue · 5 comments
Hello, I got error when build project detail as below
`ld: warning: ignoring file /Users/ipopular/Documents/Project/Freelance/Brainstem/FEITIAN_MOBILE_READERS-master/iOS SDK/iReader for Appstore/Swift Demo/iReader/Sdk/lib/libiRockey301_ccid_V3.5.40_release.a, missing required architecture x86_64 in file /Users/ipopular/Documents/Project/Freelance/Brainstem/FEITIAN_MOBILE_READERS-master/iOS SDK/iReader for Appstore/Swift Demo/iReader/Sdk/lib/libiRockey301_ccid_V3.5.40_release.a (4 slices)ld: warning: ignoring file /Users/ipopular/Documents/Project/Freelance/Brainstem/FEITIAN_MOBILE_READERS-master/iOS SDK/iReader for Appstore/Swift Demo/iReader/Sdk/lib/libiRockey301_ccid_V3.5.40_debug.a, missing required architecture x86_64 in file /Users/ipopular/Documents/Project/Freelance/Brainstem/FEITIAN_MOBILE_READERS-master/iOS SDK/iReader for Appstore/Swift Demo/iReader/Sdk/lib/libiRockey301_ccid_V3.5.40_debug.a (4 slices)
Undefined symbols for architecture x86_64:
"_SCardEstablishContext", referenced from:
iReader_swift.ScanDeviceController.viewDidLoad() -> () in ScanDeviceController.o
"_FtGetSerialNum", referenced from:
closure #2 () -> () in closure #1 () -> () in iReader_swift.DeviceInfoTableViewController.getDeviceInfo() -> () in DeviceInfoTableViewController.o
"_FtGetDevVer", referenced from:
closure #1 () -> () in closure #1 () -> () in iReader_swift.DeviceInfoTableViewController.getDeviceInfo() -> () in DeviceInfoTableViewController.o
"_FtGetLibVersion", referenced from:
closure #3 () -> () in closure #1 () -> () in iReader_swift.DeviceInfoTableViewController.getDeviceInfo() -> () in DeviceInfoTableViewController.o
"OBJC_CLASS$_ReaderInterface", referenced from:
objc-class-ref in ScanDeviceController.o
"_FtGetDeviceUID", referenced from:
closure #1 () -> Swift.Int32 in iReader_swift.CardCommandViewController.readUID() -> () in CardCommandViewController.o
"_SCardListReaders", referenced from:
closure #1 () -> () in iReader_swift.ScanDeviceController.scanDevice() -> () in ScanDeviceController.o
"_FtReadFlash", referenced from:
closure #1 () -> Swift.Int32 in iReader_swift.CardCommandViewController.readFlash() -> () in CardCommandViewController.o
"_SCardDisconnect", referenced from:
closure #1 () -> Swift.Int32 in iReader_swift.CardCommandViewController.disConnectCard() -> () in CardCommandViewController.o
"_FtWriteFlash", referenced from:
closure #1 () -> Swift.Int32 in iReader_swift.CardCommandViewController.writeFlash() -> () in CardCommandViewController.o
"_SCardConnect", referenced from:
closure #1 () -> Swift.Int32 in iReader_swift.CardCommandViewController.connectReader() -> () in CardCommandViewController.o
"_SCardTransmit", referenced from:
closure #1 () -> Swift.Int32 in iReader_swift.CardCommandViewController.sendTheCommand(command: Swift.String) -> () in CardCommandViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)`
Help me please!
Thank for you support.
@iPopular Thanks for your feedback, will add it on tomorrow, will update you then, thanks
@FeitianSmartcardReader Thank you so much.
@FeitianSmartcardReader Are you Updated SDK for this issue right?
@iPopular Here it is, have a check, thanks
libiRockey301_ccid_V3.5.42.zip
Latest 3.5.45 already build x86 and x64 support, close the issue.