cocoapodsxcode-server

How to integrate Xcode Server CI for project using Cocoapods


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?


Solution

  • 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.