This document provides Matching Engine iOS SDK to create applications for your device
Last Modified: 5/9/2020
The MobiledgeX Client Library enables an application to register and then locate the nearest edge cloudlet backend server for use. The client library also allows verification of a device's location for all location-specific tasks. Because these APIs involve networking, most functions will run asynchronously, and in a background thread, utilizing the Google Promises framework and iOS DispatchQueue.
The Matching Engine iOS SDK provides everything required to create applications for iOS devices.
Note: With a login, you can download the iOS SDK library as well as upload a server image to install on the edge network.
Step 2: In terminal, run these commands to install Cocoapods:
gem install cocoapods and
gem install cocoapods-art.
Step 3: Go to your root directory
Step 4: Create a .netrc file and enter the following credentials:
echo machine artifactory.mobiledgex.net login <username> password
<password> .netrc. Use the same credentials created on the Console in Step 1.
Step 5: Navigate to your project directory and add the following lines to your podfile:
plugin 'cocoapods-art', :sources =>; ['cocoapods-releases']
pod 'MobiledgeXiOSLibrary', '= 2.0'
use_frameworks! platform :ios, '11.4' # Default Specs.git: source 'https://github.com/CocoaPods/Specs.git' plugin 'cocoapods-art', :sources => ['cocoapods-releases'] target 'ARShooter' do pod 'MobiledgeXiOSLibrary','= '2.0' end
Step 6: Save your podfile, and then run the following command to install the MobiledgeXLibarary dependency to your workspace:
Step 7: Open your xcworkspace.
Step 8: Copy and paste
import MobiledgeXiOSLibrary in any file(s) where you will utilize the MobiledgeX libary/SDK.
Click here to view and familiarize yourself with the iOS SDK APIs and start your MobiledgeX integration.
To learn how to use Docker to upload your application, see this tutorial.