iOS - API Setup

CocoaPods

  1. Add the following lines to the podfile:
pod 'Visilabs', '~> 2.5.17'
2. Run the following command:
pod install
3. If you want to see log messages of Visilabs SDK add the following code block to pod file:
post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'VISILABSDEBUG=1']
        end
    end
end

Manual Setup

  1. Download the SDK from the following URL:
git clone https://github.com/visilabs/Visilabs-IOS.git
2. Copy the pod folder to the project folder and add it to your XCode project.



Parent Topic: iOS - Visilabs Objective-C SDK


Copyright 2020 Related Digital