Skip to content

Instantly share code, notes, and snippets.

@semutmerah
Created February 16, 2024 05:38
Show Gist options
  • Save semutmerah/ecec2711d97ba8c743486cee92bd7a93 to your computer and use it in GitHub Desktop.
Save semutmerah/ecec2711d97ba8c743486cee92bd7a93 to your computer and use it in GitHub Desktop.
appium device farm log with iOS 17.3 real device, failed to launch WDA Driver
[mohrasyidfahroni:~] % appium server -ka 800 --use-plugins=device-farm,appium-dashboard -pa /wd/hub --plugin-device-farm-platform=ios --plugin-device-farm-ios-device-type=real
[Appium] Attempting to load plugin device-farm...
[Appium] Attempting to load plugin appium-dashboard...
[Appium] Requiring plugin at /Users/mohrasyidfahroni/.appium/node_modules/appium-dashboard/lib/index.js
[Appium] Requiring plugin at /Users/mohrasyidfahroni/.appium/node_modules/appium-device-farm/lib/src/index.js
[appium-dashboard] Unable to create adb instance.
[Appium] AppiumDashboardPlugin has been successfully loaded in 0.793s
[Appium] DevicePlugin has been successfully loaded in 0.794s
[Appium] Welcome to Appium v2.5.1 (REV cfac516ee045d869be34598152e80a11ef2befe7)
[Appium] Non-default server args:
[Appium] {
[Appium] basePath: '/wd/hub',
[Appium] keepAliveTimeout: 800,
[Appium] usePlugins: [
[Appium] 'device-farm',
[Appium] 'appium-dashboard'
[Appium] ],
[Appium] plugin: {
[Appium] 'device-farm': {
[Appium] iosDeviceType: 'real'
[Appium] }
[Appium] }
[Appium] }
[Appium] The autodetected Appium home path: /Users/mohrasyidfahroni/.appium
[Appium] Attempting to load driver uiautomator2...
[Appium] Attempting to load driver xcuitest...
[Appium] Requiring driver at /Users/mohrasyidfahroni/.appium/node_modules/appium-uiautomator2-driver/build/index.js
[Appium] AndroidUiautomator2Driver has been successfully loaded in 0.202s
(node:14092) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
[Appium] Requiring driver at /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/build/index.js
[Appium] XCUITestDriver has been successfully loaded in 0.418s
[device-farm-main] 📱 Update server with CLI Args: {"subcommand":"server","address":"0.0.0.0","basePath":"/wd/hub","keepAliveTimeout":800,"port":4723,"usePlugins":["device-farm","appium-dashboard"],"plugin":{"device-farm":{"platform":"ios","iosDeviceType":"real","androidDeviceType":"both"}},"extraArgs":[],"allowCors":false,"allowInsecure":[],"callbackPort":4723,"debugLogSpacing":false,"denyInsecure":[],"localTimezone":false,"loglevel":"debug","logNoColors":false,"logTimestamp":false,"pluginsImportChunkSize":7,"driversImportChunkSize":3,"longStacktrace":false,"noPermsCheck":false,"relaxedSecurityEnabled":false,"sessionOverride":false,"strictCaps":false,"useDrivers":[],"driver":{"xcuitest":{"wdaLocalPort":8100}},"tmpDir":"/var/folders/fz/60myx0_d0vxg4lck4m60c8lc0000gn/T"}
[device-farm-main] Cli Args: {"subcommand":"server","address":"0.0.0.0","basePath":"/wd/hub","keepAliveTimeout":800,"port":4723,"usePlugins":["device-farm","appium-dashboard"],"plugin":{"device-farm":{"platform":"ios","iosDeviceType":"real","androidDeviceType":"both"}},"extraArgs":[],"allowCors":false,"allowInsecure":[],"callbackPort":4723,"debugLogSpacing":false,"denyInsecure":[],"localTimezone":false,"loglevel":"debug","logNoColors":false,"logTimestamp":false,"pluginsImportChunkSize":7,"driversImportChunkSize":3,"longStacktrace":false,"noPermsCheck":false,"relaxedSecurityEnabled":false,"sessionOverride":false,"strictCaps":false,"useDrivers":[],"driver":{"xcuitest":{"wdaLocalPort":8100}},"tmpDir":"/var/folders/fz/60myx0_d0vxg4lck4m60c8lc0000gn/T"}
[device-farm-main] 📱 Update server with Plugin Args: {"platform":"ios","iosDeviceType":"real","androidDeviceType":"both","skipChromeDownload":true,"maxSessions":8,"adbRemote":[],"emulators":[],"simulators":[],"deviceAvailabilityTimeoutMs":300000,"deviceAvailabilityQueryIntervalMs":10000,"sendNodeDevicesToHubIntervalMs":30000,"checkStaleDevicesIntervalMs":30000,"checkBlockedDevicesIntervalMs":30000,"newCommandTimeoutSec":60,"bindHostOrIp":"192.168.100.25","enableDashboard":false,"removeDevicesFromDatabaseBeforeRunningThePlugin":false}
[device-farm-main] Initializing storage
[device-farm-main] Initializing database
[device-farm-main] Creating new database: ./temp-appium/db.json
[device-farm-main] Database loaded
[device-farm-main] proxy is not required for axios
[device-farm-main] Registering proxy middleware
[device-farm-main] 📣📣📣 Device Farm Plugin will be served at 🔗 http://192.168.100.25:4723/device-farm with id b8d10a9b-3f4f-492a-a25a-1fd6904c2295
[device-farm-main] 📣📣📣 I'm a hub and I'm listening on 192.168.100.25:4723
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Hub will clean pending sessions every 30000 ms with pending session timeout: 310000 ms
[device-farm-main] Added 1 new devices to local database
[appium-dashboard] Dashboard plugin is enabled and will be served at http://localhost:4723/dashboard
[appium-dashboard] If the appium server is started with different port other than 4723, then use the correct port number to access the device farm dashboard
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723/wd/hub
[Appium] You can provide the following URLs in your client code to connect to this server:
[Appium] http://127.0.0.1:4723/wd/hub (only accessible from the same host)
[Appium] http://192.168.100.25:4723/wd/hub
[Appium] http://169.254.95.214:4723/wd/hub
[Appium] Available drivers:
[Appium] - uiautomator2@3.0.0 (automationName 'UiAutomator2')
[Appium] - xcuitest@7.0.1 (automationName 'XCUITest')
[Appium] Available plugins:
[Appium] - device-farm@8.4.7-rc.8 (ACTIVE)
[Appium] - appium-dashboard@v2.0.3 (ACTIVE)
[device-farm-main] iOS device with udid 00008110-000129292178401E plugged! updating device list...
[device-farm-main] Device "00008110-000129292178401E" already exists in database
[device-farm-main] Added 0 new devices to local database
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"ios","appium:automationName":"xcuitest","appium:bundleId":"com.myapp.fl.dev","appium:showXcodeLog":true,"appium:xcodeOrgId":"8GT4DGXXXX","appium:xcodeSigningId":"Appium Developer","appium:autoAcceptAlerts":true,"appium:includeSafariInWebviews":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"ios","appium:automationName":"xcuitest","appium:bundleId":"com.myapp.fl.dev","appium:showXcodeLog":true,"appium:xcodeOrgId":"8GT4DGXXXX","appium:xcodeSigningId":"Appium Developer","appium:autoAcceptAlerts":true,"appium:includeSafariInWebviews":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}
[AppiumDriver@3bed] Calling AppiumDriver.createSession() with args: [{"platformName":"ios","appium:automationName":"xcuitest","appium:bundleId":"com.myapp.fl.dev","appium:showXcodeLog":true,"appium:xcodeOrgId":"8GT4DGXXXX","appium:xcodeSigningId":"Appium Developer","appium:autoAcceptAlerts":true,"appium:includeSafariInWebviews":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"platformName":"ios","appium:automationName":"xcuitest","appium:bundleId":"com.myapp.fl.dev","appium:showXcodeLog":true,"appium:xcodeOrgId":"8GT4DGXXXX","appium:xcodeSigningId":"Appium Developer","appium:autoAcceptAlerts":true,"appium:includeSafariInWebviews":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]}]
[device-farm-main] 📱 Plugin Args: {"platform":"ios","iosDeviceType":"real","androidDeviceType":"both"}
[AppiumDriver@3bed] Plugins which can handle cmd 'createSession': device-farm,appium-dashboard
[AppiumDriver@3bed] Plugin appium-dashboard is now handling cmd 'createSession'
[AppiumDriver@3bed] Plugin device-farm is now handling cmd 'createSession'
[device-farm-main] 📱 pluginArgs: {"platform":"ios","iosDeviceType":"real","androidDeviceType":"both","skipChromeDownload":true,"maxSessions":8,"adbRemote":[],"emulators":[],"simulators":[],"deviceAvailabilityTimeoutMs":300000,"deviceAvailabilityQueryIntervalMs":10000,"sendNodeDevicesToHubIntervalMs":30000,"checkStaleDevicesIntervalMs":30000,"checkBlockedDevicesIntervalMs":30000,"newCommandTimeoutSec":60,"bindHostOrIp":"192.168.100.25","enableDashboard":false,"removeDevicesFromDatabaseBeforeRunningThePlugin":false}
[device-farm-main] Receiving session request at host: 192.168.100.25
[device-farm-main] 📱 Creating temporary session capability_id: 0d541721-874b-4fe1-914a-8ae4578497d2
[device-farm-main] Max session count: 8, Busy device count: 0
[device-farm-main] Waiting for free device. Filter: {"platform":"ios","busy":false,"userBlocked":false}}
[device-farm-main] 📱 Blocking device 00008110-000129292178401E at host http://192.168.100.25:4723 for new session
[device-farm-main] Updating allocated device: "{"userBlocked":false,"offline":false,"wdaLocalPort":52033,"mjpegServerPort":52034,"udid":"00008110-000129292178401E","sdk":"17.3","name":"Muhammad Rasyid’s iPhone","busy":false,"realDevice":true,"deviceType":"real","platform":"ios","host":"http://192.168.100.25:4723","totalUtilizationTimeMilliSec":0,"sessionStartTime":0,"derivedDataPath":"/Users/mohrasyidfahroni/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008110-000129292178401E","nodeId":"b8d10a9b-3f4f-492a-a25a-1fd6904c2295","meta":{"revision":0,"created":1708061583853,"version":0},"$loki":1}"
[device-farm-main] device.host: http://192.168.100.25:4723 and pluginArgs.bindHostOrIp: 192.168.100.25
[device-farm-main] 📱 Creating session on the same node
[AppiumDriver@3bed] Executing default handling behavior for command 'createSession'
[AppiumDriver@3bed] Event 'newSessionRequested' logged at 1708061588786 (12:33:08 GMT+0700 (Western Indonesia Time))
[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/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver
[Appium] Requiring driver at /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/build/index.js
[AppiumDriver@3bed] Appium v2.5.1 creating new XCUITestDriver (v7.0.1) session
[AppiumDriver@3bed] Checking BaseDriver versions for Appium and XCUITestDriver
[AppiumDriver@3bed] Appium's BaseDriver version is 9.5.2
[AppiumDriver@3bed] XCUITestDriver's BaseDriver version is 9.5.2
[XCUITestDriver@2be3] Creating session with W3C capabilities: {
[XCUITestDriver@2be3] "alwaysMatch": {
[XCUITestDriver@2be3] "platformName": "ios",
[XCUITestDriver@2be3] "appium:automationName": "xcuitest",
[XCUITestDriver@2be3] "appium:bundleId": "com.myapp.fl.dev",
[XCUITestDriver@2be3] "appium:showXcodeLog": true,
[XCUITestDriver@2be3] "appium:xcodeOrgId": "8GT4DGXXXX",
[XCUITestDriver@2be3] "appium:xcodeSigningId": "Appium Developer",
[XCUITestDriver@2be3] "appium:autoAcceptAlerts": true,
[XCUITestDriver@2be3] "appium:includeSafariInWebviews": true,
[XCUITestDriver@2be3] "appium:newCommandTimeout": 3600,
[XCUITestDriver@2be3] "appium:connectHardwareKeyboard": true,
[XCUITestDriver@2be3] "appium:clearDeviceLogsOnStart": true,
[XCUITestDriver@2be3] "appium:nativeWebScreenshot": true,
[XCUITestDriver@2be3] "appium:udid": "00008110-000129292178401E",
[XCUITestDriver@2be3] "appium:deviceName": "Muhammad Rasyid’s iPhone",
[XCUITestDriver@2be3] "appium:platformVersion": "17.3",
[XCUITestDriver@2be3] "appium:wdaLocalPort": 52033,
[XCUITestDriver@2be3] "appium:mjpegServerPort": 52034,
[XCUITestDriver@2be3] "appium:derivedDataPath": "/Users/mohrasyidfahroni/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008110-000129292178401E"
[XCUITestDriver@2be3] },
[XCUITestDriver@2be3] "firstMatch": [
[XCUITestDriver@2be3] {}
[XCUITestDriver@2be3] ]
[XCUITestDriver@2be3] }
[XCUITestDriver@2be3] The following provided capabilities were not recognized by this driver:
[XCUITestDriver@2be3] clearDeviceLogsOnStart
[XCUITestDriver@2be3] nativeWebScreenshot
[XCUITestDriver@2be3 (f9a2d69a)] Session created with session id: f9a2d69a-d219-4141-86a6-c76370fd14b2
[XCUITest] Current user: 'mohrasyidfahroni'
[XCUITestDriver@2be3 (f9a2d69a)] Available devices: 00008110-000129292178401E
[XCUITest] Creating iDevice object with udid '00008110-000129292178401E'
[XCUITestDriver@2be3 (f9a2d69a)] Determining device to run tests on: udid: '00008110-000129292178401E', real device: true
[XCUITestDriver@2be3 (f9a2d69a)] Event 'xcodeDetailsRetrieved' logged at 1708061588826 (12:33:08 GMT+0700 (Western Indonesia Time))
[XCUITestDriver@2be3 (f9a2d69a)] Event 'appConfigured' logged at 1708061588826 (12:33:08 GMT+0700 (Western Indonesia Time))
[XCUITestDriver@2be3 (f9a2d69a)] Event 'resetStarted' logged at 1708061588826 (12:33:08 GMT+0700 (Western Indonesia Time))
[XCUITest] Reset: running ios real device reset flow
[XCUITestDriver@2be3 (f9a2d69a)] Event 'resetComplete' logged at 1708061588826 (12:33:08 GMT+0700 (Western Indonesia Time))
[XCUITestDriver@2be3 (f9a2d69a)] Using WDA path: '/Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[XCUITestDriver@2be3 (f9a2d69a)] Using WDA agent: '/Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[XCUITest] Crash reports root '/Users/mohrasyidfahroni/Library/Logs/CrashReporter/MobileDevice/Muhammad Rasyid’s iPhone' does not exist. Got nothing to gather.
[XCUITestDriver@2be3 (f9a2d69a)] Event 'logCaptureStarted' logged at 1708061588951 (12:33:08 GMT+0700 (Western Indonesia Time))
[XCUITestDriver@2be3 (f9a2d69a)] Setting up real device
[XCUITestDriver@2be3 (f9a2d69a)] No obsolete cached processes from previous WDA sessions listening on port 52033 have been found
[DevCon Factory] Requesting connection for device 00008110-000129292178401E on local port 52033, device port 52033
[DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for 00008110-000129292178401E:52033
[XCUITestDriver@2be3 (f9a2d69a)] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[WD Proxy] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] WDA is not listening at 'http://127.0.0.1:52033/'
[XCUITestDriver@2be3 (f9a2d69a)] WDA is currently not running. There is nothing to cache
[XCUITestDriver@2be3 (f9a2d69a)] Trying to start WebDriverAgent 1 times with 10000ms interval
[XCUITestDriver@2be3 (f9a2d69a)] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[XCUITestDriver@2be3 (f9a2d69a)] Event 'wdaStartAttempted' logged at 1708061589210 (12:33:09 GMT+0700 (Western Indonesia Time))
[XCUITestDriver@2be3 (f9a2d69a)] Launching WebDriverAgent on the device
[XCUITestDriver@2be3 (f9a2d69a)] There is no need to perform the project cleanup. A fresh install has been detected
[WebDriverAgent] Killing running processes 'xcodebuild.*00008110-000129292178401E' for the device 00008110-000129292178401E...
[WebDriverAgent] 'pgrep -if xcodebuild.*00008110-000129292178401E' didn't detect any matching processes. Return code: 1
[XCUITestDriver@2be3 (f9a2d69a)] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/mohrasyidfahroni/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008110-000129292178401E -destination id=00008110-000129292178401E IPHONEOS_DEPLOYMENT_TARGET=17.3 DEVELOPMENT_TEAM=8GT4DGXXXX CODE_SIGN_IDENTITY=Appium Developer GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[XCUITestDriver@2be3 (f9a2d69a)] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[Xcode] Command line invocation:
[Xcode]
[XCUITestDriver@2be3 (f9a2d69a)] Waiting up to 60000ms for WebDriverAgent to start
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[Xcode] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/mohrasyidfahroni/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008110-000129292178401E -destination id=00008110-000129292178401E IPHONEOS_DEPLOYMENT_TARGET=17.3 DEVELOPMENT_TEAM=8GT4DGXXXX "CODE_SIGN_IDENTITY=Appium Developer" GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO
[Xcode]
[Xcode] User defaults from command line:
[Xcode] IDEDerivedDataPathOverride = /Users/mohrasyidfahroni/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008110-000129292178401E
[Xcode] IDEPackageSupportUseBuiltinSCM = YES
[Xcode]
[Xcode] Build settings from command line:
[Xcode] CODE_SIGN_IDENTITY = Appium Developer
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] DEVELOPMENT_TEAM = 8GT4DGXXXX
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 17.3
[Xcode]
[Xcode]
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[Xcode] Prepare packages
[Xcode]
[Xcode]
[Xcode]
[Xcode] note: Using codesigning identity override: Appium Developer
[Xcode]
[Xcode] ComputeTargetDependencyGraph
[Xcode]
[Xcode] note: Building targets in dependency order
[Xcode]
[Xcode] note: Target dependency graph (2 targets)
[Xcode] Target 'WebDriverAgentRunner' in project 'WebDriverAgent'
[Xcode] ➜ Explicit dependency on target 'WebDriverAgentLib' in project 'WebDriverAgent'
[Xcode] Target 'WebDriverAgentLib' in project 'WebDriverAgent' (no dependencies)
[Xcode]
[Xcode]
[Xcode]
[Xcode] GatherProvisioningInputs
[Xcode]
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[Xcode]
[Xcode]
[Xcode] CreateBuildDescription
[Xcode]
[Xcode]
[Xcode]
[Xcode] /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj: error: WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity Appium Developer has been manually specified. Set the code signing identity value to "Apple Development" in the build settings editor, or switch to manual signing in the Signing & Capabilities editor. (in target 'WebDriverAgentLib' from project 'WebDriverAgent')
[Xcode]
[Xcode] /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 17.3, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'WebDriverAgentLib' from project 'WebDriverAgent')
[Xcode] /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj: error: WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity Appium Developer has been manually specified. Set the code signing identity value to "Apple Development" in the build settings editor, or switch to manual signing in the Signing & Capabilities editor. (in target 'WebDriverAgentRunner' from project 'WebDriverAgent')
[Xcode]
[Xcode] /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 17.3, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'WebDriverAgentRunner' from project 'WebDriverAgent')
[Xcode]
[Xcode] 2024-02-16 12:33:15.520 xcodebuild[14144:108508] Writing error result bundle to /var/folders/fz/60myx0_d0vxg4lck4m60c8lc0000gn/T/ResultBundle_2024-16-02_12-33-0015.xcresult
[Xcode]
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[Xcode] xcodebuild: error: Failed writing xctestrun file: The folder “WebDriverAgentRunner_iphoneos17.2-arm64.xctestrun” doesn’t exist..
[Xcode]
[Xcode] xcodebuild exited with code '70' and signal 'null'
[XCUITestDriver@2be3 (f9a2d69a)] Launching WebDriverAgent on the device
[XCUITestDriver@2be3 (f9a2d69a)] There is no need to perform the project cleanup. A fresh install has been detected
[WebDriverAgent] Killing running processes 'xcodebuild.*00008110-000129292178401E' for the device 00008110-000129292178401E...
[WebDriverAgent] 'pgrep -if xcodebuild.*00008110-000129292178401E' didn't detect any matching processes. Return code: 1
[XCUITestDriver@2be3 (f9a2d69a)] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/mohrasyidfahroni/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008110-000129292178401E -destination id=00008110-000129292178401E IPHONEOS_DEPLOYMENT_TARGET=17.3 DEVELOPMENT_TEAM=8GT4DGXXXX CODE_SIGN_IDENTITY=Appium Developer GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[XCUITestDriver@2be3 (f9a2d69a)] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[Xcode] Command line invocation:
[Xcode]
[XCUITestDriver@2be3 (f9a2d69a)] Waiting up to 60000ms for WebDriverAgent to start
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[Xcode] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/mohrasyidfahroni/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008110-000129292178401E -destination id=00008110-000129292178401E IPHONEOS_DEPLOYMENT_TARGET=17.3 DEVELOPMENT_TEAM=8GT4DGXXXX "CODE_SIGN_IDENTITY=Appium Developer" GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO
[Xcode]
[Xcode] User defaults from command line:
[Xcode] IDEDerivedDataPathOverride = /Users/mohrasyidfahroni/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008110-000129292178401E
[Xcode] IDEPackageSupportUseBuiltinSCM = YES
[Xcode]
[Xcode] Build settings from command line:
[Xcode] CODE_SIGN_IDENTITY = Appium Developer
[Xcode] COMPILER_INDEX_STORE_ENABLE = NO
[Xcode] DEVELOPMENT_TEAM = 8GT4DGXXXX
[Xcode] GCC_TREAT_WARNINGS_AS_ERRORS = 0
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 17.3
[Xcode]
[Xcode]
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[Xcode] Prepare packages
[Xcode]
[Xcode]
[Xcode] note: Using codesigning identity override: Appium Developer
[Xcode]
[Xcode] ComputeTargetDependencyGraph
[Xcode]
[Xcode] note: Building targets in dependency order
[Xcode]
[Xcode] note: Target dependency graph (2 targets)
[Xcode] Target 'WebDriverAgentRunner' in project 'WebDriverAgent'
[Xcode] ➜ Explicit dependency on target 'WebDriverAgentLib' in project 'WebDriverAgent'
[Xcode] Target 'WebDriverAgentLib' in project 'WebDriverAgent' (no dependencies)
[Xcode]
[Xcode]
[Xcode] GatherProvisioningInputs
[Xcode]
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[Xcode]
[Xcode]
[Xcode] CreateBuildDescription
[Xcode]
[Xcode]
[Xcode]
[Xcode] /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj: error: WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity Appium Developer has been manually specified. Set the code signing identity value to "Apple Development" in the build settings editor, or switch to manual signing in the Signing & Capabilities editor. (in target 'WebDriverAgentLib' from project 'WebDriverAgent')
[Xcode]
[Xcode] /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 17.3, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'WebDriverAgentLib' from project 'WebDriverAgent')
[Xcode]
[Xcode] /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj: error: WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity Appium Developer has been manually specified. Set the code signing identity value to "Apple Development" in the build settings editor, or switch to manual signing in the Signing & Capabilities editor. (in target 'WebDriverAgentRunner' from project 'WebDriverAgent')
[Xcode]
[Xcode] /Users/mohrasyidfahroni/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 17.3, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'WebDriverAgentRunner' from project 'WebDriverAgent')
[Xcode]
[Xcode] 2024-02-16 12:33:21.725 xcodebuild[14165:108701] Writing error result bundle to /var/folders/fz/60myx0_d0vxg4lck4m60c8lc0000gn/T/ResultBundle_2024-16-02_12-33-0021.xcresult
[Xcode]
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[XCUITestDriver@2be3 (f9a2d69a)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3 (f9a2d69a)] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[iProxy@00008110:52033] Connection was refused to port 52033
[XCUITestDriver@2be3 (f9a2d69a)] socket hang up
[Xcode] xcodebuild: error: Failed writing xctestrun file: The folder “WebDriverAgentRunner_iphoneos17.2-arm64.xctestrun” doesn’t exist..
[Xcode]
[Xcode] xcodebuild exited with code '70' and signal 'null'
[XCUITestDriver@2be3 (f9a2d69a)] Event 'wdaStartFailed' logged at 1708061602856 (12:33:22 GMT+0700 (Western Indonesia Time))
[XCUITestDriver@2be3 (f9a2d69a)] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70. This usually indicates an issue with the local Xcode setup or WebDriverAgent project configuration or the driver-to-platform version mismatch. Consider checking the WebDriverAgent configuration guide for real iOS devices at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md.. Make sure you follow the tutorial at https://appium.github.io/appium-xcuitest-driver/latest/preparation/real-device-config/. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[XCUITestDriver@2be3 (f9a2d69a)] Quitting and uninstalling WebDriverAgent
[XCUITestDriver@2be3 (f9a2d69a)] Shutting down sub-processes
[XCUITestDriver@2be3 (f9a2d69a)] No WDAs on the device.
[XCUITestDriver@2be3 (f9a2d69a)] {}
[DevCon Factory] Releasing connections for 00008110-000129292178401E device on any port number
[DevCon Factory] Found cached connections to release: ["00008110-000129292178401E:52033"]
[DevCon Factory] Releasing the listener for '00008110-000129292178401E:52033'
[iProxy@00008110:52033] Closing the connection
[DevCon Factory] Cached connections count: 0
[XCUITestDriver@2be3 (f9a2d69a)] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iProxy@00008110:52033] The connection has been closed
[AppiumDriver@3bed] Event 'newSessionStarted' logged at 1708061603075 (12:33:23 GMT+0700 (Western Indonesia Time))
[device-farm-main] 📱 Session response:
[device-farm-main] {"protocol":"W3C","error":{}}
[device-farm-main] 📱 Removing pending session with capability_id: 0d541721-874b-4fe1-914a-8ae4578497d2
[device-farm-main] Unblocked device 00008110-000129292178401E from host http://192.168.100.25:4723
[device-farm-main] 📱 Device UDID 00008110-000129292178401E unblocked. Reason: Failed to create session
[AppiumDriver@3bed] Encountered internal error running command: Error: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70. This usually indicates an issue with the local Xcode setup or WebDriverAgent project configuration or the driver-to-platform version mismatch. Consider checking the WebDriverAgent configuration guide for real iOS devices at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md.. Make sure you follow the tutorial at https://appium.github.io/appium-xcuitest-driver/latest/preparation/real-device-config/. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[AppiumDriver@3bed] at DevicePlugin.throwProperError (/Users/mohrasyidfahroni/.appium/node_modules/appium-device-farm/lib/src/plugin.js:320:23)
[AppiumDriver@3bed] at DevicePlugin.<anonymous> (/Users/mohrasyidfahroni/.appium/node_modules/appium-device-farm/lib/src/plugin.js:308:22)
[AppiumDriver@3bed] at Generator.next (<anonymous>)
[AppiumDriver@3bed] at fulfilled (/Users/mohrasyidfahroni/.appium/node_modules/appium-device-farm/lib/src/plugin.js:28:58)
[HTTP] <-- POST /wd/hub/session 500 14306 ms - 1804
[HTTP]
[XCUITestDriver@2be3] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[XCUITestDriver@2be3] connect ECONNREFUSED 127.0.0.1:52033
[XCUITestDriver@2be3] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[XCUITestDriver@2be3] connect ECONNREFUSED 127.0.0.1:52033
[XCUITestDriver@2be3] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[XCUITestDriver@2be3] connect ECONNREFUSED 127.0.0.1:52033
[XCUITestDriver@2be3] Matched '/status' to command name 'getStatus'
[XCUITestDriver@2be3] Proxying [GET /status] to [GET http://127.0.0.1:52033/status] with no body
[XCUITestDriver@2be3] connect ECONNREFUSED 127.0.0.1:52033
^C[Appium] Received SIGINT - shutting down
[AppiumDriver@3bed] There are no active sessions for cleanup
[HTTP] Waiting until the server is closed
[HTTP] Received server close event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment