Script:
cd ${SRCROOT}
if [ -e "Pods" ]
then
pod install
else
touch Pods
rm -r -f Pods
pod repo update
pod install
fiIf you re getting this error:
Diff: /../Podfile.lock: No such file or directory
Diff: /Manifest.lock: No such file or directory
The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.Rerun your tests or if it doesn't help remove Podfile.lock from your repo






Thanks for this, did you were able to archive the build with this setup?