<aside> 💡 Explore the iOS project example featuring the integrated A-mates SDK on our GitHub repository. To run the project, you'll need a Community AppID. You can find your Community AppID by either accessing the Settings tab in the Community Management Panel or by signing up and creating a new Community Project.

</aside>

CocoaPods Installation

Step 1. Activate CocoaPods for your project (if you haven't used them before).

pod init

Step 2. Configure Podfile

Add the following lines at the top of the pods list in your root 'Podfile':

source '<https://github.com/CocoaPods/Specs.git>'
use_frameworks!

Add pod to current target:

pod 'AMatesiOS'

Add the following lines to the bottom of the pods list in your root 'Podfile':

post_install do |installer|
    installer.pods_project.targets.each do |t|
      t.build_configurations.each do |config|
        config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
      end
    end
end

<aside> 💡 Your 'Podfile' must look like following:

</aside>

source '<https://github.com/CocoaPods/Specs.git>'
use_frameworks!

target 'YOUR TARGET NAME' do
  // Your pods if needed
  pod 'AMatesiOS'
end

post_install do |installer|
    installer.pods_project.targets.each do |t|
      t.build_configurations.each do |config|
        config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
      end
    end
end

Step 3. Install CocoaPods for your project

pod install