-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gym frequently times out when calling xcrun xcodebuild -list #5071
Comments
I've also turned on |
Does that happen on your machine or a CI system? |
On a CI system (Circle CI's OS X machines) - unfortunately a private repo |
Unfortunately, no additional detail when |
Looks like it's similar or same to fastlane-old/gym#143 (#1844) |
I do have a cordova App that I'm trying to build. I'm getting this error every time I'm running gym through Jenkins. Here's my error with verbose: WARN [2016-06-13 16:13:48.87]: xcrun xcodebuild -list -project ./TwitterDemo.xcodeproj
/usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.46.3/lib/fastlane_core/ui/interface.rb:139:in `user_error!': [!] xcodebuild -list timed-out after 10 seconds. You might need to recreate the user schemes. You can override the timeout value with the environment variable FASTLANE_XCODE_LIST_TIMEOUT (FastlaneCore::Interface::FastlaneError)
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.46.3/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.46.3/lib/fastlane_core/project.rb:268:in `rescue in raw_info'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.46.3/lib/fastlane_core/project.rb:264:in `raw_info'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.46.3/lib/fastlane_core/project.rb:296:in `parsed_info'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.46.3/lib/fastlane_core/project.rb:93:in `schemes'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.46.3/lib/fastlane_core/project.rb:101:in `select_scheme'
from /usr/local/lib/ruby/gems/2.3.0/gems/gym-1.6.3/lib/gym/detect_values.rb:56:in `detect_scheme'
from /usr/local/lib/ruby/gems/2.3.0/gems/gym-1.6.3/lib/gym/detect_values.rb:24:in `set_additional_default_values'
from /usr/local/lib/ruby/gems/2.3.0/gems/gym-1.6.3/lib/gym.rb:25:in `config='
from /usr/local/lib/ruby/gems/2.3.0/gems/gym-1.6.3/lib/gym/manager.rb:4:in `work'
from /usr/local/lib/ruby/gems/2.3.0/gems/gym-1.6.3/lib/gym/commands_generator.rb:42:in `block (2 levels) in run'
from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.46.3/lib/fastlane_core/ui/fastlane_runner.rb:26:in `run!'
from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /usr/local/lib/ruby/gems/2.3.0/gems/gym-1.6.3/lib/gym/commands_generator.rb:61:in `run'
from /usr/local/lib/ruby/gems/2.3.0/gems/gym-1.6.3/lib/gym/commands_generator.rb:15:in `start'
from /usr/local/lib/ruby/gems/2.3.0/gems/gym-1.6.3/bin/gym:6:in `<top (required)>'
from /usr/local/bin/gym:23:in `load'
from /usr/local/bin/gym:23:in `<main>' edit: it seems to be a cordova problem: a ruby script is fixing this: |
@nevir Does that ^^ help? |
@vpolouchkine sadly nope, it still occurs after rebuilding the schemes with each build :( (Also, my project isn't cordova; but it is generated via cocoapods) |
Does it work as expected locally? |
Yeah, I haven't experienced any timeouts locally :( |
I see such a problem in Travis CI builds too, never locally. On Travis it happens sporadically, I'm getting the following log:
I'm using fastlane version 1.95.0 without 'FASTLANE_XCODE_LIST_TIMEOUT' setting and it looks like the default 10s timeout wasn't raised.
|
Looks like it's the known issue, same as for |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍 |
New Issue Checklist
Issue Description
I frequently (maybe 50% of the time) see timeouts on
gym
builds. It always occurs when runningxcrun xcodebuild -list
. There are also "Skipped SDK" warnings that show up (regardless of whether it times out):Full gym command:
The text was updated successfully, but these errors were encountered: