Scenario
I got Selenium server running on windows machine
Appium on mac mini with iPhone 6 Plus connected to it
Also installed SafariLauncher on device and everything seems setup with Xcode
Automation tests enabled on device
Can connect with Appium to node so connection seems fine
When i run the tests i get this errors on appium, any help?
These are the logs i get
Appium] Appium REST http interface listener started on 10.14.0.164:4723
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.2","revision":null}}
[HTTP] <-- GET /wd/hub/status 200 18 ms - 83
[debug] [Appium] Appium successfully registered with the grid on 10.14.0.141:4444
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.2","revision":null}}
[HTTP] <-- GET /wd/hub/status 200 13 ms - 83
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.2","revision":null}}
[HTTP] <-- GET /wd/hub/status 200 8 ms - 83
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browser":"Safari","name":"Behat feature suite","browserName":"Safari","ignoreZoomSetting":false,"platformName":"iOS","deviceName":"dsgiPhone","version":"latest","platform":"iOS","tags":["BRNOLPT-DEV28","PHP 5.6.15"]}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"browser":"Safari","name":"Behat feature suite","browserName":"Safari","ignoreZoomSetting":false,"platformName":"iOS","deviceName":"dsgiPhone","v...
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] browser: 'Safari'
[Appium] name: 'Behat feature suite'
[Appium] browserName: 'Safari'
[Appium] ignoreZoomSetting: false
[Appium] platformName: 'iOS'
[Appium] deviceName: 'dsgiPhone'
[Appium] version: 'latest'
[Appium] platform: 'iOS'
[Appium] tags: [ 'BRNOLPT-DEV28', 'PHP 5.6.15' ]
[Appium] platformVersion: '9.3'
[Appium] udid: 'b388ca681aec75ba40c2520949ca1df59a44334b'
[Appium] showIOSLog: true
[BaseDriver] The following capabilities were provided, but are not recognized by appium: browser, name, ignoreZoomSetting, version, platform, tags.
[BaseDriver] Session created with session id: 92e9e06e-d7aa-44f7-a907-afb6d6c37376
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Creating iDevice object with udid b388ca681aec75ba40c2520949ca1df59a44334b
[debug] [iOS] Checking for presence of SafariLauncher at '/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app'
[debug] [iOS] SafariLauncher does not exist
[debug] [iOS] SafariLauncher not found, building...
[iOS] Cleaning SafariLauncher
[debug] [iOS] Cleaning SafariLauncher for iphoneos9.3
[iOS] Finished cleaning SafariLauncher
[iOS] Updating config for Safari Launcher
[iOS] Building SafariLauncher
[debug] [iOS] Building SafariLauncher for iphoneos9.3
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[iOS] Error: Command 'xcodebuild -sdk iphoneos9.3 -xcconfig /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65
at ChildProcess. (lib/teen_process.js:65:19)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess.handle.onexit (internal/childprocess.js:215:5)
{ [Error: Command 'xcodebuild -sdk iphoneos9.3 -xcconfig /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65]
stdout: 'Build settings from command line:\n SDKROOT = iphoneos9.3\n\nBuild settings from configuration file \'/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig\':\n BUNDLE_ID = com.bytearc.SafariLauncher\n IDENTITY_CODE = \n IDENTITY_NAME = iPhone Developer\n\n=== BUILD TARGET SafariLauncher OF PROJECT SafariLauncher WITH THE DEFAULT CONFIGURATION (Release) ===\n\nCheck dependencies\nCode Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “com.bytearc.SafariLauncher” were found.\n\n',
stderr: '** BUILD FAILED **\n\n\nThe following build commands failed:\n\tCheck dependencies\n(1 failure)\n',
code: 65 }
[iOS] Error: Command 'xcodebuild -sdk iphoneos9.3 -xcconfig /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65
at ChildProcess. (lib/teen_process.js:65:19)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess.handle.onexit (internal/childprocess.js:215:5)
{ [Error: Command 'xcodebuild -sdk iphoneos9.3 -xcconfig /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65]
stdout: 'Build settings from command line:\n SDKROOT = iphoneos9.3\n\nBuild settings from configuration file \'/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig\':\n BUNDLE_ID = com.bytearc.SafariLauncher\n IDENTITY_CODE = \n IDENTITY_NAME = iPhone Developer\n\n=== BUILD TARGET SafariLauncher OF PROJECT SafariLauncher WITH THE DEFAULT CONFIGURATION (Release) ===\n\nCheck dependencies\nCode Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “com.bytearc.SafariLauncher” were found.\n\n',
stderr: '** BUILD FAILED **\n\n\nThe following build commands failed:\n\tCheck dependencies\n(1 failure)\n',
code: 65 }
[iOS] Bad app: '/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app'. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.
[MJSONWP] Encountered internal error running command: Error: Bad app: /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.
at IosDriver.configureApp$ (lib/driver.js:250:13)
at tryCatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at combinedTickCallback (internal/process/nexttick.js:67:7)
at process.tickCallback (internal/process/nexttick.js:98:9)
[HTTP] <-- POST /wd/hub/session 500 3416 ms - 410
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.2","revision":null}}
[HTTP] <-- GET /wd/hub/status 200 843 ms - 83
any help please...fighting with this for days
these lines concern me the most
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Creating iDevice object with udid b388ca681aec75ba40c2520949ca1df59a44334b
[debug] [iOS] Checking for presence of SafariLauncher at '/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app'
if the device is connected why trying to launch the SafariLaucher.app from my mac mini????thanks
thanks
I'm experiencing the exact same issue as pintod02 above is experiencing. Since the update to Appium 1.5.2(which ironically, states in the bugfixes that it fixes this exact issue), it seems Appium is trying to reinstall SafariLauncher, rather than use the one already installed.
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"SafariLauncher","platformVersion":"9.3.2","browserName":"Safari","platformName":"iOS","udid":"341028a6bdab23e3b255d85e2303195f861b2073","deviceName":"iPhone"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"SafariLauncher","platformVersion":"9.3.2","browserName":"Safari","platformName":"iOS","udid":"341028a6bdab23e3b255d85e2303195f861b2073","d...
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] app: 'SafariLauncher'
[Appium] platformVersion: '9.3.2'
[Appium] browserName: 'Safari'
[Appium] platformName: 'iOS'
[Appium] udid: '341028a6bdab23e3b255d85e2303195f861b2073'
[Appium] deviceName: 'iPhone'
[BaseDriver] Session created with session id: d0278bc9-9f01-4b2b-8bd5-48c6af6fb1cb
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Creating iDevice object with udid 341028a6bdab23e3b255d85e2303195f861b2073
[debug] [iOS] Checking for presence of SafariLauncher at '/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app'
[debug] [iOS] SafariLauncher does not exist
[debug] [iOS] SafariLauncher not found, building...
[iOS] Cleaning SafariLauncher
[debug] [iOS] Cleaning SafariLauncher for iphoneos9.3
[iOS] Finished cleaning SafariLauncher
[iOS] Updating config for Safari Launcher
[iOS] Building SafariLauncher
[debug] [iOS] Building SafariLauncher for iphoneos9.3
[iOS] Error: Command 'xcodebuild -sdk iphoneos9.3 -xcconfig /usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65
at ChildProcess. (lib/teen_process.js:65:19)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
{ Error: Command 'xcodebuild -sdk iphoneos9.3 -xcconfig /usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65
at ChildProcess. (lib/teen_process.js:65:19)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
stdout: 'Build settings from command line:\n SDKROOT = iphoneos9.3\n\nBuild settings[HTTP] <-- POST /wd/hub/session 500 2932 ms - 381
from configuration file \'/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig\':\n BUNDLE_ID = com.bytearc.SafariLauncher\n IDENTITY_CODE = \n IDENTITY_NAME = iPhone Developer\n\n=== BUILD TARGET SafariLauncher OF PROJECT SafariLauncher WITH THE DEFAULT CONFIGURATION (Release) ===\n\nCheck dependencies\nCode Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “com.bytearc.SafariLauncher” were found.\n\n',
stderr: '** BUILD FAILED **\n\n\nThe following build commands failed:\n\tCheck dependencies\n(1 failure)\n',
code: 65 }
[iOS] Error: Command 'xcodebuild -sdk iphoneos9.3 -xcconfig /usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65
at ChildProcess. (lib/teen_process.js:65:19)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
{ Error: Command 'xcodebuild -sdk iphoneos9.3 -xcconfig /usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65
at ChildProcess. (lib/teen_process.js:65:19)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
stdout: 'Build settings from command line:\n SDKROOT = iphoneos9.3\n\nBuild settings from configuration file \'/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig\':\n BUNDLE_ID = com.bytearc.SafariLauncher\n IDENTITY_CODE = \n IDENTITY_NAME = iPhone Developer\n\n=== BUILD TARGET SafariLauncher OF PROJECT SafariLauncher WITH THE DEFAULT CONFIGURATION (Release) ===\n\nCheck dependencies\nCode Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “com.bytearc.SafariLauncher” were found.\n\n',
stderr: '** BUILD FAILED **\n\n\nThe following build commands failed:\n\tCheck dependencies\n(1 failure)\n',
code: 65 }
[iOS] Bad app: '/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app'. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.
[MJSONWP] Encountered internal error running command: Error: Bad app: /usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.
at IosDriver.configureApp$ (lib/driver.js:250:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at process._tickCallback (internal/process/next_tick.js:103:7)
Hi All,
We have to perform automation on iOS real device. We have performed all the steps mentioned at the top but while running our test case, we are getting bad app error for safari launcher. It says safari launcher app is not present under appium.
How do we get that. We just installed appium and run the code.
We hit with the same error code 65 .. Please help
[BaseDriver] The following capabilities were provided, but are not recognized by appium: version, platform.
[BaseDriver] Session created with session id: 148d4958-689c-4a0a-801b-d3c1e89d42b5
[debug] [iOS] Not auto-detecting udid.
[debug] [iOS] Creating iDevice object with udid 824e504af3797828af9f9d88583c831af65df1a1
[debug] [iOS] Checking for presence of SafariLauncher at '/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app'
[debug] [iOS] SafariLauncher does not exist
[debug] [iOS] SafariLauncher not found, building...
[iOS] Cleaning SafariLauncher
[debug] [iOS] Cleaning SafariLauncher for iphoneos9.0
[iOS] Finished cleaning SafariLauncher
[iOS] Updating config for Safari Launcher
[iOS] Building SafariLauncher
[debug] [iOS] Building SafariLauncher for iphoneos9.0
[iOS] Error: Command 'xcodebuild -sdk iphoneos9.0 -xcconfig /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65
at ChildProcess. (lib/teen_process.js:65:19)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess.handle.onexit (internal/childprocess.js:215:5)
{ [Error: Command 'xcodebuild -sdk iphoneos9.0 -xcconfig /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65]
stdout: 'Build settings from command line:\n SDKROOT = iphoneos9.0\n\nBuild settings from configuration file \'/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig\':\n BUNDLE_ID = com.bytearc.SafariLauncher\n IDENTITY_CODE = \n IDENTITY_NAME = iPhone Developer\n\n=== BUILD TARGET SafariLauncher OF PROJECT SafariLauncher WITH THE DEFAULT CONFIGURATION (Release) ===\n\nCheck dependencies\nCode Sign error: No matching provisioning profiles found: No provisioning profiles matching an applicable signing identity were found.\n\n',
stderr: '** BUILD FAILED **\n\n\nThe following build commands failed:\n\tCheck dependencies\n(1 failure)\n',
code: 65 }
[iOS] Error: Command 'xcodebuild -sdk iphoneos9.0 -xcconfig /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65
at ChildProcess. (lib/teen_process.js:65:19)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess.handle.onexit (internal/childprocess.js:215:5)
{ [Error: Command 'xcodebuild -sdk iphoneos9.0 -xcconfig /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig' exited with code 65]
stdout: 'Build settings from command line:\n SDKROOT = iphoneos9.0\n\nBuild settings from configuration file \'/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/safari-launcher/build.xcconfig\':\n BUNDLE_ID = com.bytearc.SafariLauncher\n IDENTITY_CODE = \n IDENTITY_NAME = iPhone Developer\n\n=== BUILD TARGET SafariLauncher OF PROJECT SafariLauncher WITH THE DEFAULT CONFIGURATION (Release) ===\n\nCheck dependencies\nCode Sign error: No matching provisioning profiles found: No provisioning profiles matching an applicable signing identity were found.\n\n',
stderr: '** BUILD FAILED **\n\n\nThe following build commands failed:\n\tCheck dependencies\n(1 failure)\n',
code: 65 }
For anyone who is facing the issue as @yukonpd, @Hung_Pham mentioned. The safari launcher was able to launch safari browser but navigate url did not work.
I could resolve using autowebview capability. Here is what i do from java. Hopefully this will help.
capabilities.setCapability(MobileCapabilityType.UDID ,"*************");
capabilities.setCapability(MobileCapabilityType.APP, System.getProperty("user.dir")+"/src/test/java/Library/SafariLauncher.app");
capabilities.setCapability(MobileCapabilityType.AUTO_WEBVIEW, "TRUE");
Hey @Rajlaxmi_Parida,
You should open the SafariLauncher.app in Xcode as a iOS application project after you download it from github (https://github.com/budhash/SafariLauncher).
Then you need to connect your iOS device to your computer and select as target device from Xcode.
Build the SafariLauncher.app on the target device from Xcode.
Hello All,
How to kill all the opened safari windows before launching safari browser on iPhad devices using appium. The problem i am getting is ,Safari browser is launching with SafariLauncher ,I am not able close all the remaining opened browsers and launching browser with default google page even I have changed in root.plist file default url .
I am unable delete cookie and kill safari browser in between suite of test execution.
Environment:
Xcode:7.1
iPad Air: 8.3
Appium 1.6.3
Please help me out resolving this issue.
Thanks in advance.
Regards,
Prasad
Hi,
Can you provide your configurations for iOS Native app testing. Version of iOS, xcode, appium, iPhone etc.
I am unable to inspect elements through appium inspector , also I am getting error:
“XCUITest element name=“Ax error2505” for all elements”.
There is one more error on launching webdriveragent:
“xcodebuild failed with code 65”
Thank you
Hi, how to run my script from windows pc to iOS real device. I have no MAC os system, So I need in helping setting up appium for iOS real device and windows 10. Is it possible to run my script from on real iOS device with windows 10 using appium robot framework script.
Please help me to rectify this issue, whether it is possible or how I can do the setup.
Hi @AmarnathRayudu i am unable to execute test on real device.
I am using teamID and orgid in capability but getting exception.
Logs–
[XCUITest] The capabilities ‘autoAcceptAlerts’ and ‘autoDismissAlerts’ do not work for XCUITest-based tests. Please adjust your alert handling accordingly.
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 65”. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
Error: Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 65”. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[MJSONWP] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 65”. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at XCUITestDriver.quitAndUninstall$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
I am getting exception . Please help to resolve. I am using .ipa file.