I am first time using Appium and i am trying to open an internal ioS app using Appium for automation purpose. When tried to launch through appium, i got the below error.
I was able to overcome the above issue. But ran into other issue now.
I am trying to open the app using simulator. After i click on “Launch”, it fails to open it and says “Error: Instruments crashed on startup”
Attached the complete log details.
I can understand that i am missing some simulator related files on that given path(“warn” message). I checked by going in there,i can see folders only till “data”. Inside “data”, the “Containers” folder is missing. but i am not sure how to fix it .
For the question “Have you run this simulator before?” - Yes, using the terminal and below comments i was able to open the simulator and install the app on it.
Commands used on Terminal to open simulator:
xcrun instruments -w “?”
xcrun instruments -w “iPhone 6 (9.0) [CF257348-4C5B-4C9D-804B-D044F5FE6EBA]”
xcrun simctl install booted ~/Desktop/test
SHIFT COMMAND H
This installed the app and i was able to open it on simulator.
It will be great help if you can help me fixing it.