- Download Cocoapods here: https://cocoapods.org/
$ sudo gem install cocoapods
- Create a Podfile in your project folder (skip this if Pods folder exists)
pod init
- Install the pods
pod install
pod update
Reference: https://codewithchris.com/cocoapods/
Segment documentation: https://segment.com/docs/connections/sources/catalog/libraries/mobile/ios/quickstart/