Skip to content

Instantly share code, notes, and snippets.

@takeshi-yanagita
Last active January 18, 2023 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takeshi-yanagita/b065bf08996667ac85e017bdf8d0ef15 to your computer and use it in GitHub Desktop.
Save takeshi-yanagita/b065bf08996667ac85e017bdf8d0ef15 to your computer and use it in GitHub Desktop.
JP-FVFZ91FSL414:~ takeshi.yanagita$ appium --port=4723 --allow-cors
info Appium Setting NODE_PATH to '/usr/local/lib/node_modules'
[Appium] Welcome to Appium v2.0.0-beta.44
[Appium] Non-default server args:
[Appium] {
[Appium] allowCors: true
[Appium] }
[Appium] Attempting to load driver uiautomator2...
[debug] [Appium] Requiring driver at /Users/takeshi.yanagita/.appium/node_modules/appium-uiautomator2-driver
[Appium] Attempting to load driver xcuitest...
[debug] [Appium] Requiring driver at /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver
[Appium] You have enabled CORS requests from any host. Be careful not to visit sites which could maliciously try to start Appium sessions on your machine
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[Appium] Available drivers:
[Appium] - uiautomator2@2.7.0 (automationName 'UiAutomator2')
[Appium] - xcuitest@4.16.10 (automationName 'XCUITest')
[Appium] Available plugins:
[Appium] - element-wait@1.0.4
[Appium] - device-farm@2.0.0-beta.4
[Appium] - images@1.3.6
[Appium] - relaxed-caps@1.0.0-beta.13
[Appium] No plugins activated. Use the --use-plugins flag with names of plugins to activate
[HTTP] --> POST /session
[HTTP] {"capabilities":{"alwaysMatch":{"appium:platformName":"iOS","appium:automationName":"XCUITest","appium:udid":"E760D93C-4D75-44C6-B9D0-AA49C435AC6F","appium:useNewWDA":false,"appium:showXcodeLog":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"appium:platformName":"iOS","appium:automationName":"XCUITest","appium:udid":"E760D93C-4D75-44C6-B9D0-AA49C435AC6F","appium:useNewWDA":false,"appium:showXcodeLog":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}
[debug] [AppiumDriver@938a] Calling AppiumDriver.createSession() with args: [{"appium:platformName":"iOS","appium:automationName":"XCUITest","appium:udid":"E760D93C-4D75-44C6-B9D0-AA49C435AC6F","appium:useNewWDA":false,"appium:showXcodeLog":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"appium:platformName":"iOS","appium:automationName":"XCUITest","appium:udid":"E760D93C-4D75-44C6-B9D0-AA49C435AC6F","appium:useNewWDA":false,"appium:showXcodeLog":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]}]
[debug] [AppiumDriver@938a] Event 'newSessionRequested' logged at 1674015583820 (13:19:43 GMT+0900 (Japan Standard Time))
[BaseDriver] The capabilities ["platformName"] are standard capabilities and do not require "appium:" prefix
[Appium] Attempting to find matching driver for automationName 'XCUITest' and platformName 'iOS'
[Appium] The 'xcuitest' driver was installed and matched caps.
[Appium] Will require it at /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver
[debug] [Appium] Requiring driver at /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver
[AppiumDriver@938a] Appium v2.0.0-beta.44 creating new XCUITestDriver (v4.16.10) session
[AppiumDriver@938a] Checking BaseDriver versions for Appium and XCUITestDriver
[AppiumDriver@938a] Appium's BaseDriver version is 8.7.1
[AppiumDriver@938a] XCUITestDriver's BaseDriver version is 8.7.1
[debug] [XCUITestDriver@be59] Creating session with W3C capabilities: {
[debug] [XCUITestDriver@be59] "alwaysMatch": {
[debug] [XCUITestDriver@be59] "platformName": "iOS",
[debug] [XCUITestDriver@be59] "appium:automationName": "XCUITest",
[debug] [XCUITestDriver@be59] "appium:udid": "E760D93C-4D75-44C6-B9D0-AA49C435AC6F",
[debug] [XCUITestDriver@be59] "appium:useNewWDA": false,
[debug] [XCUITestDriver@be59] "appium:showXcodeLog": true,
[debug] [XCUITestDriver@be59] "appium:newCommandTimeout": 3600,
[debug] [XCUITestDriver@be59] "appium:connectHardwareKeyboard": true
[debug] [XCUITestDriver@be59] },
[debug] [XCUITestDriver@be59] "firstMatch": [
[debug] [XCUITestDriver@be59] {}
[debug] [XCUITestDriver@be59] ]
[debug] [XCUITestDriver@be59] }
[XCUITestDriver@be59] The desired capabilities include neither an app nor a bundleId. WebDriverAgent will be started without the default app
[XCUITestDriver@be59] 'platformVersion' capability ('undefined') is not a valid version number. Consider fixing it or be ready to experience an inconsistent driver behavior.
[XCUITestDriver@be59 (888ee87f)] Session created with session id: 888ee87f-9b02-4056-ae88-4f851d0e63d9
[debug] [XCUITest] Current user: 'takeshi.yanagita'
[debug] [XCUITestDriver@be59 (888ee87f)] Available devices:
[debug] [XCUITestDriver@be59 (888ee87f)] No real device with udid 'E760D93C-4D75-44C6-B9D0-AA49C435AC6F'. Looking for simulator
[iOSSim] Constructing iOS simulator for Xcode version 14.1 with udid 'E760D93C-4D75-44C6-B9D0-AA49C435AC6F'
[XCUITestDriver@be59 (888ee87f)] Determining device to run tests on: udid: 'E760D93C-4D75-44C6-B9D0-AA49C435AC6F', real device: false
[XCUITestDriver@be59 (888ee87f)] No platformVersion specified. Using device version: '14.5'
[debug] [XCUITestDriver@be59 (888ee87f)] Event 'xcodeDetailsRetrieved' logged at 1674015584476 (13:19:44 GMT+0900 (Japan Standard Time))
[debug] [XCUITestDriver@be59 (888ee87f)] Event 'appConfigured' logged at 1674015584476 (13:19:44 GMT+0900 (Japan Standard Time))
[debug] [XCUITestDriver@be59 (888ee87f)] Event 'resetStarted' logged at 1674015584476 (13:19:44 GMT+0900 (Japan Standard Time))
[debug] [XCUITestDriver@be59 (888ee87f)] Event 'resetComplete' logged at 1674015584477 (13:19:44 GMT+0900 (Japan Standard Time))
[XCUITestDriver@be59 (888ee87f)] Using WDA path: '/Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[XCUITestDriver@be59 (888ee87f)] Using WDA agent: '/Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [IOSSimulatorLog] Starting log capture for iOS Simulator with udid 'E760D93C-4D75-44C6-B9D0-AA49C435AC6F' using simctl
[debug] [XCUITestDriver@be59 (888ee87f)] Event 'logCaptureStarted' logged at 1674015585159 (13:19:45 GMT+0900 (Japan Standard Time))
[XCUITestDriver@be59 (888ee87f)] Setting up simulator
[debug] [iOSSim] Setting preferences of E760D93C-4D75-44C6-B9D0-AA49C435AC6F Simulator to {"ConnectHardwareKeyboard":true}
[debug] [iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"StartLastDeviceOnLaunch":false,"DetachOnWindowClose":false,"AttachBootedOnStart":true,"ConnectHardwareKeyboard":true,"PasteboardAutomaticSync":false}
[debug] [iOSSim] Updated E760D93C-4D75-44C6-B9D0-AA49C435AC6F Simulator preferences at '/Users/takeshi.yanagita/Library/Preferences/com.apple.iphonesimulator.plist' with {"RotateWindowWhenSignaledByGuest":true,"StartLastDeviceOnLaunch":false,"DetachOnWindowClose":false,"AttachBootedOnStart":true,"ConnectHardwareKeyboard":true,"PasteboardAutomaticSync":false,"DevicePreferences":{"E760D93C-4D75-44C6-B9D0-AA49C435AC6F":{"SimulatorExternalDisplay":2114,"ConnectHardwareKeyboard":true,"ChromeTint":""}}}
[debug] [iOSSim] Got Simulator UI client PID: 794
[iOSSim] Both Simulator with UDID 'E760D93C-4D75-44C6-B9D0-AA49C435AC6F' and the UI client are currently running
[debug] [XCUITestDriver@be59 (888ee87f)] Event 'simStarted' logged at 1674015585934 (13:19:45 GMT+0900 (Japan Standard Time))
[debug] [XCUITestDriver@be59 (888ee87f)] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[DevCon Factory] Requesting connection for device E760D93C-4D75-44C6-B9D0-AA49C435AC6F on local port 8100
[debug] [DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for E760D93C-4D75-44C6-B9D0-AA49C435AC6F:8100
[debug] [XCUITestDriver@be59 (888ee87f)] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[debug] [XCUITestDriver@be59 (888ee87f)] WDA is not listening at 'http://127.0.0.1:8100/'
[debug] [XCUITestDriver@be59 (888ee87f)] WDA is currently not running. There is nothing to cache
[debug] [XCUITestDriver@be59 (888ee87f)] Trying to start WebDriverAgent 2 times with 10000ms interval
[debug] [XCUITestDriver@be59 (888ee87f)] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [XCUITestDriver@be59 (888ee87f)] Event 'wdaStartAttempted' logged at 1674015586090 (13:19:46 GMT+0900 (Japan Standard Time))
[XCUITestDriver@be59 (888ee87f)] Launching WebDriverAgent on the device
[XCUITestDriver@be59 (888ee87f)] WebDriverAgent does not need a cleanup. The sources are up to date (1674005233916 >= 1674005233916)
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F, E760D93C-4D75-44C6-B9D0-AA49C435AC6F.*XCTRunner, xctest.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' for the device E760D93C-4D75-44C6-B9D0-AA49C435AC6F...
[debug] [WebDriverAgent] 'pgrep -if xcodebuild.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 'pgrep -if xctest.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 'pgrep -if E760D93C-4D75-44C6-B9D0-AA49C435AC6F.*XCTRunner' didn't detect any matching processes. Return code: 1
[debug] [XCUITestDriver@be59 (888ee87f)] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=E760D93C-4D75-44C6-B9D0-AA49C435AC6F IPHONEOS_DEPLOYMENT_TARGET=14.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [XCUITestDriver@be59 (888ee87f)] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[Xcode] Command line invocation:
[Xcode]
[debug] [XCUITestDriver@be59 (888ee87f)] Waiting up to 60000ms for WebDriverAgent to start
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[Xcode] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=E760D93C-4D75-44C6-B9D0-AA49C435AC6F IPHONEOS_DEPLOYMENT_TARGET=14.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO
[Xcode]
[Xcode] User defaults from command line:
[Xcode] IDEPackageSupportUseBuiltinSCM = YES
[Xcode]
[Xcode] Build settings from command line:
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 14.5
[Xcode]
[Xcode]
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[debug] [XCUITestDriver@be59 (888ee87f)] Parsed BUILD_DIR configuration value: '/Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw/Build/Products'
[debug] [XCUITestDriver@be59 (888ee87f)] Got derived data root: '/Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw'
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[Xcode] Prepare packages
[Xcode]
[Xcode] 2023-01-18 13:19:49.188 xcodebuild[99417:18352696] Writing error result bundle to /var/folders/bz/4r2jmvvj4xg19_lrskvcpkkjgwl0_6/T/ResultBundle_2023-18-01_13-19-0049.xcresult
[Xcode]
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[Xcode] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[Xcode] Reason: Could not initialize core
[Xcode]
[Xcode] xcodebuild exited with code '70' and signal 'null'
[XCUITestDriver@be59 (888ee87f)] Launching WebDriverAgent on the device
[XCUITestDriver@be59 (888ee87f)] WebDriverAgent does not need a cleanup. The sources are up to date (1674005233916 >= 1674005233916)
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F, E760D93C-4D75-44C6-B9D0-AA49C435AC6F.*XCTRunner, xctest.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' for the device E760D93C-4D75-44C6-B9D0-AA49C435AC6F...
[debug] [WebDriverAgent] 'pgrep -if xcodebuild.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 'pgrep -if xctest.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 'pgrep -if E760D93C-4D75-44C6-B9D0-AA49C435AC6F.*XCTRunner' didn't detect any matching processes. Return code: 1
[debug] [XCUITestDriver@be59 (888ee87f)] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw -destination id=E760D93C-4D75-44C6-B9D0-AA49C435AC6F IPHONEOS_DEPLOYMENT_TARGET=14.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [XCUITestDriver@be59 (888ee87f)] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[Xcode] Command line invocation:
[Xcode]
[debug] [XCUITestDriver@be59 (888ee87f)] Waiting up to 60000ms for WebDriverAgent to start
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[Xcode] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw -destination id=E760D93C-4D75-44C6-B9D0-AA49C435AC6F IPHONEOS_DEPLOYMENT_TARGET=14.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO
[Xcode]
[Xcode] User defaults from command line:
[Xcode] IDEDerivedDataPathOverride = /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw
[Xcode] IDEPackageSupportUseBuiltinSCM = YES
[Xcode]
[Xcode] Build settings from command line:
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 14.5
[Xcode]
[Xcode]
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[Xcode] Prepare packages
[Xcode]
[Xcode] 2023-01-18 13:19:53.051 xcodebuild[99440:18352818] Writing error result bundle to /var/folders/bz/4r2jmvvj4xg19_lrskvcpkkjgwl0_6/T/ResultBundle_2023-18-01_13-19-0053.xcresult
[Xcode]
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[Xcode] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[Xcode] Reason: Could not initialize core
[Xcode]
[Xcode] xcodebuild exited with code '70' and signal 'null'
[debug] [XCUITestDriver@be59 (888ee87f)] Event 'wdaStartFailed' logged at 1674015594117 (13:19:54 GMT+0900 (Japan Standard Time))
[debug] [XCUITestDriver@be59 (888ee87f)] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[debug] [XCUITestDriver@be59 (888ee87f)] xcodebuild error message:
[debug] [XCUITestDriver@be59 (888ee87f)]
[debug] [XCUITestDriver@be59 (888ee87f)] Command line invocation:
[debug] [XCUITestDriver@be59 (888ee87f)]
[debug] [XCUITestDriver@be59 (888ee87f)] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw -destination id=E760D93C-4D75-44C6-B9D0-AA49C435AC6F IPHONEOS_DEPLOYMENT_TARGET=14.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO
[debug] [XCUITestDriver@be59 (888ee87f)] User defaults from command line:
[debug] [XCUITestDriver@be59 (888ee87f)] IDEDerivedDataPathOverride = /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw
[debug] [XCUITestDriver@be59 (888ee87f)] IDEPackageSupportUseBuiltinSCM = YES
[debug] [XCUITestDriver@be59 (888ee87f)] Build settings from command line:
[debug] [XCUITestDriver@be59 (888ee87f)] COMPILER_INDEX_STORE_ENABLE = NO
[debug] [XCUITestDriver@be59 (888ee87f)] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[debug] [XCUITestDriver@be59 (888ee87f)] IPHONEOS_DEPLOYMENT_TARGET = 14.5
[debug] [XCUITestDriver@be59 (888ee87f)] Prepare packages
[debug] [XCUITestDriver@be59 (888ee87f)] 2023-01-18 13:19:53.051 xcodebuild[99440:18352818] Writing error result bundle to /var/folders/bz/4r2jmvvj4xg19_lrskvcpkkjgwl0_6/T/ResultBundle_2023-18-01_13-19-0053.xcresult
[debug] [XCUITestDriver@be59 (888ee87f)] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[debug] [XCUITestDriver@be59 (888ee87f)] Reason: Could not initialize core
[XCUITestDriver@be59 (888ee87f)] Quitting and uninstalling WebDriverAgent
[XCUITestDriver@be59 (888ee87f)] Shutting down sub-processes
[debug] [XCUITestDriver@be59 (888ee87f)] No WDAs on the device.
[debug] [XCUITestDriver@be59 (888ee87f)] Event 'wdaStartAttempted' logged at 1674015604124 (13:20:04 GMT+0900 (Japan Standard Time))
[XCUITestDriver@be59 (888ee87f)] Retrying WDA startup (2 of 2)
[XCUITestDriver@be59 (888ee87f)] Launching WebDriverAgent on the device
[XCUITestDriver@be59 (888ee87f)] WebDriverAgent does not need a cleanup. The sources are up to date (1674005233916 >= 1674005233916)
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F, E760D93C-4D75-44C6-B9D0-AA49C435AC6F.*XCTRunner, xctest.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' for the device E760D93C-4D75-44C6-B9D0-AA49C435AC6F...
[debug] [WebDriverAgent] 'pgrep -if xcodebuild.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 'pgrep -if E760D93C-4D75-44C6-B9D0-AA49C435AC6F.*XCTRunner' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 'pgrep -if xctest.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' didn't detect any matching processes. Return code: 1
[debug] [XCUITestDriver@be59 (888ee87f)] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw -destination id=E760D93C-4D75-44C6-B9D0-AA49C435AC6F IPHONEOS_DEPLOYMENT_TARGET=14.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [XCUITestDriver@be59 (888ee87f)] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[Xcode] Command line invocation:
[Xcode]
[debug] [XCUITestDriver@be59 (888ee87f)] Waiting up to 60000ms for WebDriverAgent to start
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[Xcode] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw -destination id=E760D93C-4D75-44C6-B9D0-AA49C435AC6F IPHONEOS_DEPLOYMENT_TARGET=14.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO
[Xcode]
[Xcode] User defaults from command line:
[Xcode] IDEDerivedDataPathOverride = /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw
[Xcode] IDEPackageSupportUseBuiltinSCM = YES
[Xcode]
[Xcode] Build settings from command line:
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 14.5
[Xcode]
[Xcode]
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[Xcode] Prepare packages
[Xcode]
[Xcode] 2023-01-18 13:20:06.846 xcodebuild[99453:18352994] Writing error result bundle to /var/folders/bz/4r2jmvvj4xg19_lrskvcpkkjgwl0_6/T/ResultBundle_2023-18-01_13-20-0006.xcresult
[Xcode]
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[Xcode] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[Xcode] Reason: Could not initialize core
[Xcode]
[Xcode] xcodebuild exited with code '70' and signal 'null'
[XCUITestDriver@be59 (888ee87f)] Launching WebDriverAgent on the device
[XCUITestDriver@be59 (888ee87f)] WebDriverAgent does not need a cleanup. The sources are up to date (1674005233916 >= 1674005233916)
[debug] [WebDriverAgent] Killing running processes 'xcodebuild.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F, E760D93C-4D75-44C6-B9D0-AA49C435AC6F.*XCTRunner, xctest.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' for the device E760D93C-4D75-44C6-B9D0-AA49C435AC6F...
[debug] [WebDriverAgent] 'pgrep -if xcodebuild.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 'pgrep -if E760D93C-4D75-44C6-B9D0-AA49C435AC6F.*XCTRunner' didn't detect any matching processes. Return code: 1
[debug] [WebDriverAgent] 'pgrep -if xctest.*E760D93C-4D75-44C6-B9D0-AA49C435AC6F' didn't detect any matching processes. Return code: 1
[debug] [XCUITestDriver@be59 (888ee87f)] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw -destination id=E760D93C-4D75-44C6-B9D0-AA49C435AC6F IPHONEOS_DEPLOYMENT_TARGET=14.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[debug] [XCUITestDriver@be59 (888ee87f)] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[Xcode] Command line invocation:
[Xcode]
[debug] [XCUITestDriver@be59 (888ee87f)] Waiting up to 60000ms for WebDriverAgent to start
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[Xcode] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw -destination id=E760D93C-4D75-44C6-B9D0-AA49C435AC6F IPHONEOS_DEPLOYMENT_TARGET=14.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO
[Xcode]
[Xcode] User defaults from command line:
[Xcode] IDEDerivedDataPathOverride = /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw
[Xcode] IDEPackageSupportUseBuiltinSCM = YES
[Xcode]
[Xcode] Build settings from command line:
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 14.5
[Xcode]
[Xcode]
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[Xcode] Prepare packages
[Xcode]
[Xcode] 2023-01-18 13:20:10.682 xcodebuild[99466:18353099] Writing error result bundle to /var/folders/bz/4r2jmvvj4xg19_lrskvcpkkjgwl0_6/T/ResultBundle_2023-18-01_13-20-0010.xcresult
[Xcode]
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[debug] [XCUITestDriver@be59 (888ee87f)] Matched '/status' to command name 'getStatus'
[debug] [XCUITestDriver@be59 (888ee87f)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@be59 (888ee87f)] connect ECONNREFUSED 127.0.0.1:8100
[Xcode] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[Xcode] Reason: Could not initialize core
[Xcode]
[Xcode] xcodebuild exited with code '70' and signal 'null'
[debug] [XCUITestDriver@be59 (888ee87f)] Event 'wdaStartFailed' logged at 1674015611753 (13:20:11 GMT+0900 (Japan Standard Time))
[debug] [XCUITestDriver@be59 (888ee87f)] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[debug] [XCUITestDriver@be59 (888ee87f)] xcodebuild error message:
[debug] [XCUITestDriver@be59 (888ee87f)]
[debug] [XCUITestDriver@be59 (888ee87f)] Command line invocation:
[debug] [XCUITestDriver@be59 (888ee87f)]
[debug] [XCUITestDriver@be59 (888ee87f)] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw -destination id=E760D93C-4D75-44C6-B9D0-AA49C435AC6F IPHONEOS_DEPLOYMENT_TARGET=14.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO
[debug] [XCUITestDriver@be59 (888ee87f)] User defaults from command line:
[debug] [XCUITestDriver@be59 (888ee87f)] IDEDerivedDataPathOverride = /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw
[debug] [XCUITestDriver@be59 (888ee87f)] IDEPackageSupportUseBuiltinSCM = YES
[debug] [XCUITestDriver@be59 (888ee87f)] Build settings from command line:
[debug] [XCUITestDriver@be59 (888ee87f)] COMPILER_INDEX_STORE_ENABLE = NO
[debug] [XCUITestDriver@be59 (888ee87f)] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[debug] [XCUITestDriver@be59 (888ee87f)] IPHONEOS_DEPLOYMENT_TARGET = 14.5
[debug] [XCUITestDriver@be59 (888ee87f)] Prepare packages
[debug] [XCUITestDriver@be59 (888ee87f)] 2023-01-18 13:20:10.682 xcodebuild[99466:18353099] Writing error result bundle to /var/folders/bz/4r2jmvvj4xg19_lrskvcpkkjgwl0_6/T/ResultBundle_2023-18-01_13-20-0010.xcresult
[debug] [XCUITestDriver@be59 (888ee87f)] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[debug] [XCUITestDriver@be59 (888ee87f)] Reason: Could not initialize core
[XCUITestDriver@be59 (888ee87f)] Quitting and uninstalling WebDriverAgent
[XCUITestDriver@be59 (888ee87f)] Shutting down sub-processes
[debug] [XCUITestDriver@be59 (888ee87f)] No WDAs on the device.
[XCUITestDriver@be59 (888ee87f)] {}
[DevCon Factory] Releasing connections for E760D93C-4D75-44C6-B9D0-AA49C435AC6F device on any port number
[DevCon Factory] Found cached connections to release: ["E760D93C-4D75-44C6-B9D0-AA49C435AC6F:8100"]
[debug] [DevCon Factory] Cached connections count: 0
[debug] [XCUITestDriver@be59 (888ee87f)] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [IOSSimulatorLog] Stopping iOS log capture
[debug] [AppiumDriver@938a] Event 'newSessionStarted' logged at 1674015611762 (13:20:11 GMT+0900 (Japan Standard Time))
[debug] [AppiumDriver@938a] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[debug] [AppiumDriver@938a] xcodebuild error message:
[debug] [AppiumDriver@938a]
[debug] [AppiumDriver@938a] Command line invocation:
[debug] [AppiumDriver@938a]
[debug] [AppiumDriver@938a] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw -destination id=E760D93C-4D75-44C6-B9D0-AA49C435AC6F IPHONEOS_DEPLOYMENT_TARGET=14.5 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO
[debug] [AppiumDriver@938a] User defaults from command line:
[debug] [AppiumDriver@938a] IDEDerivedDataPathOverride = /Users/takeshi.yanagita/Library/Developer/Xcode/DerivedData/WebDriverAgent-gaejngjcrfawkgaxbemvhslsrmrw
[debug] [AppiumDriver@938a] IDEPackageSupportUseBuiltinSCM = YES
[debug] [AppiumDriver@938a] Build settings from command line:
[debug] [AppiumDriver@938a] COMPILER_INDEX_STORE_ENABLE = NO
[debug] [AppiumDriver@938a] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[debug] [AppiumDriver@938a] IPHONEOS_DEPLOYMENT_TARGET = 14.5
[debug] [AppiumDriver@938a] Prepare packages
[debug] [AppiumDriver@938a] 2023-01-18 13:20:10.682 xcodebuild[99466:18353099] Writing error result bundle to /var/folders/bz/4r2jmvvj4xg19_lrskvcpkkjgwl0_6/T/ResultBundle_2023-18-01_13-20-0010.xcresult
[debug] [AppiumDriver@938a] xcodebuild: error: Failed to build project WebDriverAgent with scheme WebDriverAgentRunner.
[debug] [AppiumDriver@938a] Reason: Could not initialize core
[debug] [AppiumDriver@938a] at quitAndUninstall (/Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:584:15)
[debug] [AppiumDriver@938a] at /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:619:11
[debug] [AppiumDriver@938a] at wrapped (/Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:95:13)
[debug] [AppiumDriver@938a] at retry (/Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:68:13)
[debug] [AppiumDriver@938a] at retryInterval (/Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:105:10)
[debug] [AppiumDriver@938a] at /Users/takeshi.yanagita/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:599:7
[HTTP] <-- POST /session 500 27975 ms - 3257
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment