Skip to main content

Cocoapods Install

Runs the CocoaPods install command for dependency management. This step installs all pod dependencies. Appcircle uses the pod install command to install pods in the project. This command comes from the CocoaPods tool installed on the system. If a version is not specified for CocoaPods, this step will use the version of CocoaPods installed on the system.

Prerequisites

Before running the Cocoapods Install step, you must complete certain prerequisites, as detailed in the table below:

Prerequisite Workflow StepDescription
Git CloneThe repo needs to be cloned in order to start the CocoaPods installation process. After the clone, CocoaPods will be installed. After this step works, the variable $AC_REPOSITORY_DIR will be created.
Screenshot

Input Variables

This step contains some input variable(s). It needs these variable(s) to work. The table below gives explanation for this variable(s).

Screenshot
Variable NameDescriptionStatus
$AC_PROJECT_PATHSpecifies the project path. For example: ./appcircle.xcodeproj. If you filled in Configuration => Project or Workspace, this variable comes from Configuration.Required
$AC_REPOSITORY_DIRSpecifies the cloned repository directory. This path will be generated after the Git Clone step.Required
$AC_COCOAPODS_VERSIONSpecifies the CocoaPods version. If there is a specific version you want to use, give it here as hardcoded, and the system will automatically install the given version.Optional
info

Please note that the CocoaPods Install step uses the default system CocoaPods version. If you want to use a specific version, please enter it hardcoded in the CocoaPods Version parameter in the step.

danger

Remember, if the project extension is not .xcworkpace, the pod install step will not work as expected. In the Configuration tab, make sure that the extension in the project path is .xcworkspace.


To access the source code of this component, please use the following link:

Preview of GitHub - appcircleio/appcircle-cocoapods-component