Skip to content
This repository has been archived by the owner on Jan 17, 2019. It is now read-only.

/tmp/test-simulators is not a path #27

Closed
Akulavenkatesh opened this issue Mar 12, 2017 · 9 comments
Closed

/tmp/test-simulators is not a path #27

Akulavenkatesh opened this issue Mar 12, 2017 · 9 comments

Comments

@Akulavenkatesh
Copy link

When I try to run this command in my terminal:
pxctest boot-simulators --deviceset /tmp/test-simulators --destination 'name=iPhone 6’ --destination 'name=iPhone 7’

Its says /tmp/test-simulators is not a path.

My folder structure: Desktop > Github > pxctest > tmp > test-simulators

screen shot 2017-03-11 at 9 32 21 pm

@plu
Copy link
Owner

plu commented Mar 12, 2017

Try mkdir /tmp/test-simulators first.

@plu
Copy link
Owner

plu commented Mar 12, 2017

Also you're passing /test-simulators - which your user most likely cannot write.

@ollieatkinson
Copy link
Contributor

If your folder structure is My folder structure: Desktop > Github > pxctest > tmp > test-simulators and you are running the tool in the tmp directory as your screenshot suggests then you can also omit the first / or replace it with ./ to suggest its a path from the current directory.

pxctest boot-simulators --deviceset ./test-simulators --destination 'name=iPhone 6’ --destination 'name=iPhone 7’

@Akulavenkatesh
Copy link
Author

Thanks @plu @ollieatkinson and sorry for the late reply - I was traveling. I will try the above and reply back asap

@Akulavenkatesh
Copy link
Author

I ran the command as mentioned by @ollieatkinson and the error went off.
pxctest boot-simulators --deviceset ./test-simulators --destination 'name=iPhone 6,os=iOS 10.2'

In the 'test-simulators' folder I see a folder 'D94D4D45-986C-48F9-AC36-B859F3119213' getting created but the simulators never booted up (attached ss for your reference)

screen shot 2017-03-14 at 6 36 04 pm

@plu
Copy link
Owner

plu commented Mar 15, 2017

They boot in the background, you will not see any window - that's the whole idea of boot-simulators :). However you can list them, try this command: xcrun simctl --set $PWD/test-simulators list

@Akulavenkatesh
Copy link
Author

I run my appium test cases with simulators. In this case can you please let me know how to integrate pxctest with appium

@plu
Copy link
Owner

plu commented Mar 15, 2017

I never used Appium, so I can't help here, sorry!

@Akulavenkatesh
Copy link
Author

Thanks @plu @ollieatkinson :) . I'll try to figure that out, closing this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants