Instruments crashed on startup - Appium ios real device

前端 未结 2 1649
不思量自难忘°
不思量自难忘° 2021-01-27 11:06

I am doing iOS automation on real device. But i got stuck with the error \"Failed to start an Appium session, err was: Error: Instruments crashed on startup\". logs are below.

相关标签:
2条回答
  • 2021-01-27 11:21

    Few things to keep in mind while running in real device: 1)No simulator should be opened. 2)Make sure the .app file which you are using is build for real device(take the help of developer to find it out) 3)Pass correct udid and bundle id. 4)If you are getting error like app installed failed or something like that then try to do pass app path from appium gui and other parameters from your code i.e. device name , platform capabilities; trying these different combinations do help sometimes.

    0 讨论(0)
  • 2021-01-27 11:36

    The problem was that I did not have the appium instruments node package installed. Once I installed it the crash went away. Check that you have the appium-instruments node package installed:

        npm install appium-instruments
    
    0 讨论(0)
提交回复
热议问题