Installation

Once you have got Cocoapods installed, you will need to create a file called Podfile in your projects root directory and put the following code snippet inside:

source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
platform :ios, '9.0'
target 'Your_Target_Name' do
pod 'YocoSDK'
end

Once complete, change 'Your_Target_Name' to your projects name (unless the target has a different name) then open up a terminal and go to your projects root directory and run the following command:

pod install --repo-update

You should now be able to open up your projects .xcworkspace file in your projects root directory and be ready to go!

note

The Yoco SDK requires a minimum deployment target of iOS 9.0