-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Description
When running scan after installing Xcode 7.3, the test results always show 0 if the tests run successfully:
scan --workspace "Project.xcworkspace" --scheme "project" --device "iPhone 6s" --clean --verbose
+--------------------+-------+
| Test Results |
+--------------------+-------+
| Number of tests | 0 |
| Number of failures | 0 |
+--------------------+-------+
If I purposely break a test, the scan command will fail with code 65:
** TEST FAILED **
ERROR [2016-03-22 20:16:31.24]: Exit status: 65
Successfully submitted a crash report. If this is a problem with one of the tools specifically,
please submit an issue on GitHub and attach the following number to it: 'd42bc744e9cdd2c0ece054f74b3ec3e1'
The crash report has been stored locally '/tmp/sentry_d42bc744e9cdd2c0ece054f74b3ec3e1.json'
/Library/Ruby/Gems/2.0.0/gems/scan-0.5.2/lib/scan/error_handler.rb:32:in `handle_build_error': [!] Error building/testing the application - see the log above (RuntimeError)
from /Library/Ruby/Gems/2.0.0/gems/scan-0.5.2/lib/scan/runner.rb:31:in `block in test_app'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.39.0/lib/fastlane_core/command_executor.rb:85:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.39.0/lib/fastlane_core/command_executor.rb:85:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/scan-0.5.2/lib/scan/runner.rb:23:in `test_app'
from /Library/Ruby/Gems/2.0.0/gems/scan-0.5.2/lib/scan/runner.rb:9:in `run'
from /Library/Ruby/Gems/2.0.0/gems/scan-0.5.2/lib/scan/manager.rb:10:in `work'
from /Library/Ruby/Gems/2.0.0/gems/scan-0.5.2/lib/scan/commands_generator.rb:41:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.39.0/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/scan-0.5.2/lib/scan/commands_generator.rb:60:in `run'
from /Library/Ruby/Gems/2.0.0/gems/scan-0.5.2/lib/scan/commands_generator.rb:14:in `start'
from /Library/Ruby/Gems/2.0.0/gems/scan-0.5.2/bin/scan:6:in `<top (required)>'
from /usr/local/bin/scan:23:in `load'
from /usr/local/bin/scan:23:in `<main>'
fastlane 1.67.0
scan 0.5.2
Could it be that something broke with the new XCode or is this issue on my side?
Thanks,