Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All simctl commands are performed through Simctl instance #507

Merged

Conversation

jmoody
Copy link
Contributor

@jmoody jmoody commented Aug 3, 2016

Motivation

Resolves:

  • calls to simctl need to guard against wrong CoreSimulator service loaded JIRA

Progress on:

This also brings us one step closer to being able to see if fbsimctl can be a replacement for simctl.

Test

Joshua, I am particularly interested to see these two integration examples pass on your machine:

$ git fetch
$ git co -to origin/feature/add-guard-for-incompatible-CoreSimulator-service
$ bundle update

$ be rspec spec/integration/simctl_spec.rb
$ be rspec spec/integration/core_simulator_spec.rb

@jmoody jmoody added this to the 2.1.7 milestone Aug 3, 2016
@jescriba
Copy link
Contributor

jescriba commented Aug 4, 2016

@jmoody Looks good and the tests passed (locally) after one minor adjustment. Feel free to merge after you review the spec change.

It is possible for the simulator state to change between the first check and the
actual simctl shutdown call.  We now handle this case.
The method had an unguarded call to simctl
@jmoody
Copy link
Contributor Author

jmoody commented Aug 4, 2016

Thanks @jescriba

@jmoody jmoody merged commit 2446af2 into develop Aug 4, 2016
@jmoody jmoody deleted the feature/add-guard-for-incompatible-CoreSimulator-service branch August 4, 2016 12:19
@jmoody jmoody mentioned this pull request Aug 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants