ioS Swift

// Expert user has replied.
r raphael sacle 2 years 11 months ago
173 5 0

Hi
 
 
I am trying to link my DS2200 to an iPad app written in Swift.
I have followed the instruction as per https://www.zebra.com/content/dam/zebra_new_ia/en-us/manuals/barcode-sc… , which aims at ObjC integration. long story short this doesnt work for swift I have no clue whatsoever what to change to have this working for swift.
Can someone help ?

Please register or login to post a reply

5 Replies

k kanhaiya choudhary

Hi Guys I have implemented bar code reader project in swift. if anyone need then he can contact me on my email "kanhaiyac268@gmail.com"

B Bruce Zamaere

Kenneth,

It is now 2019. Can we have an ETA on Swift?

Thanks,

/Bruce.

B Buddhika Pallewela

Hi Raphael,

I apologize for the long delayed reply.

I need to clarify one thing about the scanner you used.

1. iOS app supports only the code-less(via Bluetooth) scanners.
Which scanner model are you trying to connect with iOS app?
It must be a scanner model that we currently support via iOS SDK, mentioned below

Using BT LE mode
----------------
DS 2278
DS 8178
DS 3678
LI   3678

Using Mfi Mode
-------------
CS4070
RFD8500

So, If you are trying to connect with a corded scanner you will not be able to connect.

Secondly, you can write a swift application to use our iOS SDK written in Objective-C. I hope you have already used the "Objective C Bridging Header" file to expose the header files need to access iOS SDK API functions.(Just for the reference : Using Swift with Cocoa and Objective-C (Swift 4.1): Swift and Objective-C in the Same Project )

Further, currently we are working on Swift version of our Scanner Control App for iOS and in few months will be releasing the sample code for it too.
If you need any help please do write to me.

WBR,
Buddhika

R Rachana Shastri

Hi,
 

Are you able to do this with the Swift version of our Scanner Control App?  please share more detail about this for Zebra scanner SDK for the ios app with Swift.

W William Mays

I have created a bridging header and have everything linked and included using swift. However, when I try to run or build I am getting this error:

ndefined symbols for architecture arm64:
"_OBJC_CLASS_$__TtC13ScannerSample11BarCodeList", referenced from:
objc-class-ref in ScannerAppEngine.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

CONTACT
Can’t find what you’re looking for?