To run our automation suite on iOS real devices, following needs to be installed in our mac.


For iOS real device execution, please follow the below steps:

Step 1:
Open Terminal and type ruby -e "$(curl -fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install)" and click enter

Step 2:
After running the above ruby URL, follow the instructions like clicking press enter to continue.

Step 3:
Next type brew install node and click enter

Step 4:
  • Homebrew downloads some files and installs them and that its.
  • To see node is installed successfully, please type node -v and click enter than user can see the version of the node.
Step 5:
  • Type npm install -g appium and click enter, it will take some time to download all the appium related installations
Step 6:
      Type brew install ideviceinstaller and click enter, it will install library related to ideviceinstaller

Step 8:
      Type brew install ios-webkit-debug-proxy and click enter

Step 7:
    At last type appium and click enter. Appium server will start successfully.

    Finally before running your scripts, please set IPhone UDID, IPhone device type in DesiredCapabilites code itself.

    Example:
    DesiredCapabilities capblities=new DesiredCapabilities();
    capblities.setCapability("deviceName", “IPhone 6");

    capblities.setCapability("udid", “bfadab6fd5374329b941f76c63542");


    Hope this helps you guys :)
Categories: