Install CocoaPods Packages

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

Once you have connected CocoaPods to Artifactory, you can configure your CocoaPods client to install pods from your Artifactory repository.

To install pods:

  1. Add the relevant line to your podfile:

    • CocoaPods CDN:

      source "https://[JFrogPlatformURL]/artifactory/api/pods/<REPO_NAME>"

      Where:

      • [JFrogPlatformURL]: Your organization's Artifactory URL

      • <REPO_NAME>: The name of your CocoaPods repository in Artifactory

      For example:

      source "https://company.jfrog.io/artifactory/api/pods/cocoapods-local"
    • cocoapods-art:

      plugin 'cocoapods-art', :sources => [
        '<REPO_NAME>'
      ]

      Where <REPO_NAME> is the name of the CocoaPods repository in Artifactory. For example:

      plugin 'cocoapods-art', :sources => [
        'cocoapods_virtual'
      ]
  2. Run the install command:

    pod install

The command installs pods from the specified Artifactory repository.