Closed maschall closed 5 years ago
Interesting, I suspect that the way commands are executed by fourflusher, they'll only inherit exported environment variables.
Could you try:
export DEVELOPER_DIR=/Applications/Xcode6.4.app
build_script.sh
and see if that changes the result?
I had tried
DEVELOPER_DIR="/Applications/Xcode6.4.app" ruby -e "require 'fourflusher'; puts Fourflusher::SimControl.new.destination('iPhone 4s', '8.0')"
which works as expected, but I will try with the export and get back.
Thanks for this. It could the clue I needed for the issue with Jenkins that I'm seeing.
Closing as too old issue.
I am doing the following in our CI build
DEVELOPER_DIR=/Applications/Xcode6.4.app build_script.sh
The script runs a
pod repo push --allow-warnings --use-libraries --verbose
In CocoaPods 0.37.1 we never had issues.
We are now getting an error
The command is failing in fourflusher, but if you run
DEVELOPER_DIR=/Applications/Xcode6.4.app xcrun simctl list devices
you will get a list of devices back.If I change it to
DEVELOPER_DIR=/Applications/Xcode6.4.app/Contents/Developer
we no longer get this failure, however the other format is valid and should be respected