calabash / calabash-ios

Calabash for iOS
Other
1.81k stars 369 forks source link

Timed out: simulator not stable after 30 seconds #879

Closed xinsight closed 9 years ago

xinsight commented 9 years ago

I'm setting up calabash on an older (slow) mac mini running jenkins.

The code that detects if the simulator has launched (and settled) is throwing some errors:

DEBUG: Timed out: simulator not stable after 30 seconds
DEBUG: Took 30.385579 seconds to launch the simulator
EXEC: xcrun simctl install 54D83938-F0A9-414B-94E9-4ED0C70A4A2D /Users/Shared/Jenkins/Home/jobs/xxx/workspace/ios/xxx/build/xxx-cal.app
WARN: 
RunLoop::Directory.directory_digest raised an error:

execution expired

while trying to find the SHA of this file:

/Users/administrator/Library/Developer/CoreSimulator/Devices/54D83938-F0A9-414B-94E9-4ED0C70A4A2D/data/Containers/Data/PluginKitPlugin/24E86BB8-1617-4734-A4A7-3ED24EA0ECE9/.com.apple.mobile_container_manager.metadata.plist

Please report this here:

https://github.com/calabash/run_loop/issues

The file in the error message varies. For example:

/Users/administrator/Library/Developer/CoreSimulator/Devices/54D83938-F0A9-414B-94E9-4ED0C70A4A2D/data/Library/Spotlight/CoreSpotlight/NSFileProtectionCompleteUntilFirstUserAuthentication/index.spotlightV2/live.0.indexPostings
/Users/administrator/Library/Developer/CoreSimulator/Devices/54D83938-F0A9-414B-94E9-4ED0C70A4A2D/data/Library/Spotlight/CoreSpotlight/NSFileProtectionCompleteUntilFirstUserAuthentication/index.spotlightV2/indexState
/Users/administrator/Library/Developer/CoreSimulator/Devices/54D83938-F0A9-414B-94E9-4ED0C70A4A2D/data/Library/Caches/com.apple.UIStatusBar/images/1039020096324377700717042138908636756196
xinsight commented 9 years ago

Sorry, I guess this belongs in the run_loop repo. Reposted: https://github.com/calabash/run_loop/issues/307