pod install for the project
If you use CocoaPods you can use the
cocoapodsintegration to run
pod installbefore building your app.
|Supported platforms||ios, mac|
|Author||@KrauseFx, @tadpol, @birmacher, @Liquidsoul|
cocoapods( clean: true, podfile: "./CustomPodfile" )
||Execute command without logging output||
||Show more debugging information||
||Show output with ANSI codes||
||Use bundle exec when there is a Gemfile presented||
||Explicitly specify the path to the Cocoapods' Podfile. You can either set it to the Podfile's path or to the folder containing the Podfile file|
||A callback invoked with the command output if there is a non-zero exit status|
||Retry with --repo-update if action was finished with error||
||DEPRECATED! (Option removed from cocoapods) Remove SCM directories||
||DEPRECATED! (Option removed from cocoapods) Integrate the Pods libraries into the Xcode project(s)||
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action cocoapods
It is recommended to add the above action into your
Fastfile, however sometimes you might want to run one-offs. To do so, you can run the following command from your terminal
fastlane run cocoapods
To pass parameters, make use of the
: symbol, for example
fastlane run cocoapods parameter1:"value1" parameter2:"value2"
It's important to note that the CLI supports primative types like integers, floats, booleans, and strings. Arrays can be passed as a comma delimited string (e.g.
param:"1,2,3"). Hashes are not currently supported.
It is recommended to add all fastlane actions you use to your
This action, just like the rest of fastlane, is fully open source, view the source code on GitHub