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

Running Apple Watch app with ios-sim #165

Open
TiagoLira opened this issue May 22, 2015 · 6 comments
Open

Running Apple Watch app with ios-sim #165

TiagoLira opened this issue May 22, 2015 · 6 comments

Comments

@TiagoLira
Copy link

Sorry if I'm posting this in the wrong place...
I'm trying to run a WatchKit app using ios-sim, but I haven't managed to find how to do it. Is this supported? Are there any arguments that I can use for it?

@shazron
Copy link

shazron commented May 22, 2015

No it is not supported currently. We rely on getting the device list, and it is not listed as a device on the system (since it is considered an External Display).

Technically we could:

  1. inspect the .app for a watchkit extension
  2. after the simulator (must be at least 8.2 I think) is started, somehow launch the Apple Watch external display

Item 1 should be easy, not sure about item 2 yet.

@davidmarble
Copy link

https://github.com/appcelerator/ios-sim seems to have solved this. Might just want to check their code out. Not sure why they're not trying to contribute back to this active repo. Possibly a lot of refactoring.

@shazron
Copy link

shazron commented Jun 16, 2015

This will be solved in ios-sim 4.0. See issues in simctl https://github.com/phonegap/simctl/issues

@shazron
Copy link

shazron commented Jun 16, 2015

ios-sim 4.0 is under a branch of this repo, but doesn't have the watch pairing commands yet.

@mteper
Copy link

mteper commented Jun 16, 2015

Is there a reference to learn about these new iOS9 simctl commands?

@shazron
Copy link

shazron commented Jun 16, 2015

In your Terminal, type xcrun simctl
(xcode-select to select the appropriate Xcode.app if you want to use the new commands for the watch in Xcode 7)

@shazron shazron added this to the 4.2.0 milestone Jun 25, 2015
@shazron shazron modified the milestones: 5.0.3, 5.1.0 Oct 12, 2015
@shazron shazron modified the milestones: 5.2.0, 5.3.0 Jun 10, 2017
@shazron shazron removed this from the 6.1.0 milestone Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants