Closed Akulavenkatesh closed 7 years ago
Try mkdir /tmp/test-simulators
first.
Also you're passing /test-simulators
- which your user most likely cannot write.
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’
Thanks @plu @ollieatkinson and sorry for the late reply - I was traveling. I will try the above and reply back asap
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)
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
I run my appium test cases with simulators. In this case can you please let me know how to integrate pxctest with appium
I never used Appium, so I can't help here, sorry!
Thanks @plu @ollieatkinson :) . I'll try to figure that out, closing this.
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 apath
.My folder structure: Desktop > Github > pxctest > tmp > test-simulators