Install the SDK
Install using CocoaPods
To begin development of an application with Entity Service, you will need CocoaPods, cocoapods-art plugin, and correctly configured Podfile.
- Install CocoaPods
- Install cocoapods-art plugin with command
sudo gem install cocoapods-art
- Add JFrog Cocoapods repo:
pod repo-art add telenav-cocoapods "https://telenav.jfrog.io/artifactory/api/pods/telenav-cocoapods"
-
Configure Podfile
-
Add plugin section to the top
1 2 3
plugin 'cocoapods-art', :sources => [ 'telenav-cocoapods' ]
-
Specify
pod 'TelenavEntitySDK', '#SDK_VERSION#'
in Podfile
-
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Note
- Refer to the Release Note to get the latest SDK version.
Update to new version
To update to new version of SDK command need to be run: pod repo-art update telenav-cocoapods
.
After that update version in Podfile and run pod install
This is because cocoapods-art plugin doesn't support automatic fetching of Podspec, so end-user should update it manually.