Comments (16)
@yakimant mostly likely you have a slow machine. are your running on a CI box or manually from command line ?
@KrauseFx in xctest
that was tackled by retrying the execution of tests if such a message would appear.
from scan.
It was on my laptop. I cant increase timeout to be sure.
But even can't see the simulator window opening.
Also - We had such case on CI with plain xcodebuild and fixed it with simulator running
We also have some projects not failing with this issue. It must be some xcodebuild error.
from scan.
@yakimant have you checked the xcodebuild log ? ~/Library/Logs/scan
from scan.
Hmm, it suddenly disappeared. Will play around and post here the updates.
from scan.
Ok, I'm getting this issue even with -destination-timeout 500
.
From log I can't see anything suspicious.
from scan.
-destination-timeout
is for real devices, it doesn't help when using simulators
from scan.
Anyway, it didn't help, so I'm starting the simulator manually as before:
Process.fork { system "xcrun instruments -t 'Blank' -l 1 -w '#{options[:device] } (#{options[:os]})'" }
And killing afterwards:
killall "Simulator"
from scan.
Should this be closed?
I can think of two ways of fix:
- add scan parameter to run/stop simulator explicitly
- add run/stop simulator actions
from scan.
I am seeing the same issue. Runs fine on my local machine but not on my CI server which is a reasonably powerful Mac Mini. It works sometimes but more often than not the build fails waiting on the simulator.
In my case the simulator is launched (possibly from a previous build), so it is at least launching the simulator.
from scan.
Runs fine on my CI server, when I run it myself, but fails when jenkins on the same machine tries to run scan as part of a lane. (getting the 120 second timeout error)
from scan.
+1. Good on local. Fails on CI running on a VM (Bitrise).
from scan.
Any update or workaround for this issue?
from scan.
My workaround is to test using xctool as opposed to scan.
from scan.
Anyone able to verify if this is fixed in 7.2.1:
Command line tool 'xcodebuild test' will no longer time out waiting for Simulator.app to launch
from scan.
I am still seeing the same issue on the CI server after upgrading to 7.2.1.
iPhoneSimulator: Timed out waiting 120 seconds for simulator to boot, current state is 1.
from scan.
This issue was migrated to fastlane/fastlane#1943. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo
from scan.
Related Issues (20)
- scan doesn't play well with XLTestLog HOT 2
- scan not building a framework target tests scheme HOT 2
- Exit status: 65 HOT 1
- Add link to action in fastlane HOT 4
- slack hook not work on "slack_url" and "slack_channel" HOT 2
- Returning the test result HOT 6
- Scan picks the wrong project name for Slack message HOT 4
- Integration with OCLint? HOT 6
- Reinstalling app before Tests are run via scan HOT 4
- `handle_results': Tests failed (RuntimeError) HOT 6
- Error 65 HOT 1
- Test marked with the `@available(iOS 9.0, *)` decorator are ran on a iOS 8 simulator HOT 5
- App screenshots of failed steps HOT 2
- undefined method `message' for nil:NilClass in 'handle_results' method HOT 7
- Is it possible to run individual test case/test class? HOT 3
- Connection interrupted, some tests skipped HOT 2
- Cannot run tests (iPhoneSimulator: Could not launch simulator: -600) HOT 2
- Scan hangs running test against target with missing linked files HOT 3
- Unable to find a destination matching the provided destination specifier HOT 3
- Segmentation fault: 11 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scan.