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.
In Xcode, select your project from the Project Navigator (the folder icon on the left). Now, in the main window, ensure the project file (with the .xcodeproj extension) is selected. Click on the "Package Dependencies" tab in the project settings. You’ll see a "+" button at the bottom of the dependencies list. Click on this "+" button.
Select Add Package Dependencies
A new window titled "Add Package" will appear. In the search bar, Paste the Git repository URL for the package
https://github.com/ZebraDevs/alt-rfid-ios-sdk
Xcode will now fetch the package. After that, you’ll be asked to confirm which target(s) the package should be linked to. Typically, this will be your app's target. Select your target(s) and click Add Package.
After adding the package, you can start using it in your project. In your Swift files, import the package's module by adding the import statement:
import ZebraScannerFramework
import ZebraRfidSdkFramework
To Remove existing framework: For existing 123RFID iOS projects that are using previous versions of the framework without Swift Package Manager (SPM), please complete steps 1 to 9 in the "Setup Cocoa-Pods in Existing 123RFID iOS Project" guide to remove the current framework. You can find these steps here: Setup Cocoa-Pods in Existing 123RFID iOS Project.
Once you’ve completed step 9, follow the instructions to set up SPM integration.
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.
.
.
.
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'
- ZebraScannerFramework.xcframework
- ZebraRfidSdkFramework.xcframework
.
.if you got any sandbox resync isssue,
Please Set No for User Script Sandboxing
.
.
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'
8. Navigate to Project Settings → General and remove the two previously added frameworks before configuring the Pod.
.
-
${PODS_XCFRAMEWORKS_BUILD_DIR}/ZebraBarcodeiOSSdk
-
${PODS_XCFRAMEWORKS_BUILD_DIR}/ZebraRfidiOSSdk