Instruments crashed on startup - Appium ios real device

前端 未结 2 1655
不思量自难忘°
不思量自难忘° 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.

提交回复
热议问题