1

I'm trying to integrate and run sample automation test using Appium.

Followed all the mentioned steps to install and setup environment from http://latestsoftwaretestingnews.com/mobiletesting/appium-ios-testing-with-node-js-step-by-step-guide/

From Appium Desktop v 1.13.0 (1.13.0.20190505.5), on start session always getting an error. Please refer screenshot:

enter image description here

Appreciate your help! Thanks

Harshal Wani
  • 2,249
  • 2
  • 26
  • 41
  • Pretty sure your problem is the deviceName capability. Can you check your device name is EXACTLY iphone Xs? I think the problem may be that the P should be on caps. – rcarba Jun 18 '19 at 07:07
  • Double checked, I've created a new device with name "iphone Xs" – Harshal Wani Jun 18 '19 at 07:11
  • OK. The other idea I have is that I think an .ipa file can not be installed on a simulator and you should use a .app file. – rcarba Jun 18 '19 at 07:15
  • also tried with .app file but wont work – Harshal Wani Jun 18 '19 at 07:29
  • if the parameter's above are being mapped to the xcrun simctl create command, then the device types should be one listed by the command : xcrun simctl list devicetypes – durgasunil Jun 21 '19 at 18:35

2 Answers2

0

.ipa files can not be used with simulators, you have to use a .app file instead.

-1

@Harshal Wani - First just try to deploy the ipa to that simulator by command line, also try launching the simulator and deploy the app via Xcode..

Rudra
  • 1
  • 2