Go to top ↑
Menu
OVERVIEW JSON API iOS SDK Android SDK

Installation

Cocoapods (preferred)

Follow the Cocoapods: Getting started guide and Cocoapods: Using Cocoapods guide if you’ve never used Cocoapods before.

Add the TradeIt spec repo as a source and the Ticket SDK pod as a dependency of the project target:

source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/tradingticket/SpecRepo'

target 'YourProjectTargetName' do
  use_frameworks!
  pod 'TradeItIosTicketSDK2', '~> 2.0.17'
end

post_install do |installer|
        installer.pods_project.targets.each do |target|
            if ['TradeItIosTicketSDK2'].include? target.name
                target.build_configurations.each do |config|
                    config.build_settings['SWIFT_VERSION'] = '4.2'
                end
            end
        end
end

Then in your shell:

pod repo update
pod install

Carthage

To integrate the TradeIt SDK into your Xcode project using Carthage, specify it in your Cartfile:

github "tradingticket/TradeItIosTicketSDK2" ~> 2.0.17