Integrating the SDK
Using Cocoapods
We recommend using Cocoapods to integrate the binary frameworks provided for the iOS Cars SDK as follows.
Add the following lines to your application’s Podfile:
source 'https://github.com/bookinggo/cars-sdk-ios-podspecs.git' target 'MyApp' do use_frameworks! pod 'CarsSDK' end
Run pod install to integrate the Cocoapod:
pod install
or:
bundle exec pod install
if using a Gemfile.
Integrating the framework directly
If you don’t use Cocoapods, you can obtain the framework directly by cloning the repository at https://github.com/bookinggo/cars-sdk-ios-framework or git@github.com:bookinggo/cars-sdk-ios-framework.git, or adding it as a Git submodule and then adding CarsSDK.xcframework
to your app’s project as an embedded framework.