Skip to content

The repo is to host the IOS SDK libraries in XCFramework format

License

Notifications You must be signed in to change notification settings

ZebraDevs/alt-rfid-ios-sdk

Repository files navigation

The Zebra RFID SDK for iOS enables MFi-enabled devices to interface with the RFD8500, RFD40, and RF90 via its Bluetooth interface. The Zebra RFID SDK provides a powerful set of APIs that use directly the ZETI (Zebra Easy Text Interface) exclusively created to take full advantage of the RFD8500, RFD40, and RF90 performance, functionality, and versatility. The SDK also contains the Zebra RFID Mobile application that can be used as a reference to develop new applications or to port existing applications to take advantage of the RFID features.

Configure Cocoapods (Rfid_iOS_SDK) in your iOS project.

1. Start a new project in Xcode, then open a terminal, navigate to the project's directory, and enter 'pod init' to generate the Podfile. Verify that the Podfile has been created.

.

image

.

image

.

image

2. Open the Podfile and add the following two lines to it and save the pod file

pod 'ZebraRfidiOSSdk', :git => 'https://github.com/ZebraDevs/alt-rfid-ios-sdk.git', :branch => ‘main’

pod 'ZebraBarcodeiOSSdk', :git => 'https://github.com/ZebraDevs/alt-rfid-ios-sdk.git', :branch => ‘main'

image

3. Type 'Pod install'

image

4. After pod install in navigate to your project and open “yourProjectName.xcworkspace”

image

5. Now you can view the Pods section with two frameworks listed under it.

  1. ZebraScannerFramework.xcframework
  2. ZebraRfidSdkFramework.xcframework

.

image . Screenshot 2024-06-20 at 11 08 40 AM

6. Now you can import the headers files for ZebraScannerFramework and ZebraRfidSdkFramework.

image

7. Now you can import the headers files for ZebraScannerFramework and ZebraRfidSdkFramework.

Screenshot 2024-06-20 at 11 15 26 AM

Note :

if you got any sandbox resync isssue,

image

Please Set No for User Script Sandboxing

image

Setup Cocoa-Pods in Existing 123RFID iOS Project

1. Remove the existing ‘Framework’ folder.

.

image

.

image

2. Navigate to the project location via the terminal.

image

3. Enter the command ‘pod init’. This will create a PodFile inside the project.

image

4. Open the PodFile and enter the following two lines.

pod 'ZebraRfidiOSSdk', :git => 'https://github.com/ZebraDevs/alt-rfid-ios-sdk.git', :branch => ‘main’

pod 'ZebraBarcodeiOSSdk', :git => 'https://github.com/ZebraDevs/alt-rfid-ios-sdk.git', :branch => ‘main'

image

5. Save the PodFile and close it.

6. In the terminal enter ‘pod install’.

image

7. Open the ‘RFIDDemoApp.xcworkspace’ project..

image

8. Navigate to Project Settings → General and remove the two previously added frameworks before configuring the Pod.

.

image

. image

9. Go to Build Settings  Framework Search Paths and delete the existing paths.

image

10. Then, add the below two paths

  1. ${PODS_XCFRAMEWORKS_BUILD_DIR}/ZebraBarcodeiOSSdk

  2. ${PODS_XCFRAMEWORKS_BUILD_DIR}/ZebraRfidiOSSdk

image

11. Clean and Build the Project.