Installation Guide
In order to use CMMobileTimelineSDK, you need to import the mentioned framework as well.
Required Versions
Name | Version |
---|---|
iOS | 12.0 |
Xcode | 15.2 |
CMMobileSDK | v5.2.7 |
Importing required frameworks into your project
- Install CocoaPods on your Mac if necessary (follow instructions at official site).
- Open Terminal.
- Run "cd" command to folder which contains your project.
- Run "pod init" command, it will create Podfile at containing folder.
- Open Podfile and insert next text:
platform :ios, '10.0' # your supported iOS version
target 'YourAppTarget' do
use_frameworks!
pod 'Moya', '~> 14.0'
pod 'Alamofire', '~> 5.0.5'
pod 'Mantle'
pod 'AFNetworking', '~> 4.0.1'
pod 'SDWebImage', '~> 5.18.11'
pod 'FSCalendar'
pod 'KVOController'
pod 'Toast'
pod 'MSWeakTimer', '~> 1.1.0'
pod 'WebsocketStompKit', :git => 'https://github.com/dhullerEEN/WebsocketStompKit.git'
pod 'AFNetworking+RetryPolicy', :git => 'https://github.com/dhullerEEN/AFNetworking-RetryPolicy.git'
pod 'AFOAuth2Manager', :git => 'https://github.com/rajlakshmi12/AFOAuth2Manager.git', :branch => 'feature/update_to_afnetworking_4'
end
- Save and close Podfile
- Run "pod install" commands. Note: close Xcode before executing command.
- YourProjectName.xcworkspace file was generated, open your project with this file now, not YourProjectName.xcodeproj.
Updated 3 months ago