Set Up Virtual CocoaPods Repositories

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

Starting from Artifactory version 7.84.x, Artifactory supports virtual CocoaPods repositories, only for repositories using CDN.

A Virtual Repository aggregates packages from both local and remote repositories that are included in the virtual repositories. This allows you to access packages that are hosted locally on local CocoaPods repositories, as well as remote packages that are proxied by remote CocoaPods repositories, and access all of them from a single URL defined for the virtual repository.

Virtual repositories can be very useful since users will continue to work with the virtual repository while the admin can manage the included repositories, and replace the default deployment target, while the changes will be transparent to the users.

To set up a virtual CocoaPods repository:

  1. From the Administration module, select Repositories | Repositories | Virtual.

  2. Click New Virtual Repository and select CocoaPods from the Select Package Type dialog.

  3. Set the Repository Key value.

  4. Select the underlying local and remote CocoaPods repositories to include under the Repositories section.

    Include Only Repositories Using CDN

    To be able to resolve artifacts from a CocoaPods virtual CDN repository, the Local and remote repositories that you include in your virtual repository must be CDN enabled. For more information, see Identify Whether a CocoaPods Repository Uses CDN.

  5. Enable CDN for this repository: for more information, see Use CocoaPods CDN for Virtual Repositories

  6. (Optional) Configure your Default Deployment Repository, where the pods you upload to this virtual repository will be routed.