fastlane: gym hangs on xcrun
|
|
Original issue by @contra - Imported from fastlane/gym#143 |

When gym runs xcrun, it never continues because the xcrun command never closes itself.
Running xcrun xcodebuild -list -project './platforms/ios/Charmed.xcodeproj' by hand shows this:

It seems as if gym is expecting that xcrun will print the info then close, but in reality it is printing the info and staying open so gym never continues.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 1
- Comments: 45 (41 by maintainers)
@TKBurner No issues in any of our machines.
Jenkins machine: Ruby 2.2.1, terminal app, bash. My machine: Ruby 2.2.3, iTerm, oh my zsh.
Timeout set: 600ms
Had the same trouble few days ago. My problem was that
xcrun xcodebuild -list -projectlooking for user scheme in project directory.xcuserdatais where it should be located.The solution for me was to install
xcodeprojgem –gem install xcodeproj. Create small script to recreate user schemesAnd execute it. After this
xcrun xcodebuild -list -projectruns smooth. Hope it helps you!