SocketMobile / singleentryswift-ios

Sample code for ScanAPI SDK using Swift
Other
7 stars 1 forks source link

ScanAPI is not updated for the latest Xcode 9.4.1 and latest iOS version 11.4 #11

Open Lovyom opened 6 years ago

Lovyom commented 6 years ago

Getting below error if executed on code 9.4.1

Undefined symbols for architecture arm64: "_OBJCCLASS$_SktClassFactory", referenced from: objc-class-ref in ScanApiHelper.o "_SKTDATACONFIRMATION", referenced from: -[ScanApiHelper postSetDataConfirmation:goodData:Target:Response:] in ScanApiHelper.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Please check andsuggest me the appropriate solution for the same

EricGlaenzer commented 6 years ago

Hi Lovyom, There is no issue compiling and running this SingleEntry with Xcode 9.4.1 and using ScanAPI 10.3.93. Can you describe a bit more your environment, and what you're trying to do? Apparently you're using the Data Confirmation. Also please not that we have released a new and better SDK replacing ScanAPI called Capture. Moving forward I recommend using Capture instead of ScanAPI and more so if you're starting a new project.