Installation Guide

In order to use CMMobileTimelineSDK, you need to import the mentioned framework as well.

Required Versions

NameVersion
iOS12.0
Xcode12.2
CMMobileSDKv5.2.7

Importing required frameworks into your project

  1. Install CocoaPods on your Mac if necessary (follow instructions at official site).
  2. Open Terminal.
  3. Run "cd" command to folder which contains your project.
  4. Run "pod init" command, it will create Podfile at containing folder.
  5. 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', '~> 4.0'
  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
  1. Save and close Podfile
  2. Run "pod install" commands. Note: close Xcode before executing command.
  3. YourProjectName.xcworkspace file was generated, open your project with this file now, not YourProjectName.xcodeproj.