I'm setting up CI for a project using CocoaPods. I set up Xcode server locally on my Mac. Pod directory is not under source control, so put
pod install
in my 'Before Integration' script for my Bot, and got 'pod: command not found' error.
I certainly have pods installed on my machine, how do I make it visible for the server?
you can also use this line in the beginning of your trigger and you can run all other commands without using /usr/local/bin
export PATH=$PATH:/usr/local/bin
But i would recommend to commit your Pods into the repository, so the CI does not have to care about it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With