This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
17 / 35
Jul 2017

In appium site , it is mentioned wi-fi is not supported for iOS

I will really grateful if you help me on this. Its really urgent

I connected my iPhone 4(7.1.2) to my Windows which is having latest iTunes.

But after configuring the setting, soon after i disconnect the USB, the device is disappearing in iTunes and unable to Sync.

Though i know iOS with Windows is not supported by Appium, but it should be able to Sync my iPhone with iTunes over Wifi.

Does the specified setting only apply for MAC machine?

I need this urgently . Please need you help to know how to configure iOS device over wifi
I tried with iTune but it was not lunching the Application.
@Georgina_Gonzalez

It might be possible with Xcode 9 to debug via WiFi.
It's not possible to debug with released Xcode version without USB connection.
What is the reason for such request @Jitu1888?

Hi Ochubey,

Thanks for replying. Basically in my project we need to connect a lightning USB (Storage device) for the application to start(Application will launch without the device also but i cant use any features without connecting it). So USB port we cant use for Appium. For that reason i want a wi-fi solution for it.@ochubey

Can i use this above connector for APPIUM . Its a 2 lightning cable connector.

Thanks
Jitu

Let's hope Appium would be able to support WiFi debugging too.
But for now - have you considered to use a splitter like this one:
2

Yes if it is possible. But i need a splitter which
support charge + Sync. I tried but sync was not happening.@ochubey

21 days later
1 month later

Hey Jitu1888,

So now are you able to run iOS devices through wifi connectivity??
Please confirm, as i am also looking for the same requirement.

Yes i am able to automate over wi-fi using xcode 9 and ios 11 .
And for iOS 10 i will trying.

Can you pls share the setting to automate over wi-fi using xcode 9 and ios 11

Sorry for late reply.I was on leave for 2 weeks.

  1.       First install brew on the system
    
  2.       Then install node using brew 
    

a. Run ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install1)” on the terminal
b. Ideviceinstaller: brew install ideviceinstaller
c. Carthage: brew install carthage
d. Ios-Deploy: npm install -g ios-deploy
e. Deviceconsole :npm install -g deviceconsole

Configuration of WebDriverAgent:
a. The appium-xcuitest-driver has provisional support for iOS real devices. Not all functionality is currently supported.WebDriverAgent needs to be built with development team and provisioning profile installed on device. The easiest way to do this is to specify them in an xcconfig file, the path to which is passed in to the system using the xcodeConfigFile desired capability
DEVELOPMENT_TEAM =
CODE_SIGN_IDENTITY = iPhone Developer

The Team ID is a unique 10-character string generated by Apple that is assigned to your team. You can find your Team ID using your developer account (Sign in to developer.apple.com/account1, and click Membership in the sidebar. Your Team ID appears in the Membership Information section under the team name.).
b. Alternatively, the profile can be manually associated with the project (keep in mind that this will have to be done each time the WebDriverAgent is updated):
Open terminal go to node_modules/appium-xcuitest-driver/WebDriverAgent (this path is relative to your appium installation).
mkdir -p Resources/WebDriverAgent.bundle
sh ./Scripts/bootstrap.sh –d

Open WebDriverAgent.xcodeproj in Xcode. Select your development team for both the WebDriverAgentLib and WebDriverAgentRunner targets. This should also auto select Signing Ceritificate.

Note:

  1. Please don’t use the WDA which comes with Appium that will not work.
  2. I will share the WDA file.
  3. PLease connect idevice and Xcode over wi-fi.
  1. Error Code 208 : Proxy Server is in hang state.
    a. Please kill the proxy server . Mention below the command to kill proxy server
    b. Run ps -ax|grep -i “iproxy”|grep -v grep|awk ‘{print "kill -9 " $1}’|sh on terminal
  2. Error Code 253: Please check iPhone is connected properly with Xcode over wi-fi.
    a. Open XcodeWindowDevices and Simulator
    b. Device name should present under connected list along with network icon and all applications of iPhone should display under INSTALLED APPS.
    c. If network icon is not present then re-connect the device again.
  3. Error Code 65 : Profile Signing issue
    a. Open WDA project on Xcode.
    b. Please sign WebDriverAgentRunner and WebDriverAgentlib with sandisk team id.
    c. If Xcode throws an error on signing WDA , then please change the Product Bundle Identifier which is present under Build settings of WebDriverAgentRunner to com.facebook.WebDriverAgentAppiumTest.
  4. Trust pop up after installing the App:
    a. Please add the actual developer profile of iXpand Base on the device before running the script.