https://github.com/zebradevs/alt-rfid-ios-sdk
The repo is to host the IOS SDK libraries in XCFramework format
https://github.com/zebradevs/alt-rfid-ios-sdk
Last synced: about 1 year ago
JSON representation
The repo is to host the IOS SDK libraries in XCFramework format
- Host: GitHub
- URL: https://github.com/zebradevs/alt-rfid-ios-sdk
- Owner: ZebraDevs
- Created: 2024-04-30T06:50:22.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T04:55:44.000Z (about 2 years ago)
- Last Synced: 2024-05-29T16:29:36.831Z (about 2 years ago)
- Language: Objective-C
- Size: 1.03 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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 Swift Package Manager - SPM (Rfid_iOS_SDK) in your iOS project.
### 1. Go to the "Add Package" Interface
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

### 2. Search for the Package or Enter the Repository URL
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

### 3. Add Package to Your Target
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.



### 4. Import and Use the 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

### Note :
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](https://github.com/ZebraDevs/alt-rfid-ios-sdk?tab=readme-ov-file#setup-cocoa-pods-in-existing-123rfid-ios-project).
Once you’ve completed step 9, follow the instructions to set up SPM integration.
# 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.
.

.

.

### 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'

### 3. Type 'Pod install'

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

### 5. Now you can view the Pods section with two frameworks listed under it.
1. ZebraScannerFramework.xcframework
2. ZebraRfidSdkFramework.xcframework
.
.

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

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

### Note :
if you got any sandbox resync isssue,

Please Set No for User Script Sandboxing

# Setup Cocoa-Pods in Existing 123RFID iOS Project
### 1. Remove the existing ‘Framework’ folder.
.

.

### 2. Navigate to the project location via the terminal.

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

### 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'

### 5. Save the PodFile and close it.
### 6. In the terminal enter ‘pod install’.

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

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

.

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

### 10. Then, add the below two paths
1. ${PODS_XCFRAMEWORKS_BUILD_DIR}/ZebraBarcodeiOSSdk
2. ${PODS_XCFRAMEWORKS_BUILD_DIR}/ZebraRfidiOSSdk

### 11. Clean and Build the Project.