TelenavEntitySDK
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
Ruby plugin 'cocoapods-art', :sources => [ 'telenav-cocoapods' ]
- Specify
pod 'TelenavEntitySDK', '#SDK_VERSION#'
in Podfile
- Add plugin section to the top
Sample Podfile
plugin 'cocoapods-art', :sources => [ 'telenav-cocoapods' ] source 'https://cdn.cocoapods.org/' platform :ios, '12.0' target 'TelenavDemo' do use_frameworks! pod 'TelenavEntitySDK', '1.1.0' # Pods for TelenavDemo end
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.