fastlane: Scan stuck on xcodebuild action while fired on bitrise
Issue Description
I have fastlane configured for my project and recently I’ve decided I’d go and try bitrise.io.
Most things seems to work correctly, but I cannot get scan to work with this CI.
Curious thing that gym works without any problems and also scan works perfectly fine on my local machine.
Complete output when running fastlane, including the stack trace and command used
$ cd .
(i) No Gemfile found - using system installed fastlane ...
(i) Updating fastlane ...
$ gem install fastlane --no-document
Successfully installed gh_inspector-1.0.2
Successfully installed fastlane_core-0.50.2
Successfully installed spaceship-0.31.2
Successfully installed cert-1.4.1
Successfully installed sigh-1.9.0
Successfully installed match-0.6.2
Successfully installed supply-0.7.0
Successfully installed scan-0.11.3
Successfully installed pilot-1.10.0
Successfully installed gym-1.7.0
Successfully installed produce-1.2.0
Successfully installed pem-1.3.2
Successfully installed deliver-1.13.2
Successfully installed frameit-2.7.0
Successfully installed snapshot-1.13.1
Successfully installed word_wrap-1.0.0
Successfully installed xcode-install-2.0.2
Successfully installed fastlane-1.100.0
18 gems installed
Fastlane version:
$ fastlane --version
fastlane 1.100.0
Run fastlane:
$ fastlane run_unit_tests
[04:39:09]: ------------------------------
[04:39:09]: --- Step: default_platform ---
[04:39:09]: ------------------------------
[04:39:09]: Driving the lane 'ios run_unit_tests' 🚀
[04:39:09]: FastfileHelper imported
[04:39:09]: --------------------------------
[04:39:09]: --- Step: clear_derived_data ---
[04:39:09]: --------------------------------
[04:39:09]: Derived Data path located at: /Users/vagrant/Library/Developer/Xcode/DerivedData
[04:39:09]: Successfully cleared Derived Data ♻️
[04:39:09]: -----------------------------------
[04:39:09]: --- Step: clean_build_artifacts ---
[04:39:09]: -----------------------------------
[04:39:09]: Cleaned up build artifacts 🐙
[04:39:09]: Using options: {:schemeForTests=>"All tests", :configurationForTests=>"Debug"}
[04:39:09]: ------------------
[04:39:09]: --- Step: scan ---
[04:39:09]: ------------------
[04:39:09]: xcodebuild -list -workspace ./Jodel.xcworkspace
Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
lane :run_unit_tests do |options|
clear_derived_data
clean_build_artifacts
###################################
# Default parameters
###################################
options = {
schemeForTests: "All tests",
configurationForTests: "Debug"
}.merge(options)
puts "Using options: #{options.inspect}"
###################################
# Run tests
###################################
jdl_run_tests(options[:schemeForTests], options[:configurationForTests])
end
def jdl_run_tests(scheme, configuration)
# scan(scheme: scheme, clean: true, device: "iPhone 6s", configuration: configuration, verbose: true)
scan(scheme: scheme, configuration: configuration, verbose: true)
end
Environment
https://github.com/bitrise-io/bitrise.io/blob/master/system_reports/osx-xcode-7.3.log
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 25 (3 by maintainers)
@mfurtak looks like so far everything works for us. I guess you can close this issue for now and if anything happens again we can reopen it, but I don’t think it should stick around 😉
We haven’t yet updated
gymandscanto depend on this new version offastlane_coredirectly, so it’s possible it won’t be pulled in yet. If that’s the case, please hang on until we get other confirmation and do releases forgymandscan🚀@cojoj Any chance you can check out the new update for fastlane?
sudo gem update fastlaneThanks!
I’m having the same issue, although it’s stuck when I try to run
fastlane init.Running
xcodebuild -list -workspace ./ExampleApp.xcworkspacefrom the command line works just fine, spitting out the all of the scheme names.