EEXIST - File exists workspace/Pods EEXIST - File exists workspace/Pods jenkins jenkins

EEXIST - File exists workspace/Pods


Adding export LANG=en_US.UTF-8 in an "Execute shell" script before invoking pod fixed this on my Jenkins box. Also consider using -d to check the directory.

# Cocoapodsexport LANG=en_US.UTF-8export LANGUAGE=en_US.UTF-8export LC_ALL=en_US.UTF-8if [ -d Pods ]; then        rm -rf Podsfipod repo updatepod install# ...