Sorry for late reply.I was on leave for 2 weeks.
First install brew on the system
Then install node using brew
a. Run ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” 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
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/account, 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.
- Please don’t use the WDA which comes with Appium that will not work.
- I will share the WDA file.
PLease connect idevice and Xcode over wi-fi.