Open Arav4prot opened 6 years ago
Attaching two more logs for further help appium-logs_AppiumDesktopinspector_session.txt appium-logs_Execution_via_Eclipse_IDE.txt
I am still facing the issue
I am also facing the same issue
I am also facing the same issue with the Appium Desktop 1.9.1 where the same IPhone device gives "xcodebuild failed with code 65" error while the same device works with Appium - 1.8.2@beta
I am also facing the same issue since the last Xcode Update. I have another Mac with Mac OS Mojave and an older version from Xcode where my devices running iOS 12.0 still work :-/
@imurchie maybe you can help us?
I solved my problem today by installing appium@latest (1.10.0). Then i just had to build WebDriverAgent.xcodeproj again and it worked ;-)
how did you build webdriveragent.Xcodeproj again? did you clone from the repo?
Any resolution on this ? I am facing the same issue
I found a workaround that resolves this. You need to rebuild webdriveragent
Steps
You need to go to WebDriverAgent path /Users/UserName/Development/xcode/WebDriverAgent-master
Type ./Scripts/bootstrap.sh
But if you get an error like below : "Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure:"
Type cd /Applications/Appium.app/Contents/Resources/app ; npm install
Check where is Carthage . It should be in /usr/local/bin/carthage
If not , just brew install carthage brew upgrade carthage
If Carthage still cannot work brew link --overwrite carthage
Try step 2 again. It should rebuild webdriveragent
You can try removing the WDA cache from xcode if it does not work
Hey @ivantay2003 can we use the same facebook WDA? https://github.com/facebook/WebDriverAgent
@sumeetpanjabi
I guess you can try it. I have tried using Facebook WDA and it fails for me.
Let me know how it works for you.
Yes, I tried using Facebook WDA, the build was failing. @imurchie can you help here?
@ivantay2003 I had to load the project again in Xcode and I was able to build successfully. Able to run the tests now :)
@sumeetpanjabi are you using Appium / iOS ? I am trying to load the wda on my real device iOS but fail.
Care to share are there additional steps that you took ?
I'm using Appium. I updated to Appium 1.10.0 and imported the WDA project again and build was successful. Now WDA is being installed in the iOS device and I'm able to run my tests.
Did anybody solved that? I'm with same error and in all internet don't have the conflict solved.
I am getting an error "Unable to launch WebDriverAgent because of xcode build failure: "Xcodebuild failed with code 65". And xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=
Any update for this fix?
Any Update on this. I see below error when trying to open calendar app in my device using appium:
Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message:
move to WebDriverAgent folder with cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent then follow this guide from point 1. -> https://support.tricentis.com/community/article.do?number=KB0013770 It solved the issue for me
Came across same kind of problem . Followed below steps to get rid of the issue rebuilding WeBDriverAgent >> Clone it directly from If the build environment is setup , run from the WebDriverAgent directory and have it build
Place the newly build WebDriverAgent folder to your corrupted WebDriverAgent folder most likely in And try running the test .
I came across another issue after this TypeError : Path must be a string .Received undefined
npm uninstall -g appium npm istall -g appium --no--shrinkwrap
solved this issue too .
Hope this helps :)
Hi Team,
I am getting an error "Unable to launch WebDriverAgent because of xcode build failure: "Xcodebuild failed with code 65".
I am pasting/attaching detailed log file for your reference appium-server-logs-09Nov403PM.txt
I am unable to move forward even after trying various suggestions. Please do the needful
[info] [Appium] Welcome to Appium v1.9.1 [info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"desiredCapabilities":{"app":"/Users/vikasvipul/Desktop/Avis Car Hire_v4.0.006_STAGE_0511.ipa","noReset":true,"setWebContentDebuggingEnabled":true,"showXcodeLog":"true","newCommandTimeout":0,"platformVersion":"12.0","automationName":"XCUITest","platformName":"iOS","udid":"9204c2fdce263ab9569a676d7e68d4e6904a7366","deviceName":"iPhone 7 Plus","autoAcceptAlerts":true},"capabilities":{"desiredCapabilities":{"app":"/Users/vikasvipul/Desktop/Avis Car Hire_v4.0.006_STAGE_0511.ipa","autoAcceptAlerts":true,"automationName":"XCUITest","deviceName":"iPhone 7 Plus","newCommandTimeout":0,"noReset":true,"platformName":"iOS","platformVersion":"12.0","setWebContentDebuggingEnabled":true,"showXcodeLog":"true","udid":"9204c2fdce263ab9569a676d7e68d4e6904a7366"},"firstMatch":[{"platformName":"ios"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/vikasvipul/Desktop/Avis Car Hire_v4.0.006_STAGE_0511.ipa","noReset":true,"setWebContentDebuggingEnabled":true,"showXcodeLog":"true","newCommandTimeout":0,"platformVersion":"12.0","automationName":"XCUITest","platformName":"iOS","udid":"9204c2fdce263ab9569a676d7e68d4e6904a7366","deviceName":"iPhone 7 Plus","autoAcceptAlerts":true},null,{"desiredCapabilities":{"app":"/Users/vikasvipul/Desktop/Avis Car Hire_v4.0.006_STAGE_0511.ipa","autoAcceptAlerts":true,"automationName":"XCUITest","deviceName":"iPhone 7 Plus","newCommandTimeout":0,"noReset":true,"platformName":"iOS","platformVersion":"12.0","setWebContentDebuggingEnabled":true,"showXcodeLog":"true","udid":"9204c2fdce263ab9569a676d7e68d4e6904a7366"},"firstMatch":[{"platformName":"ios"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1541759063737 (15:54:23 GMT+0530 (IST)) [info] [Appium] Could not parse W3C capabilities: 'deviceName' can't be blank [info] [Appium] Trying to fix W3C capabilities by merging them with JSONWP caps [warn] [BaseDriver] The capabilities ["app","noReset","setWebContentDebuggingEnabled","showXcodeLog","newCommandTimeout","platformVersion","automationName","udid","deviceName","autoAcceptAlerts"] are not standard capabilities and should have an extension prefix [info] [Appium] Creating new XCUITestDriver (v2.94.2) session [info] [Appium] Capabilities: [info] [Appium] app: /Users/vikasvipul/Desktop/Avis Car Hire_v4.0.006_STAGE_0511.ipa [info] [Appium] noReset: true [info] [Appium] setWebContentDebuggingEnabled: true [info] [Appium] showXcodeLog: true [info] [Appium] newCommandTimeout: 0 [info] [Appium] platformVersion: 12.0 [info] [Appium] automationName: XCUITest [info] [Appium] udid: 9204c2fdce263ab9569a676d7e68d4e6904a7366 [info] [Appium] deviceName: iPhone 7 Plus [info] [Appium] autoAcceptAlerts: true [info] [Appium] platformName: ios [debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:app... and MJSONWP desired capabilities {"app":"/Users/vikasvipul/D... were provided [debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:app... [warn] [BaseDriver] Boolean capability passed in as string. Functionality may be compromised. [warn] [BaseDriver] Capability 'showXcodeLog' changed from string to boolean. This may cause unexpected behavior [warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: setWebContentDebuggingEnabled. [info] [BaseDriver] Session created with session id: 47c2edca-78e8-4b64-9db9-595ccd226686 [debug] [XCUITest] Current user: 'vikasvipul' [debug] [XCUITest] Xcode version set to '10.0' (tools v10.0.0.0.1.1535735448) [debug] [XCUITest] iOS SDK Version set to '12.0' [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1541759063798 (15:54:23 GMT+0530 (IST))[debug] [XCUITest] Available devices: 9204c2fdce263ab9569a676d7e68d4e6904a7366 [debug] [XCUITest] Creating iDevice object with udid '9204c2fdce263ab9569a676d7e68d4e6904a7366' [info] [XCUITest] Determining device to run tests on: udid: '9204c2fdce263ab9569a676d7e68d4e6904a7366', real device: true [info] [BaseDriver] Using local app '/Users/vikasvipul/Desktop/Avis Car Hire_v4.0.006_STAGE_0511.ipa' [debug] [BaseDriver] Copying local zip to tmp dir [info] [BaseDriver] Unzipping local app '/var/folders/w6/qbbv2xsj11ldc85wdsxdbfvr0000gn/T/2018109-36261-1h1am2k.rcbe/appium-app.zip'... [debug] [BaseDriver] Unzipping /var/folders/w6/qbbv2xsj11ldc85wdsxdbfvr0000gn/T/2018109-36261-1h1am2k.rcbe/appium-app.zip [debug] [BaseDriver] Testing zip archive: /var/folders/w6/qbbv2xsj11ldc85wdsxdbfvr0000gn/T/2018109-36261-1h1am2k.rcbe/appium-app.zip[info] [BaseDriver] Unzipped local app to '/var/folders/w6/qbbv2xsj11ldc85wdsxdbfvr0000gn/T/2018109-36261-1h1am2k.rcbe/Payload/Avis Car Hire.app' [debug] [BaseDriver] Event 'appConfigured' logged at 1541759064753 (15:54:24 GMT+0530 (IST)) [debug] [XCUITest] Checking whether app '/var/folders/w6/qbbv2xsj11ldc85wdsxdbfvr0000gn/T/2018109-36261-1h1am2k.rcbe/Payload/Avis Car Hire.app' is actually present on file system [debug] [XCUITest] App is present [debug] [iOS] Getting bundle ID from app '/var/folders/w6/qbbv2xsj11ldc85wdsxdbfvr0000gn/T/2018109-36261-1h1am2k.rcbe/Payload/Avis Car Hire.app': 'com.avis.mobile' [debug] [BaseDriver] Event 'resetStarted' logged at 1541759064759 (15:54:24 GMT+0530 (IST)) [debug] [XCUITest] Reset: fullReset not set. Leaving as is [debug] [BaseDriver] Event 'resetComplete' logged at 1541759064759 (15:54:24 GMT+0530 (IST)) [debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog [debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'[warn] [XCUITest] Cannot get the name of the crashes folder for the device with udid '9204c2fdce263ab9569a676d7e68d4e6904a7366'. Original error: Command 'idevicename -u 9204c2fdce263ab9569a676d7e68d4e6904a7366' exited with code 255 [debug] [BaseDriver] Event 'logCaptureStarted' logged at 1541759065338 (15:54:25 GMT+0530 (IST)) [info] [XCUITest] Setting up real device [debug] [XCUITest] Verifying application platform[debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] App 'com.avis.mobile' is already installed. No need to reinstall. [debug] [BaseDriver] Event 'appInstalled' logged at 1541759065776 (15:54:25 GMT+0530 (IST)) [info] [XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' [info] [XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj' [debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body [debug] [XCUITest] WDA is not listening at 'http://localhost:8100/' [debug] [XCUITest] WDA is currently not running. There is nothing to cache [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1541759065828 (15:54:25 GMT+0530 (IST)) [info] [XCUITest] Launching WebDriverAgent on the device [debug] [XCUITest] Carthage found: '/usr/local/bin/carthage' [debug] [XCUITest] Killing running processes 'xcodebuild.*9204c2fdce263ab9569a676d7e68d4e6904a7366, iproxy 8100' for the device 9204c2fdce263ab9569a676d7e68d4e6904a7366...[debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1 [debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB for the device 9204c2fdce263ab9569a676d7e68d4e6904a7366[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=9204c2fdce263ab9569a676d7e68d4e6904a7366 IPHONEOS_DEPLOYMENT_TARGET=12.0' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' [debug] [XCUITest] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability[info] [Xcode] Build settings from command line: [info] [Xcode] IPHONEOS_DEPLOYMENT_TARGET = 12.0 [info] [Xcode] [info] [Xcode] [debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start [debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[info] [Xcode] note: Using new build system [info] [Xcode] [info] [Xcode] note: Planning build [info] [Xcode] [info] [Xcode] note: Using build description from disk [info] [Xcode] [info] [Xcode] Build system information [info] [Xcode] [info] [Xcode] error: Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor. (in target 'WebDriverAgentRunner') [info] [Xcode] [info] [Xcode] [info] [Xcode] TEST BUILD FAILED [info] [Xcode] [info] [Xcode] [debug] [XCUITest] Log file for xcodebuild test: /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-32-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-B05C02A2-D4BA-43FA-AF18-695DB4C383BD/WebDriverAgentRunner-7E2C1B37-2CB3-444D-B236-B1474152A5AE/Session-WebDriverAgentRunner-2018-11-09_155432-ufDNrV.log [info] [Xcode] 2018-11-09 15:54:32.136 xcodebuild[36745:2088244] IDETestOperationsObserverDebug: Writing diagnostic log for test session to: [info] [Xcode] /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-32-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-B05C02A2-D4BA-43FA-AF18-695DB4C383BD/WebDriverAgentRunner-7E2C1B37-2CB3-444D-B236-B1474152A5AE/Session-WebDriverAgentRunner-2018-11-09_155432-ufDNrV.log [info] [Xcode] [info] [Xcode] 2018-11-09 15:54:32.136 xcodebuild[36745:2088235] [MT] IDETestOperationsObserverDebug: (11B30E90-99B8-4996-AB06-12FCFFDEE0CD) Beginning test session WebDriverAgentRunner-11B30E90-99B8-4996-AB06-12FCFFDEE0CD at 2018-11-09 15:54:32.136 with Xcode 10A255 on target 📱<DVTiOSDevice (0x7faa1fe3b2f0), iPhone, iPhone, 12.0 (16A366), 9204c2fdce263ab9569a676d7e68d4e6904a7366> { [info] [Xcode] deviceSerialNumber: F17WR9TCJCM1 [info] [Xcode] identifier: 9204c2fdce263ab9569a676d7e68d4e6904a7366 [info] [Xcode] deviceClass: iPhone [info] [Xcode] deviceName: iPhone [info] [Xcode] deviceIdentifier: 9204c2fdce263ab9569a676d7e68d4e6904a7366 [info] [Xcode] productVersion: 12.0 [info] [Xcode] buildVersion: 16A366 [info] [Xcode] deviceSoftwareVersion: 12.0 (16A366) [info] [Xcode] deviceArchitecture: arm64 [info] [Xcode] deviceTotalCapacity: 59640713216 [info] [Xcode] deviceAvailableCapacity: 49523351552 [info] [Xcode] deviceIsTransient: NO [info] [Xcode] ignored: NO [info] [Xcode] deviceIsBusy: NO [info] [Xcode] deviceIsPaired: YES [info] [Xcode] deviceIsActivated: YES [info] [Xcode] deviceActivationState: Activated [info] [Xcode] isPasscodeLocked: NO [info] [Xcode] deviceType:
[info] [Xcode] supportedDeviceFamilies: (
[info] [Xcode] 1
[info] [Xcode] )
[info] [Xcode] applications: (null)
[info] [Xcode] provisioningProfiles: (null)
[info] [Xcode] hasInternalSupport: NO
[info] [Xcode] isSupportedOS: YES
[info] [Xcode] developerDiskMountError: (null)
[info] [Xcode] (null)
[info] [Xcode] bootArgs: (null)
[info] [Xcode] connected: yes
[info] [Xcode] isWirelessEnabled: no
[info] [Xcode] connectionType: direct
[info] [Xcode] hostname: (null)
[info] [Xcode] bonjourServiceName: 5c:1d:d9:b2:39:e9@fe80::5e1d:d9ff:feb2:39e9._apple-mobdev2._tcp.local.
[info] [Xcode] } (12.0 (16A366))
[info] [Xcode]
[info] [Xcode] 2018-11-09 15:54:32.147 xcodebuild[36745:2088377] DVTDevice: No architectures intersection between iPhone ({(
[info] [Xcode] arm64v8,
[info] [Xcode] arm64,
[info] [Xcode] armv8,
[info] [Xcode] armv7s,
[info] [Xcode] armv7,
[info] [Xcode] armv6,
[info] [Xcode] armv5e,
[info] [Xcode] armv5,
[info] [Xcode] arm
[info] [Xcode] )}) and <DVTFilePath:0x7faa27069c60:'/Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/WebDriverAgentRunner-Runner'> ((
[info] [Xcode] "x86_64",
[info] [Xcode] i386
[info] [Xcode] ))
[info] [Xcode]
[info] [Xcode]
[info] [Xcode]
[info] [Xcode] If you believe this error represents a bug, please attach the result bundle at /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-32-+0530.xcresult
[info] [Xcode]
[info] [Xcode]
[info] [Xcode] 2018-11-09 15:54:32.149 xcodebuild[36745:2088235] [MT] IDETestOperationsObserverDebug: 0.018 elapsed -- Testing started completed.
[info] [Xcode] 2018-11-09 15:54:32.149 xcodebuild[36745:2088235] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[info] [Xcode] 2018-11-09 15:54:32.149 xcodebuild[36745:2088235] [MT] IDETestOperationsObserverDebug: 0.018 sec, +0.018 sec -- end
[info] [Xcode]
[info] [Xcode] 2018-11-09 15:54:32.149 xcodebuild[36745:2088235] Error Domain=IDEFoundationErrorDomain Code=3 "iPhone cannot run WebDriverAgentRunner-Runner." UserInfo={NSLocalizedDescription=iPhone cannot run WebDriverAgentRunner-Runner., NSLocalizedRecoverySuggestion=WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute.}
[info] [Xcode] 2018-11-09 15:54:32.149 xcodebuild[36745:2088235] Error Domain=IDETestOperationsObserverErrorDomain Code=4 "WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute." UserInfo={NSLocalizedDescription=WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute., NSLocalizedRecoverySuggestion=If you believe this error represents a bug, please attach the result bundle at /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-32-+0530.xcresult}
[info] [Xcode]
[info] [Xcode]
[info] [Xcode] Testing failed:
[info] [Xcode] Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor. (in target 'WebDriverAgentRunner')
[info] [Xcode] WebDriverAgentRunner-Runner.app encountered an error (WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute.)
[info] [Xcode] TEST EXECUTE FAILED
[info] [Xcode]
[info] [Xcode]
[info] [Xcode] Testing started on 'iPhone'
[info] [Xcode]
[info] [XCUITest] xcodebuild exited with code '65' and signal 'null'
[info] [Xcode] Contents of xcodebuild log file '/Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-32-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-B05C02A2-D4BA-43FA-AF18-695DB4C383BD/WebDriverAgentRunner-7E2C1B37-2CB3-444D-B236-B1474152A5AE/Session-WebDriverAgentRunner-2018-11-09_155432-ufDNrV.log':
[info] [Xcode] 15:54:32.137 xcodebuild[36745:2088235] Beginning test session WebDriverAgentRunner-11B30E90-99B8-4996-AB06-12FCFFDEE0CD at 2018-11-09 15:54:32.136 with Xcode 10A255 on target 📱<DVTiOSDevice (0x7faa1fe3b2f0), iPhone, iPhone, 12.0 (16A366), 9204c2fdce263ab9569a676d7e68d4e6904a7366> {
[info] [Xcode] deviceSerialNumber: F17WR9TCJCM1
[info] [Xcode] identifier: 9204c2fdce263ab9569a676d7e68d4e6904a7366
[info] [Xcode] deviceClass: iPhone
[info] [Xcode] deviceName: iPhone
[info] [Xcode] deviceIdentifier: 9204c2fdce263ab9569a676d7e68d4e6904a7366
[info] [Xcode] productVersion: 12.0
[info] [Xcode] buildVersion: 16A366
[info] [Xcode] deviceSoftwareVersion: 12.0 (16A366)
[info] [Xcode] deviceArchitecture: arm64
[info] [Xcode] deviceTotalCapacity: 59640713216
[info] [Xcode] deviceAvailableCapacity: 49523351552
[info] [Xcode] deviceIsTransient: NO
[info] [Xcode] ignored: NO
[info] [Xcode] deviceIsBusy: NO
[info] [Xcode] deviceIsPaired: YES
[info] [Xcode] deviceIsActivated: YES
[info] [Xcode] deviceActivationState: Activated
[info] [Xcode] isPasscodeLocked: NO
[info] [Xcode] deviceType:
[info] [Xcode] supportedDeviceFamilies: (
[info] [Xcode] 1
[info] [Xcode] )
[info] [Xcode] applications: (null)
[info] [Xcode] provisioningProfiles: (null)
[info] [Xcode] hasInternalSupport: NO
[info] [Xcode] isSupportedOS: YES
[info] [Xcode] developerDiskMountError: (null)
[info] [Xcode] (null)
[info] [Xcode] bootArgs: (null)
[info] [Xcode] connected: yes
[info] [Xcode] isWirelessEnabled: no
[info] [Xcode] connectionType: direct
[info] [Xcode] hostname: (null)
[info] [Xcode] bonjourServiceName: 5c:1d:d9:b2:39:e9@fe80::5e1d:d9ff:feb2:39e9._apple-mobdev2._tcp.local.
[info] [Xcode] } (12.0 (16A366))
[info] [Xcode] 15:54:32.137 xcodebuild[36745:2088235] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
[info] [Xcode] build-for-testing
[info] [Xcode] test-without-building
[info] [Xcode] -project
[info] [Xcode] /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[info] [Xcode] -scheme
[info] [Xcode] WebDriverAgentRunner
[info] [Xcode] -destination
[info] [Xcode] id=9204c2fdce263ab9569a676d7e68d4e6904a7366
[info] [Xcode] IPHONEOS_DEPLOYMENT_TARGET=12.0
[info] [Xcode] 15:54:32.137 xcodebuild[36745:2088235] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
[info] [Xcode] 15:54:32.139 xcodebuild[36745:2088235] Test standard output and standard error is at /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-32-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-B05C02A2-D4BA-43FA-AF18-695DB4C383BD/WebDriverAgentRunner-7E2C1B37-2CB3-444D-B236-B1474152A5AE/StandardOutputAndStandardError.txt
[info] [Xcode] 15:54:32.143 xcodebuild[36745:2088235] Setting up test runner session
[info] [Xcode] 15:54:32.145 xcodebuild[36745:2088235] Launch session started.
[info] [Xcode] 15:54:32.146 xcodebuild[36745:2088375] Connecting to mobile device: 9204c2fdce263ab9569a676d7e68d4e6904a7366
[info] [Xcode] 15:54:32.148 xcodebuild[36745:2088375] Starting session with mobile device
[info] [Xcode] 15:54:32.148 xcodebuild[36745:2088235] Test operation failure: WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute.
[info] [Xcode] 15:54:32.148 xcodebuild[36745:2088235] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=4 "WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute." UserInfo={NSLocalizedDescription=WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute.}
[info] [Xcode]
[info] [XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild. 9204c2fdce263ab9569a676d7e68d4e6904a7366, iproxy 8100' for the device 9204c2fdce263ab9569a676d7e68d4e6904a7366...
[debug] [XCUITest] 'pgrep -nif xcodebuild.9204c2fdce263ab9569a676d7e68d4e6904a7366' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] iproxy exited with code 'null'[debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB for the device 9204c2fdce263ab9569a676d7e68d4e6904a7366[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=9204c2fdce263ab9569a676d7e68d4e6904a7366 IPHONEOS_DEPLOYMENT_TARGET=12.0' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability[info] [Xcode] Build settings from command line:
[info] [Xcode] IPHONEOS_DEPLOYMENT_TARGET = 12.0
[info] [Xcode]
[info] [Xcode]
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body[info] [Xcode] note: Using new build system
[info] [Xcode]
[info] [Xcode] note: Planning build
[info] [Xcode] [info] [Xcode] note: Using build description from disk
[info] [Xcode]
[info] [Xcode] Build system information
[info] [Xcode]
[info] [Xcode] error: Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor. (in target 'WebDriverAgentRunner')
[info] [Xcode]
[info] [Xcode]
[info] [Xcode] TEST BUILD FAILED
[info] [Xcode]
[info] [Xcode]
[debug] [XCUITest] Log file for xcodebuild test: /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-38-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-E92B5A11-3938-4920-B21C-8238FCFBAB01/WebDriverAgentRunner-3B4EB53B-E758-46CF-9133-FA19CA6F63C0/Session-WebDriverAgentRunner-2018-11-09_155438-Z2Pjy9.log
[info] [Xcode] 2018-11-09 15:54:38.628 xcodebuild[36753:2088486] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[info] [Xcode] /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-38-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-E92B5A11-3938-4920-B21C-8238FCFBAB01/WebDriverAgentRunner-3B4EB53B-E758-46CF-9133-FA19CA6F63C0/Session-WebDriverAgentRunner-2018-11-09_155438-Z2Pjy9.log
[info] [Xcode]
[info] [Xcode] 2018-11-09 15:54:38.629 xcodebuild[36753:2088455] [MT] IDETestOperationsObserverDebug: (E3CD615B-2C76-4AA6-8435-60B08CB0854C) Beginning test session WebDriverAgentRunner-E3CD615B-2C76-4AA6-8435-60B08CB0854C at 2018-11-09 15:54:38.629 with Xcode 10A255 on target 📱<DVTiOSDevice (0x7fc8b44a0730), iPhone, iPhone, 12.0 (16A366), 9204c2fdce263ab9569a676d7e68d4e6904a7366> {
[info] [Xcode] deviceSerialNumber: F17WR9TCJCM1
[info] [Xcode] identifier: 9204c2fdce263ab9569a676d7e68d4e6904a7366
[info] [Xcode] deviceClass: iPhone
[info] [Xcode] deviceName: iPhone
[info] [Xcode] deviceIdentifier: 9204c2fdce263ab9569a676d7e68d4e6904a7366
[info] [Xcode] productVersion: 12.0
[info] [Xcode] buildVersion: 16A366
[info] [Xcode] deviceSoftwareVersion: 12.0 (16A366)
[info] [Xcode] deviceArchitecture: arm64
[info] [Xcode] deviceTotalCapacity: 59640713216
[info] [Xcode] deviceAvailableCapacity: 49523879936
[info] [Xcode] deviceIsTransient: NO
[info] [Xcode] ignored: NO
[info] [Xcode] deviceIsBusy: NO
[info] [Xcode] deviceIsPaired: YES
[info] [Xcode] deviceIsActivated: YES
[info] [Xcode] deviceActivationState: Activated
[info] [Xcode] isPasscodeLocked: NO
[info] [Xcode] deviceType:
[info] [Xcode] supportedDeviceFamilies: (
[info] [Xcode] 1
[info] [Xcode] )
[info] [Xcode] applications: (null)
[info] [Xcode] provisioningProfiles: (null)
[info] [Xcode] hasInternalSupport: NO
[info] [Xcode] isSupportedOS: YES
[info] [Xcode] developerDiskMountError: (null)
[info] [Xcode] (null)
[info] [Xcode] bootArgs: (null)
[info] [Xcode] connected: yes
[info] [Xcode] isWirelessEnabled: no
[info] [Xcode] connectionType: direct
[info] [Xcode] hostname: (null)
[info] [Xcode] bonjourServiceName: 5c:1d:d9:b2:39:e9@fe80::5e1d:d9ff:feb2:39e9._apple-mobdev2._tcp.local.
[info] [Xcode] } (12.0 (16A366))
[info] [Xcode]
[info] [Xcode] 2018-11-09 15:54:38.640 xcodebuild[36753:2088589] DVTDevice: No architectures intersection between iPhone ({(
[info] [Xcode] arm64v8,
[info] [Xcode] arm64,
[info] [Xcode] armv8,
[info] [Xcode] armv7s,
[info] [Xcode] armv7,
[info] [Xcode] armv6,
[info] [Xcode] armv5e,
[info] [Xcode] armv5,
[info] [Xcode] arm
[info] [Xcode] )}) and <DVTFilePath:0x7fc8aec92400:'/Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/WebDriverAgentRunner-Runner'> ((
[info] [Xcode] "x86_64",
[info] [Xcode] i386
[info] [Xcode] ))
[info] [Xcode]
[info] [Xcode]
[info] [Xcode]
[info] [Xcode] If you believe this error represents a bug, please attach the result bundle at /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-38-+0530.xcresult
[info] [Xcode]
[info] [Xcode]
[info] [Xcode] 2018-11-09 15:54:38.642 xcodebuild[36753:2088455] [MT] IDETestOperationsObserverDebug: 0.018 elapsed -- Testing started completed.
[info] [Xcode] 2018-11-09 15:54:38.642 xcodebuild[36753:2088455] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[info] [Xcode]
[info] [Xcode] 2018-11-09 15:54:38.642 xcodebuild[36753:2088455] [MT] IDETestOperationsObserverDebug: 0.018 sec, +0.018 sec -- end
[info] [Xcode]
[info] [Xcode] 2018-11-09 15:54:38.642 xcodebuild[36753:2088455] Error Domain=IDEFoundationErrorDomain Code=3 "iPhone cannot run WebDriverAgentRunner-Runner." UserInfo={NSLocalizedDescription=iPhone cannot run WebDriverAgentRunner-Runner., NSLocalizedRecoverySuggestion=WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute.}
[info] [Xcode] 2018-11-09 15:54:38.642 xcodebuild[36753:2088455] Error Domain=IDETestOperationsObserverErrorDomain Code=4 "WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute." UserInfo={NSLocalizedDescription=WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute., NSLocalizedRecoverySuggestion=If you believe this error represents a bug, please attach the result bundle at /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-38-+0530.xcresult}
[info] [Xcode]
[info] [Xcode]
[info] [Xcode] Testing failed:
[info] [Xcode] Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor. (in target 'WebDriverAgentRunner')
[info] [Xcode] WebDriverAgentRunner-Runner.app encountered an error (WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute.)
[info] [Xcode] TEST EXECUTE FAILED
[info] [Xcode]
[info] [Xcode]
[info] [Xcode] Testing started on 'iPhone'
[info] [Xcode]
[info] [XCUITest] xcodebuild exited with code '65' and signal 'null'
[info] [Xcode] Contents of xcodebuild log file '/Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-38-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-E92B5A11-3938-4920-B21C-8238FCFBAB01/WebDriverAgentRunner-3B4EB53B-E758-46CF-9133-FA19CA6F63C0/Session-WebDriverAgentRunner-2018-11-09_155438-Z2Pjy9.log':
[info] [Xcode] 15:54:38.629 xcodebuild[36753:2088455] Beginning test session WebDriverAgentRunner-E3CD615B-2C76-4AA6-8435-60B08CB0854C at 2018-11-09 15:54:38.629 with Xcode 10A255 on target 📱<DVTiOSDevice (0x7fc8b44a0730), iPhone, iPhone, 12.0 (16A366), 9204c2fdce263ab9569a676d7e68d4e6904a7366> {
[info] [Xcode] deviceSerialNumber: F17WR9TCJCM1
[info] [Xcode] identifier: 9204c2fdce263ab9569a676d7e68d4e6904a7366
[info] [Xcode] deviceClass: iPhone
[info] [Xcode] deviceName: iPhone
[info] [Xcode] deviceIdentifier: 9204c2fdce263ab9569a676d7e68d4e6904a7366
[info] [Xcode] productVersion: 12.0
[info] [Xcode] buildVersion: 16A366
[info] [Xcode] deviceSoftwareVersion: 12.0 (16A366)
[info] [Xcode] deviceArchitecture: arm64
[info] [Xcode] deviceTotalCapacity: 59640713216
[info] [Xcode] deviceAvailableCapacity: 49523879936
[info] [Xcode] deviceIsTransient: NO
[info] [Xcode] ignored: NO
[info] [Xcode] deviceIsBusy: NO
[info] [Xcode] deviceIsPaired: YES
[info] [Xcode] deviceIsActivated: YES
[info] [Xcode] deviceActivationState: Activated
[info] [Xcode] isPasscodeLocked: NO
[info] [Xcode] deviceType:
[info] [Xcode] supportedDeviceFamilies: (
[info] [Xcode] 1
[info] [Xcode] )
[info] [Xcode] applications: (null)
[info] [Xcode] provisioningProfiles: (null)
[info] [Xcode] hasInternalSupport: NO
[info] [Xcode] isSupportedOS: YES
[info] [Xcode] developerDiskMountError: (null)
[info] [Xcode] (null)
[info] [Xcode] bootArgs: (null)
[info] [Xcode] connected: yes
[info] [Xcode] isWirelessEnabled: no
[info] [Xcode] connectionType: direct
[info] [Xcode] hostname: (null)
[info] [Xcode] bonjourServiceName: 5c:1d:d9:b2:39:e9@fe80::5e1d:d9ff:feb2:39e9._apple-mobdev2._tcp.local.
[info] [Xcode] } (12.0 (16A366))
[info] [Xcode] 15:54:38.629 xcodebuild[36753:2088455] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
[info] [Xcode] build-for-testing
[info] [Xcode] test-without-building
[info] [Xcode] -project
[info] [Xcode] /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[info] [Xcode] -scheme
[info] [Xcode] WebDriverAgentRunner
[info] [Xcode] -destination
[info] [Xcode] id=9204c2fdce263ab9569a676d7e68d4e6904a7366
[info] [Xcode] IPHONEOS_DEPLOYMENT_TARGET=12.0
[info] [Xcode] 15:54:38.630 xcodebuild[36753:2088455] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
[info] [Xcode] 15:54:38.631 xcodebuild[36753:2088455] Test standard output and standard error is at /Users/vikasvipul/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.09_15-54-38-+0530.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-E92B5A11-3938-4920-B21C-8238FCFBAB01/WebDriverAgentRunner-3B4EB53B-E758-46CF-9133-FA19CA6F63C0/StandardOutputAndStandardError.txt
[info] [Xcode] 15:54:38.636 xcodebuild[36753:2088455] Setting up test runner session
[info] [Xcode] 15:54:38.638 xcodebuild[36753:2088455] Launch session started.
[info] [Xcode] 15:54:38.639 xcodebuild[36753:2088587] Connecting to mobile device: 9204c2fdce263ab9569a676d7e68d4e6904a7366
[info] [Xcode] 15:54:38.640 xcodebuild[36753:2088587] Starting session with mobile device
[info] [Xcode] 15:54:38.641 xcodebuild[36753:2088455] Test operation failure: WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute.
[info] [Xcode] 15:54:38.641 xcodebuild[36753:2088455] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=4 "WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute." UserInfo={NSLocalizedDescription=WebDriverAgentRunner-Runner does not have an architecture that iPhone can execute.}
[info] [Xcode]
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1541759078655 (15:54:38 GMT+0530 (IST))
[debug] [XCUITest] 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.
[warn] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[info] [XCUITest] Shutting down sub-processes
[info] [XCUITest] Shutting down iproxy process (pid 36752)
[debug] [XCUITest] iproxy exited with code 'null'
[debug] [XCUITest] Removing WDA application from device[error] [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.
[error] [XCUITest] at XCUITestDriver.quitAndUninstall$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:444:13)
[error] [XCUITest] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[error] [XCUITest] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[error] [XCUITest] 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)
[error] [XCUITest] at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[error] [XCUITest] at
[debug] [XCUITest] Not clearing log files. Use
[info] [HTTP] <-- POST /wd/hub/session 500 15292 ms - 1947
[info] [HTTP]
clearSystemFiles
capability to turn on. [debug] [iOSLog] Stopping iOS log capture [debug] [BaseDriver] Event 'newSessionStarted' logged at 1541759079028 (15:54:39 GMT+0530 (IST)) [debug] [W3C] 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. [debug] [W3C] at XCUITestDriver.quitAndUninstall$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:444:13) [debug] [W3C] at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) [debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) [debug] [W3C] 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) [debug] [W3C] at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) [debug] [W3C] at