RV_Dev
RV_Dev

Reputation: 435

Can we create .ipa file using appium on windows machine?

I will be working with appium using mac machines for an iOS app later but meanwhile I wanted to use appium on my windows machine for the same iOS app and later push the code in the mac. So is it possible to work that way or if we are building an iOS app we have to work on MAC? I would appreciate if someone can guide me on this as I am very new to using appium and would love to learn it.

Thanks in advance, RV

Upvotes: 0

Views: 636

Answers (2)

Frederik Carlier
Frederik Carlier

Reputation: 4786

There are 3rd party vendors which provide tools which allow you to run Appium-like tests on real iOS devices on Windows.

For example, you have http://quamotion.mobi and http://experitest.com which both allow you to use the Selenium/WebDriver protocol to test real iOS applications on real devices on Windows, Linux and macOS.

PS: I work for Quamotion, one of the companies that provides such software.

Upvotes: 0

Smriti
Smriti

Reputation: 1592

To run automation scripts for any iOS app, you definitely need a Mac machine. It can't be done on Windows.

Xcode needs to be present for Appium to work. Appium's command life-cycle, works as :

  • Selenium webdriver picks a command form the code like (Element.click) and sends it in form of JSON via http request to the Appium server.
  • Appium server knows the automation context like the iOS and Android and sends this command to the Instruments command server which will wait for the Instruments command client (written in node.js) to pick it up and execute it in bootstrap.js with in the iOS instruments environment.
  • Once the command is executed the command client sends back the message to the Appium server which logs everything related to the command in its console. This cycle keeps going till the time all the commands gets executed.

Apple’s instruments binary, which Appium uses to launch the iOS simulator, by default uses the currently-selected Xcode, and the highest iOS SDK installed with that version of Xcode.

Reference for iOS Appium [Mac] : You can refer my blog post here to refer to run scripts on simulator/real device for iOS.

Upvotes: 1

Related Questions