[info] [Appium] Welcome to Appium v1.22.0 [info] [Appium] Non-default server args: [info] [Appium] address: 127.0.0.1 [info] [Appium] port: 8101 [info] [Appium] relaxedSecurityEnabled: true [info] [Appium] allowInsecure: { [info] [Appium] } [info] [Appium] denyInsecure: { [info] [Appium] } [info] [Appium] Appium REST http interface listener started on 127.0.0.1:8101[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},"firstMatch":[{}]},"desiredCapabilities":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},null,{"alwaysMatch":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1635243851985 (12:24:11 GMT+0200 (Central European Summer Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] xcodeOrgId [warn] [BaseDriver] xcodeSigningId [warn] [BaseDriver] deviceName [warn] [BaseDriver] udid [warn] [BaseDriver] platformVersion [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] newCommandTimeout [warn] [BaseDriver] Number capability passed in as string. Functionality may be compromised. [info] [Appium] Appium v1.22.0 creating new XCUITestDriver (v3.53.1) session [info] [Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "appium:xcodeOrgId": "onstruc", [debug] [BaseDriver] "appium:xcodeSigningId": "onstruc.testdummy@gmail.com", [debug] [BaseDriver] "appium:deviceName": "iPhone 6", [debug] [BaseDriver] "appium:udid": "33098117b88ee9be00671163ee4fe1a241a75b50", [debug] [BaseDriver] "platformName": "ios", [debug] [BaseDriver] "appium:platformVersion": "12", [debug] [BaseDriver] "appium:app": "/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app", [debug] [BaseDriver] "appium:automationName": "XCUITest", [debug] [BaseDriver] "appium:newCommandTimeout": "99999" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Number capability passed in as string. Functionality may be compromised. [warn] [BaseDriver] Capability 'newCommandTimeout' changed from string ('99999') to integer (99999). This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 95e9aada-d8b9-46b9-9231-252baf595c2f[debug] [XCUITest] Current user: 'onstructestdummy' [debug] [XCUITest] Available devices: 33098117b88ee9be00671163ee4fe1a241a75b50 [debug] [XCUITest] Creating iDevice object with udid '33098117b88ee9be00671163ee4fe1a241a75b50' [info] [XCUITest] Determining device to run tests on: udid: '33098117b88ee9be00671163ee4fe1a241a75b50', real device: true [info] [XCUITest] Normalized platformVersion capability value '12' to '12.0'[debug] [XCUITest] Current user: 'onstructestdummy' [debug] [XCUITest] Available devices: 33098117b88ee9be00671163ee4fe1a241a75b50 [debug] [XCUITest] Creating iDevice object with udid '33098117b88ee9be00671163ee4fe1a241a75b50' [info] [XCUITest] Determining device to run tests on: udid: '33098117b88ee9be00671163ee4fe1a241a75b50', real device: true [info] [XCUITest] Normalized platformVersion capability value '12' to '12.0' [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1635243855273 (12:24:15 GMT+0200 (Central European Summer Time))[debug] [XCUITest] Getting bundle ID from app '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app': 'de.onstruc.onstrucapp' [debug] [BaseDriver] Event 'resetStarted' logged at 1635243855341 (12:24:15 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Reset: running ios real device reset flow [debug] [BaseDriver] Event 'resetComplete' logged at 1635243855342 (12:24:15 GMT+0200 (Central European Summer Time)) [info] [WebDriverAgent] Using WDA path: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [info] [WebDriverAgent] Using WDA agent: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1635243855902 (12:24:15 GMT+0200 (Central European Summer Time)) [info] [XCUITest] Setting up real device [debug] [XCUITest] Verifying application platform [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] Reset requested. Removing app with id 'de.onstruc.onstrucapp' from the device[debug] [XCUITest] Installing '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app' on device with UUID '33098117b88ee9be00671163ee4fe1a241a75b50'...[debug] [XCUITest] Pushed the app files successfully after 16691ms[info] [XCUITest] App installation succeeded after 18708ms [debug] [XCUITest] The app has been installed successfully. [debug] [BaseDriver] Event 'appInstalled' logged at 1635243875450 (12:24:35 GMT+0200 (Central European Summer Time))[debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [info] [DevCon Factory] Requesting connection for device 33098117b88ee9be00671163ee4fe1a241a75b50 on local port 8100, device port 8100 [debug] [DevCon Factory] Cached connections count: 0 [info] [DevCon Factory] Successfully requested the connection for 33098117b88ee9be00671163ee4fe1a241a75b50:8100 [debug] [XCUITest] 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[debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/' [debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1635243875929 (12:24:35 GMT+0200 (Central European Summer Time)) [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1632535255000 >= 1632535255000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' for the device 33098117b88ee9be00671163ee4fe1a241a75b50...[debug] [WebDriverAgent] Writing xcode config file to /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-8igrbk.wkn9a/appium-temp.xcconfig [debug] [WebDriverAgent] Using Xcode configuration file: '/var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-8igrbk.wkn9a/appium-temp.xcconfig' [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=33098117b88ee9be00671163ee4fe1a241a75b50 IPHONEOS_DEPLOYMENT_TARGET=12.0 -xcconfig /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-8igrbk.wkn9a/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products' [debug] [WebDriverAgent] Got derived data root: '/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou' [error] [Xcode] 2021-10-26 12:25:37.084 xcodebuild[707:9629] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fccc81cb1f0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [error] [Xcode] [error] [Xcode] ** TEST BUILD FAILED ** [error] [Xcode] [error] [Xcode] [error] [Xcode] [error] [Xcode] [error] [Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-33-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] 2021-10-26 12:25:37.495 xcodebuild[707:8513] [MT] IDETestOperationsObserverDebug: 0.398 elapsed -- Testing started completed. [error] [Xcode] 2021-10-26 12:25:37.495 xcodebuild[707:8513] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [error] [Xcode] 2021-10-26 12:25:37.495 xcodebuild[707:8513] [MT] IDETestOperationsObserverDebug: 0.398 sec, +0.398 sec -- end [error] [Xcode] [error] [Xcode] [error] [Xcode] Test session results, code coverage, and logs: [error] [Xcode] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-33-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing failed: [error] [Xcode] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentRunner: [error] [Xcode] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-33-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [error] [Xcode] [error] [Xcode] ** TEST EXECUTE FAILED ** [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing started [error] [Xcode] [error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1632535255000 >= 1632535255000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' for the device 33098117b88ee9be00671163ee4fe1a241a75b50...[debug] [WebDriverAgent] Using Xcode configuration file: '/var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-8igrbk.wkn9a/appium-temp.xcconfig' [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou -destination id=33098117b88ee9be00671163ee4fe1a241a75b50 IPHONEOS_DEPLOYMENT_TARGET=12.0 -xcconfig /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-8igrbk.wkn9a/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [error] [Xcode] 2021-10-26 12:25:40.479 xcodebuild[752:9901] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fbee7a9bd60 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [error] [Xcode] [error] [Xcode] ** TEST BUILD FAILED ** [error] [Xcode] [error] [Xcode] [error] [Xcode] [error] [Xcode] [error] [Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-40-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] 2021-10-26 12:25:40.870 xcodebuild[752:9706] [MT] IDETestOperationsObserverDebug: 0.381 elapsed -- Testing started completed. [error] [Xcode] 2021-10-26 12:25:40.870 xcodebuild[752:9706] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [error] [Xcode] 2021-10-26 12:25:40.870 xcodebuild[752:9706] [MT] IDETestOperationsObserverDebug: 0.381 sec, +0.381 sec -- end [error] [Xcode] [error] [Xcode] [error] [Xcode] Test session results, code coverage, and logs: [error] [Xcode] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-40-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing failed: [error] [Xcode] [error] [Xcode] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] [error] [Xcode] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentRunner: [error] [Xcode] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-40-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [error] [Xcode] [error] [Xcode] ** TEST EXECUTE FAILED ** [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing started [error] [Xcode] [error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [debug] [BaseDriver] Event 'wdaStartFailed' logged at 1635243940958 (12:25:40 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 [debug] [XCUITest] xcodebuild error message: [debug] [XCUITest] [debug] [XCUITest] 2021-10-26 12:25:40.479 xcodebuild[752:9901] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fbee7a9bd60 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [debug] [XCUITest] ** TEST BUILD FAILED ** [debug] [XCUITest] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-40-+0200.xcresult [debug] [XCUITest] 2021-10-26 12:25:40.870 xcodebuild[752:9706] [MT] IDETestOperationsObserverDebug: 0.381 elapsed -- Testing started completed. [debug] [XCUITest] 2021-10-26 12:25:40.870 xcodebuild[752:9706] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [debug] [XCUITest] 2021-10-26 12:25:40.870 xcodebuild[752:9706] [MT] IDETestOperationsObserverDebug: 0.381 sec, +0.381 sec -- end [debug] [XCUITest] Test session results, code coverage, and logs: [debug] [XCUITest] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-40-+0200.xcresult [debug] [XCUITest] Testing failed: [debug] [XCUITest] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [XCUITest] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [XCUITest] WebDriverAgentRunner: [debug] [XCUITest] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-40-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [debug] [XCUITest] ** TEST EXECUTE FAILED ** [debug] [XCUITest] Testing started. 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 [info] [WebDriverAgent] Shutting down sub-processes [debug] [WebDriverAgent] No WDAs on the device. [error] [XCUITest] {} [info] [DevCon Factory] Releasing connections for 33098117b88ee9be00671163ee4fe1a241a75b50 device on any port number [info] [DevCon Factory] Found cached connections to release: ["33098117b88ee9be00671163ee4fe1a241a75b50:8100"] [info] [DevCon Factory] Releasing the listener for '33098117b88ee9be00671163ee4fe1a241a75b50:8100' [debug] [iProxy@33098117:8100] Closing the connection [debug] [DevCon Factory] Cached connections count: 0 [debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on. [info] [iProxy@33098117:8100] The connection has been closed [debug] [BaseDriver] Event 'newSessionStarted' logged at 1635243941155 (12:25:41 GMT+0200 (Central European Summer Time)) [debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 [debug] [W3C] xcodebuild error message: [debug] [W3C] [debug] [W3C] 2021-10-26 12:25:40.479 xcodebuild[752:9901] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fbee7a9bd60 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [debug] [W3C] ** TEST BUILD FAILED ** [debug] [W3C] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-40-+0200.xcresult [debug] [W3C] 2021-10-26 12:25:40.870 xcodebuild[752:9706] [MT] IDETestOperationsObserverDebug: 0.381 elapsed -- Testing started completed. [debug] [W3C] 2021-10-26 12:25:40.870 xcodebuild[752:9706] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [debug] [W3C] 2021-10-26 12:25:40.870 xcodebuild[752:9706] [MT] IDETestOperationsObserverDebug: 0.381 sec, +0.381 sec -- end [debug] [W3C] Test session results, code coverage, and logs: [debug] [W3C] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-40-+0200.xcresult [debug] [W3C] Testing failed: [debug] [W3C] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [W3C] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [W3C] WebDriverAgentRunner: [debug] [W3C] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-40-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [debug] [W3C] ** TEST EXECUTE FAILED ** [debug] [W3C] Testing started. 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 quitAndUninstall (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:592:15) [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:627:11 [debug] [W3C] at wrapped (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:60:13) [debug] [W3C] at retry (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:43:13) [debug] [W3C] at retryInterval (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:70:10) [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:607:7 [info] [HTTP] <-- POST /wd/hub/session 500 89238 ms - 7277 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},"firstMatch":[{}]},"desiredCapabilities":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},null,{"alwaysMatch":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1635243941268 (12:25:41 GMT+0200 (Central European Summer Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] xcodeOrgId [warn] [BaseDriver] xcodeSigningId [warn] [BaseDriver] deviceName [warn] [BaseDriver] udid [warn] [BaseDriver] platformVersion [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] newCommandTimeout [warn] [BaseDriver] Number capability passed in as string. Functionality may be compromised. [info] [Appium] Appium v1.22.0 creating new XCUITestDriver (v3.53.1) session [info] [Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "appium:xcodeOrgId": "onstruc", [debug] [BaseDriver] "appium:xcodeSigningId": "onstruc.testdummy@gmail.com", [debug] [BaseDriver] "appium:deviceName": "iPhone 6", [debug] [BaseDriver] "appium:udid": "33098117b88ee9be00671163ee4fe1a241a75b50", [debug] [BaseDriver] "platformName": "ios", [debug] [BaseDriver] "appium:platformVersion": "12", [debug] [BaseDriver] "appium:app": "/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app", [debug] [BaseDriver] "appium:automationName": "XCUITest", [debug] [BaseDriver] "appium:newCommandTimeout": "99999" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Number capability passed in as string. Functionality may be compromised. [warn] [BaseDriver] Capability 'newCommandTimeout' changed from string ('99999') to integer (99999). This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 679fc166-9b44-4205-93e1-b8d098d2d5a1 [debug] [XCUITest] Current user: 'onstructestdummy' [debug] [XCUITest] Available devices: 33098117b88ee9be00671163ee4fe1a241a75b50 [debug] [XCUITest] Creating iDevice object with udid '33098117b88ee9be00671163ee4fe1a241a75b50' [info] [XCUITest] Determining device to run tests on: udid: '33098117b88ee9be00671163ee4fe1a241a75b50', real device: true [info] [XCUITest] Normalized platformVersion capability value '12' to '12.0' [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1635243941319 (12:25:41 GMT+0200 (Central European Summer Time)) [info] [BaseDriver] Using local app '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app' [debug] [BaseDriver] Event 'appConfigured' logged at 1635243941320 (12:25:41 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Checking whether app '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app' is actually present on file system [debug] [XCUITest] App is present [debug] [XCUITest] Getting bundle ID from app '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app': 'de.onstruc.onstrucapp' [debug] [BaseDriver] Event 'resetStarted' logged at 1635243941325 (12:25:41 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Reset: running ios real device reset flow [debug] [BaseDriver] Event 'resetComplete' logged at 1635243941325 (12:25:41 GMT+0200 (Central European Summer Time)) [info] [WebDriverAgent] Using WDA path: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [info] [WebDriverAgent] Using WDA agent: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1635243941570 (12:25:41 GMT+0200 (Central European Summer Time)) [info] [XCUITest] Setting up real device [debug] [XCUITest] Verifying application platform [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] Reset requested. Removing app with id 'de.onstruc.onstrucapp' from the device[debug] [XCUITest] Installing '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app' on device with UUID '33098117b88ee9be00671163ee4fe1a241a75b50'...[debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products' [debug] [WebDriverAgent] Got derived data root: '/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou'[debug] [XCUITest] Pushed the app files successfully after 10235ms[info] [XCUITest] App installation succeeded after 12156ms [debug] [XCUITest] The app has been installed successfully. [debug] [BaseDriver] Event 'appInstalled' logged at 1635243954171 (12:25:54 GMT+0200 (Central European Summer Time)) [debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [info] [DevCon Factory] Requesting connection for device 33098117b88ee9be00671163ee4fe1a241a75b50 on local port 8100, device port 8100 [debug] [DevCon Factory] Cached connections count: 0 [info] [DevCon Factory] Successfully requested the connection for 33098117b88ee9be00671163ee4fe1a241a75b50:8100[debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/' [debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1635243954248 (12:25:54 GMT+0200 (Central European Summer Time)) [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1632535255000 >= 1632535255000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' for the device 33098117b88ee9be00671163ee4fe1a241a75b50... [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] Generating xcode config file for orgId 'onstruc' and signingId 'onstruc.testdummy@gmail.com' [debug] [WebDriverAgent] Writing xcode config file to /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-18efh4x.re7c/appium-temp.xcconfig [debug] [WebDriverAgent] Using Xcode configuration file: '/var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-18efh4x.re7c/appium-temp.xcconfig' [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou -destination id=33098117b88ee9be00671163ee4fe1a241a75b50 IPHONEOS_DEPLOYMENT_TARGET=12.0 -xcconfig /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-18efh4x.re7c/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[error] [Xcode] 2021-10-26 12:25:57.033 xcodebuild[778:10419] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fc7ed0f86d0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [error] [Xcode] [error] [Xcode] ** TEST BUILD FAILED ** [error] [Xcode] [error] [Xcode] [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[error] [Xcode] [error] [Xcode] [error] [Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-56-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] 2021-10-26 12:25:57.423 xcodebuild[778:10220] [MT] IDETestOperationsObserverDebug: 0.380 elapsed -- Testing started completed. [error] [Xcode] 2021-10-26 12:25:57.423 xcodebuild[778:10220] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [error] [Xcode] 2021-10-26 12:25:57.423 xcodebuild[778:10220] [MT] IDETestOperationsObserverDebug: 0.380 sec, +0.380 sec -- end [error] [Xcode] [error] [Xcode] [error] [Xcode] Test session results, code coverage, and logs: [error] [Xcode] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-56-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing failed: [error] [Xcode] [error] [Xcode] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentRunner: [error] [Xcode] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-56-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [error] [Xcode] [error] [Xcode] [error] [Xcode] ** TEST EXECUTE FAILED ** [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing started [error] [Xcode] [error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1632535255000 >= 1632535255000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' for the device 33098117b88ee9be00671163ee4fe1a241a75b50... [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] Using Xcode configuration file: '/var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-18efh4x.re7c/appium-temp.xcconfig' [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou -destination id=33098117b88ee9be00671163ee4fe1a241a75b50 IPHONEOS_DEPLOYMENT_TARGET=12.0 -xcconfig /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-18efh4x.re7c/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[error] [Xcode] 2021-10-26 12:26:00.048 xcodebuild[785:10647] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fa8d3581ca0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [error] [Xcode] [error] [Xcode] ** TEST BUILD FAILED ** [error] [Xcode] [error] [Xcode] [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [error] [Xcode] [error] [Xcode] [error] [Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-59-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] 2021-10-26 12:26:00.460 xcodebuild[785:10462] [MT] IDETestOperationsObserverDebug: 0.402 elapsed -- Testing started completed. [error] [Xcode] [error] [Xcode] 2021-10-26 12:26:00.460 xcodebuild[785:10462] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [error] [Xcode] 2021-10-26 12:26:00.460 xcodebuild[785:10462] [MT] IDETestOperationsObserverDebug: 0.402 sec, +0.402 sec -- end [error] [Xcode] [error] [Xcode] [error] [Xcode] Test session results, code coverage, and logs: [error] [Xcode] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-59-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing failed: [error] [Xcode] [error] [Xcode] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentRunner: [error] [Xcode] [error] [Xcode] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-59-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [error] [Xcode] [error] [Xcode] [error] [Xcode] ** TEST EXECUTE FAILED ** [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing started [error] [Xcode] [error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [debug] [BaseDriver] Event 'wdaStartFailed' logged at 1635243960550 (12:26:00 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 [debug] [XCUITest] xcodebuild error message: [debug] [XCUITest] [debug] [XCUITest] 2021-10-26 12:26:00.048 xcodebuild[785:10647] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fa8d3581ca0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [debug] [XCUITest] ** TEST BUILD FAILED ** [debug] [XCUITest] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-59-+0200.xcresult [debug] [XCUITest] 2021-10-26 12:26:00.460 xcodebuild[785:10462] [MT] IDETestOperationsObserverDebug: 0.402 elapsed -- Testing started completed. [debug] [XCUITest] 2021-10-26 12:26:00.460 xcodebuild[785:10462] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [debug] [XCUITest] 2021-10-26 12:26:00.460 xcodebuild[785:10462] [MT] IDETestOperationsObserverDebug: 0.402 sec, +0.402 sec -- end [debug] [XCUITest] Test session results, code coverage, and logs: [debug] [XCUITest] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-59-+0200.xcresult [debug] [XCUITest] Testing failed: [debug] [XCUITest] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [XCUITest] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [XCUITest] WebDriverAgentRunner: [debug] [XCUITest] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-59-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [debug] [XCUITest] ** TEST EXECUTE FAILED ** [debug] [XCUITest] Testing started. 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 [info] [WebDriverAgent] Shutting down sub-processes [debug] [WebDriverAgent] No WDAs on the device. [error] [XCUITest] {} [info] [DevCon Factory] Releasing connections for 33098117b88ee9be00671163ee4fe1a241a75b50 device on any port number [info] [DevCon Factory] Found cached connections to release: ["33098117b88ee9be00671163ee4fe1a241a75b50:8100"] [info] [DevCon Factory] Releasing the listener for '33098117b88ee9be00671163ee4fe1a241a75b50:8100' [debug] [iProxy@33098117:8100] Closing the connection [debug] [DevCon Factory] Cached connections count: 0 [debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on. [info] [iProxy@33098117:8100] The connection has been closed [debug] [BaseDriver] Event 'newSessionStarted' logged at 1635243960731 (12:26:00 GMT+0200 (Central European Summer Time)) [debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 [debug] [W3C] xcodebuild error message: [debug] [W3C] [debug] [W3C] 2021-10-26 12:26:00.048 xcodebuild[785:10647] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fa8d3581ca0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [debug] [W3C] ** TEST BUILD FAILED ** [debug] [W3C] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-59-+0200.xcresult [debug] [W3C] 2021-10-26 12:26:00.460 xcodebuild[785:10462] [MT] IDETestOperationsObserverDebug: 0.402 elapsed -- Testing started completed. [debug] [W3C] 2021-10-26 12:26:00.460 xcodebuild[785:10462] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [debug] [W3C] 2021-10-26 12:26:00.460 xcodebuild[785:10462] [MT] IDETestOperationsObserverDebug: 0.402 sec, +0.402 sec -- end [debug] [W3C] Test session results, code coverage, and logs: [debug] [W3C] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-59-+0200.xcresult [debug] [W3C] Testing failed: [debug] [W3C] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [W3C] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [W3C] WebDriverAgentRunner: [debug] [W3C] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-25-59-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [debug] [W3C] ** TEST EXECUTE FAILED ** [debug] [W3C] Testing started. 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 quitAndUninstall (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:592:15) [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:627:11 [debug] [W3C] at wrapped (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:60:13) [debug] [W3C] at retry (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:43:13) [debug] [W3C] at retryInterval (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:70:10) [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:607:7 [info] [HTTP] <-- POST /wd/hub/session 500 19469 ms - 7285 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},"firstMatch":[{}]},"desiredCapabilities":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},null,{"alwaysMatch":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1635243960755 (12:26:00 GMT+0200 (Central European Summer Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] xcodeOrgId [warn] [BaseDriver] xcodeSigningId [warn] [BaseDriver] deviceName [warn] [BaseDriver] udid [warn] [BaseDriver] platformVersion [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] newCommandTimeout [warn] [BaseDriver] Number capability passed in as string. Functionality may be compromised. [info] [Appium] Appium v1.22.0 creating new XCUITestDriver (v3.53.1) session [info] [Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "appium:xcodeOrgId": "onstruc", [debug] [BaseDriver] "appium:xcodeSigningId": "onstruc.testdummy@gmail.com", [debug] [BaseDriver] "appium:deviceName": "iPhone 6", [debug] [BaseDriver] "appium:udid": "33098117b88ee9be00671163ee4fe1a241a75b50", [debug] [BaseDriver] "platformName": "ios", [debug] [BaseDriver] "appium:platformVersion": "12", [debug] [BaseDriver] "appium:app": "/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app", [debug] [BaseDriver] "appium:automationName": "XCUITest", [debug] [BaseDriver] "appium:newCommandTimeout": "99999" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Number capability passed in as string. Functionality may be compromised. [warn] [BaseDriver] Capability 'newCommandTimeout' changed from string ('99999') to integer (99999). This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 44316526-5be8-4bc4-b1c3-fab9be51dcb9[debug] [XCUITest] Current user: 'onstructestdummy' [debug] [XCUITest] Available devices: 33098117b88ee9be00671163ee4fe1a241a75b50 [debug] [XCUITest] Creating iDevice object with udid '33098117b88ee9be00671163ee4fe1a241a75b50' [info] [XCUITest] Determining device to run tests on: udid: '33098117b88ee9be00671163ee4fe1a241a75b50', real device: true [info] [XCUITest] Normalized platformVersion capability value '12' to '12.0' [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1635243960802 (12:26:00 GMT+0200 (Central European Summer Time)) [info] [BaseDriver] Using local app '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app' [debug] [BaseDriver] Event 'appConfigured' logged at 1635243960804 (12:26:00 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Checking whether app '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app' is actually present on file system [debug] [XCUITest] App is present [debug] [XCUITest] Getting bundle ID from app '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app': 'de.onstruc.onstrucapp' [debug] [BaseDriver] Event 'resetStarted' logged at 1635243960811 (12:26:00 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Reset: running ios real device reset flow [debug] [BaseDriver] Event 'resetComplete' logged at 1635243960813 (12:26:00 GMT+0200 (Central European Summer Time)) [info] [WebDriverAgent] Using WDA path: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [info] [WebDriverAgent] Using WDA agent: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1635243961065 (12:26:01 GMT+0200 (Central European Summer Time)) [info] [XCUITest] Setting up real device [debug] [XCUITest] Verifying application platform [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"] [debug] [XCUITest] Reset requested. Removing app with id 'de.onstruc.onstrucapp' from the device[debug] [XCUITest] Installing '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app' on device with UUID '33098117b88ee9be00671163ee4fe1a241a75b50'...[debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products' [debug] [WebDriverAgent] Got derived data root: '/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou'[debug] [XCUITest] Pushed the app files successfully after 10643ms[info] [XCUITest] App installation succeeded after 12560ms [debug] [XCUITest] The app has been installed successfully. [debug] [BaseDriver] Event 'appInstalled' logged at 1635243974077 (12:26:14 GMT+0200 (Central European Summer Time)) [debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [info] [DevCon Factory] Requesting connection for device 33098117b88ee9be00671163ee4fe1a241a75b50 on local port 8100, device port 8100 [debug] [DevCon Factory] Cached connections count: 0 [info] [DevCon Factory] Successfully requested the connection for 33098117b88ee9be00671163ee4fe1a241a75b50:8100 [debug] [XCUITest] 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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/' [debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1635243974135 (12:26:14 GMT+0200 (Central European Summer Time)) [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1632535255000 >= 1632535255000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' for the device 33098117b88ee9be00671163ee4fe1a241a75b50... [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] Generating xcode config file for orgId 'onstruc' and signingId 'onstruc.testdummy@gmail.com' [debug] [WebDriverAgent] Writing xcode config file to /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-1xjhs4e.8mvif/appium-temp.xcconfig [debug] [WebDriverAgent] Using Xcode configuration file: '/var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-1xjhs4e.8mvif/appium-temp.xcconfig' [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou -destination id=33098117b88ee9be00671163ee4fe1a241a75b50 IPHONEOS_DEPLOYMENT_TARGET=12.0 -xcconfig /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-1xjhs4e.8mvif/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[error] [Xcode] 2021-10-26 12:26:17.460 xcodebuild[808:11014] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fceddbcb530 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [error] [Xcode] [error] [Xcode] ** TEST BUILD FAILED ** [error] [Xcode] [error] [Xcode] [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[error] [Xcode] [error] [Xcode] [error] [Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-16-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] 2021-10-26 12:26:17.846 xcodebuild[808:10937] [MT] IDETestOperationsObserverDebug: 0.376 elapsed -- Testing started completed. [error] [Xcode] 2021-10-26 12:26:17.846 xcodebuild[808:10937] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [error] [Xcode] 2021-10-26 12:26:17.846 xcodebuild[808:10937] [MT] IDETestOperationsObserverDebug: 0.376 sec, +0.376 sec -- end [error] [Xcode] [error] [Xcode] [error] [Xcode] Test session results, code coverage, and logs: [error] [Xcode] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-16-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing failed: [error] [Xcode] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentRunner: [error] [Xcode] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-16-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [error] [Xcode] [error] [Xcode] ** TEST EXECUTE FAILED ** [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing started [error] [Xcode] [error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1632535255000 >= 1632535255000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' for the device 33098117b88ee9be00671163ee4fe1a241a75b50... [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] Using Xcode configuration file: '/var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-1xjhs4e.8mvif/appium-temp.xcconfig' [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou -destination id=33098117b88ee9be00671163ee4fe1a241a75b50 IPHONEOS_DEPLOYMENT_TARGET=12.0 -xcconfig /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-1xjhs4e.8mvif/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[error] [Xcode] 2021-10-26 12:26:20.467 xcodebuild[815:11290] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7f9dde4e7920 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [error] [Xcode] [error] [Xcode] ** TEST BUILD FAILED ** [error] [Xcode] [error] [Xcode] [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [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[debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [error] [Xcode] [error] [Xcode] [error] [Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-20-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] 2021-10-26 12:26:20.857 xcodebuild[815:11213] [MT] IDETestOperationsObserverDebug: 0.380 elapsed -- Testing started completed. [error] [Xcode] 2021-10-26 12:26:20.858 xcodebuild[815:11213] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [error] [Xcode] [error] [Xcode] 2021-10-26 12:26:20.858 xcodebuild[815:11213] [MT] IDETestOperationsObserverDebug: 0.380 sec, +0.380 sec -- end [error] [Xcode] [error] [Xcode] [error] [Xcode] Test session results, code coverage, and logs: [error] [Xcode] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-20-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing failed: [error] [Xcode] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentRunner: [error] [Xcode] The test runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-20-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [error] [Xcode] [error] [Xcode] ** TEST EXECUTE FAILED ** [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing started [error] [Xcode] [error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [debug] [BaseDriver] Event 'wdaStartFailed' logged at 1635243980953 (12:26:20 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 [debug] [XCUITest] xcodebuild error message: [debug] [XCUITest] [debug] [XCUITest] 2021-10-26 12:26:20.467 xcodebuild[815:11290] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7f9dde4e7920 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [debug] [XCUITest] ** TEST BUILD FAILED ** [debug] [XCUITest] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-20-+0200.xcresult [debug] [XCUITest] 2021-10-26 12:26:20.857 xcodebuild[815:11213] [MT] IDETestOperationsObserverDebug: 0.380 elapsed -- Testing started completed. [debug] [XCUITest] 2021-10-26 12:26:20.858 xcodebuild[815:11213] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [debug] [XCUITest] 2021-10-26 12:26:20.858 xcodebuild[815:11213] [MT] IDETestOperationsObserverDebug: 0.380 sec, +0.380 sec -- end [debug] [XCUITest] Test session results, code coverage, and logs: [debug] [XCUITest] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-20-+0200.xcresult [debug] [XCUITest] Testing failed: [debug] [XCUITest] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [XCUITest] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [XCUITest] WebDriverAgentRunner: [debug] [XCUITest] The test runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-20-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [debug] [XCUITest] ** TEST EXECUTE FAILED ** [debug] [XCUITest] Testing started. 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 [info] [WebDriverAgent] Shutting down sub-processes[debug] [WebDriverAgent] No WDAs on the device. [error] [XCUITest] {} [info] [DevCon Factory] Releasing connections for 33098117b88ee9be00671163ee4fe1a241a75b50 device on any port number [info] [DevCon Factory] Found cached connections to release: ["33098117b88ee9be00671163ee4fe1a241a75b50:8100"] [info] [DevCon Factory] Releasing the listener for '33098117b88ee9be00671163ee4fe1a241a75b50:8100' [debug] [iProxy@33098117:8100] Closing the connection [debug] [DevCon Factory] Cached connections count: 0 [debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on. [info] [iProxy@33098117:8100] The connection has been closed [debug] [BaseDriver] Event 'newSessionStarted' logged at 1635243981130 (12:26:21 GMT+0200 (Central European Summer Time)) [debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 [debug] [W3C] xcodebuild error message: [debug] [W3C] [debug] [W3C] 2021-10-26 12:26:20.467 xcodebuild[815:11290] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7f9dde4e7920 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [debug] [W3C] ** TEST BUILD FAILED ** [debug] [W3C] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-20-+0200.xcresult [debug] [W3C] 2021-10-26 12:26:20.857 xcodebuild[815:11213] [MT] IDETestOperationsObserverDebug: 0.380 elapsed -- Testing started completed. [debug] [W3C] 2021-10-26 12:26:20.858 xcodebuild[815:11213] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [debug] [W3C] 2021-10-26 12:26:20.858 xcodebuild[815:11213] [MT] IDETestOperationsObserverDebug: 0.380 sec, +0.380 sec -- end [debug] [W3C] Test session results, code coverage, and logs: [debug] [W3C] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-20-+0200.xcresult [debug] [W3C] Testing failed: [debug] [W3C] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [W3C] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [W3C] WebDriverAgentRunner: [debug] [W3C] The test runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-20-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [debug] [W3C] ** TEST EXECUTE FAILED ** [debug] [W3C] Testing started. 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 quitAndUninstall (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:592:15) [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:627:11 [debug] [W3C] at wrapped (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:60:13) [debug] [W3C] at retry (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:43:13) [debug] [W3C] at retryInterval (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:70:10) [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:607:7 [info] [HTTP] <-- POST /wd/hub/session 500 20384 ms - 7297 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"capabilities":{"alwaysMatch":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},"firstMatch":[{}]},"desiredCapabilities":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},null,{"alwaysMatch":{"xcodeOrgId":"onstruc","xcodeSigningId":"onstruc.testdummy@gmail.com","deviceName":"iPhone 6","udid":"33098117b88ee9be00671163ee4fe1a241a75b50","platformName":"ios","platformVersion":"12","app":"/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app","automationName":"XCUITest","newCommandTimeout":"99999"},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1635243981151 (12:26:21 GMT+0200 (Central European Summer Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] xcodeOrgId [warn] [BaseDriver] xcodeSigningId [warn] [BaseDriver] deviceName [warn] [BaseDriver] udid [warn] [BaseDriver] platformVersion [warn] [BaseDriver] app [warn] [BaseDriver] automationName [warn] [BaseDriver] newCommandTimeout [warn] [BaseDriver] Number capability passed in as string. Functionality may be compromised. [info] [Appium] Appium v1.22.0 creating new XCUITestDriver (v3.53.1) session [info] [Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "appium:xcodeOrgId": "onstruc", [debug] [BaseDriver] "appium:xcodeSigningId": "onstruc.testdummy@gmail.com", [debug] [BaseDriver] "appium:deviceName": "iPhone 6", [debug] [BaseDriver] "appium:udid": "33098117b88ee9be00671163ee4fe1a241a75b50", [debug] [BaseDriver] "platformName": "ios", [debug] [BaseDriver] "appium:platformVersion": "12", [debug] [BaseDriver] "appium:app": "/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app", [debug] [BaseDriver] "appium:automationName": "XCUITest", [debug] [BaseDriver] "appium:newCommandTimeout": "99999" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [warn] [BaseDriver] Number capability passed in as string. Functionality may be compromised. [warn] [BaseDriver] Capability 'newCommandTimeout' changed from string ('99999') to integer (99999). This may cause unexpected behavior [info] [BaseDriver] Session created with session id: a3ae6a93-5b25-4b66-acd1-7ac474fba010 [debug] [XCUITest] Current user: 'onstructestdummy' [debug] [XCUITest] Available devices: 33098117b88ee9be00671163ee4fe1a241a75b50 [debug] [XCUITest] Creating iDevice object with udid '33098117b88ee9be00671163ee4fe1a241a75b50' [info] [XCUITest] Determining device to run tests on: udid: '33098117b88ee9be00671163ee4fe1a241a75b50', real device: true [info] [XCUITest] Normalized platformVersion capability value '12' to '12.0' [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1635243981193 (12:26:21 GMT+0200 (Central European Summer Time)) [info] [BaseDriver] Using local app '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app' [debug] [BaseDriver] Event 'appConfigured' logged at 1635243981195 (12:26:21 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Checking whether app '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app' is actually present on file system [debug] [XCUITest] App is present [debug] [XCUITest] Getting bundle ID from app '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app': 'de.onstruc.onstrucapp' [debug] [BaseDriver] Event 'resetStarted' logged at 1635243981201 (12:26:21 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Reset: running ios real device reset flow [debug] [BaseDriver] Event 'resetComplete' logged at 1635243981201 (12:26:21 GMT+0200 (Central European Summer Time)) [info] [WebDriverAgent] Using WDA path: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [info] [WebDriverAgent] Using WDA agent: '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1635243981384 (12:26:21 GMT+0200 (Central European Summer Time)) [info] [XCUITest] Setting up real device [debug] [XCUITest] Verifying application platform [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"] [debug] [XCUITest] Reset requested. Removing app with id 'de.onstruc.onstrucapp' from the device[debug] [XCUITest] Installing '/Users/onstructestdummy/onstruc1/ios-test/apps/onstruc.app' on device with UUID '33098117b88ee9be00671163ee4fe1a241a75b50'...[debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products' [debug] [WebDriverAgent] Got derived data root: '/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou'[debug] [XCUITest] Pushed the app files successfully after 10741ms[info] [XCUITest] App installation succeeded after 12646ms [debug] [XCUITest] The app has been installed successfully. [debug] [BaseDriver] Event 'appInstalled' logged at 1635243994464 (12:26:34 GMT+0200 (Central European Summer Time)) [debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [info] [DevCon Factory] Requesting connection for device 33098117b88ee9be00671163ee4fe1a241a75b50 on local port 8100, device port 8100 [debug] [DevCon Factory] Cached connections count: 0 [info] [DevCon Factory] Successfully requested the connection for 33098117b88ee9be00671163ee4fe1a241a75b50:8100 [debug] [XCUITest] 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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [debug] [WebDriverAgent] WDA is not listening at 'http://127.0.0.1:8100/' [debug] [WebDriverAgent] WDA is currently not running. There is nothing to cache [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1635243994525 (12:26:34 GMT+0200 (Central European Summer Time)) [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1632535255000 >= 1632535255000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' for the device 33098117b88ee9be00671163ee4fe1a241a75b50... [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] Generating xcode config file for orgId 'onstruc' and signingId 'onstruc.testdummy@gmail.com' [debug] [WebDriverAgent] Writing xcode config file to /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-2yrmw1.6o3sk/appium-temp.xcconfig [debug] [WebDriverAgent] Using Xcode configuration file: '/var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-2yrmw1.6o3sk/appium-temp.xcconfig' [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou -destination id=33098117b88ee9be00671163ee4fe1a241a75b50 IPHONEOS_DEPLOYMENT_TARGET=12.0 -xcconfig /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-2yrmw1.6o3sk/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[error] [Xcode] 2021-10-26 12:26:37.254 xcodebuild[838:11753] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7f836a3bfa10 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [error] [Xcode] [error] [Xcode] ** TEST BUILD FAILED ** [error] [Xcode] [error] [Xcode] [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[error] [Xcode] [error] [Xcode] [error] [Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-36-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] 2021-10-26 12:26:37.654 xcodebuild[838:11680] [MT] IDETestOperationsObserverDebug: 0.389 elapsed -- Testing started completed. [error] [Xcode] 2021-10-26 12:26:37.654 xcodebuild[838:11680] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [error] [Xcode] 2021-10-26 12:26:37.654 xcodebuild[838:11680] [MT] IDETestOperationsObserverDebug: 0.389 sec, +0.389 sec -- end [error] [Xcode] [error] [Xcode] [error] [Xcode] Test session results, code coverage, and logs: [error] [Xcode] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-36-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing failed: [error] [Xcode] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentRunner: [error] [Xcode] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-36-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [error] [Xcode] [error] [Xcode] ** TEST EXECUTE FAILED ** [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing started [error] [Xcode] [error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [info] [WebDriverAgent] Launching WebDriverAgent on the device [info] [WebDriverAgent] WebDriverAgent does not need a cleanup. The sources are up to date (1632535255000 >= 1632535255000) [debug] [WebDriverAgent] Killing running processes 'xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' for the device 33098117b88ee9be00671163ee4fe1a241a75b50... [debug] [WebDriverAgent] 'pgrep -if xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50' didn't detect any matching processes. Return code: 1 [debug] [WebDriverAgent] Using Xcode configuration file: '/var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-2yrmw1.6o3sk/appium-temp.xcconfig' [debug] [WebDriverAgent] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou -destination id=33098117b88ee9be00671163ee4fe1a241a75b50 IPHONEOS_DEPLOYMENT_TARGET=12.0 -xcconfig /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-2yrmw1.6o3sk/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [debug] [WebDriverAgent] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[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[debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [debug] [WebDriverAgent] Waiting up to 60000ms for WebDriverAgent to start [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[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[debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up[error] [Xcode] 2021-10-26 12:26:40.207 xcodebuild[845:12091] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7f9c04532680 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [error] [Xcode] [error] [Xcode] ** TEST BUILD FAILED ** [error] [Xcode] [error] [Xcode] [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100 [info] [WD Proxy] socket hang up [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 [debug] [iProxy@33098117:8100] Connection was refused to port 8100[error] [Xcode] [error] [Xcode] [error] [Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-40-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] 2021-10-26 12:26:40.632 xcodebuild[845:11929] [MT] IDETestOperationsObserverDebug: 0.415 elapsed -- Testing started completed. [error] [Xcode] 2021-10-26 12:26:40.632 xcodebuild[845:11929] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [error] [Xcode] 2021-10-26 12:26:40.632 xcodebuild[845:11929] [MT] IDETestOperationsObserverDebug: 0.415 sec, +0.415 sec -- end [error] [Xcode] [error] [Xcode] [error] [Xcode] Test session results, code coverage, and logs: [error] [Xcode] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-40-+0200.xcresult [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing failed: [error] [Xcode] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [error] [Xcode] WebDriverAgentRunner: [error] [Xcode] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-40-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [error] [Xcode] [error] [Xcode] ** TEST EXECUTE FAILED ** [error] [Xcode] [error] [Xcode] [error] [Xcode] Testing started [error] [Xcode] [error] [WebDriverAgent] xcodebuild exited with code '65' and signal 'null' [debug] [BaseDriver] Event 'wdaStartFailed' logged at 1635244000709 (12:26:40 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 [debug] [XCUITest] xcodebuild error message: [debug] [XCUITest] [debug] [XCUITest] 2021-10-26 12:26:40.207 xcodebuild[845:12091] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7f9c04532680 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [debug] [XCUITest] ** TEST BUILD FAILED ** [debug] [XCUITest] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-40-+0200.xcresult [debug] [XCUITest] 2021-10-26 12:26:40.632 xcodebuild[845:11929] [MT] IDETestOperationsObserverDebug: 0.415 elapsed -- Testing started completed. [debug] [XCUITest] 2021-10-26 12:26:40.632 xcodebuild[845:11929] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [debug] [XCUITest] 2021-10-26 12:26:40.632 xcodebuild[845:11929] [MT] IDETestOperationsObserverDebug: 0.415 sec, +0.415 sec -- end [debug] [XCUITest] Test session results, code coverage, and logs: [debug] [XCUITest] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-40-+0200.xcresult [debug] [XCUITest] Testing failed: [debug] [XCUITest] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [XCUITest] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [XCUITest] WebDriverAgentRunner: [debug] [XCUITest] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-40-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [debug] [XCUITest] ** TEST EXECUTE FAILED ** [debug] [XCUITest] Testing started. 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 [info] [WebDriverAgent] Shutting down sub-processes[debug] [WebDriverAgent] No WDAs on the device. [error] [XCUITest] {} [info] [DevCon Factory] Releasing connections for 33098117b88ee9be00671163ee4fe1a241a75b50 device on any port number [info] [DevCon Factory] Found cached connections to release: ["33098117b88ee9be00671163ee4fe1a241a75b50:8100"] [info] [DevCon Factory] Releasing the listener for '33098117b88ee9be00671163ee4fe1a241a75b50:8100' [debug] [iProxy@33098117:8100] Closing the connection [debug] [DevCon Factory] Cached connections count: 0 [debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on. [info] [iProxy@33098117:8100] The connection has been closed [debug] [BaseDriver] Event 'newSessionStarted' logged at 1635244000887 (12:26:40 GMT+0200 (Central European Summer Time)) [debug] [W3C] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 [debug] [W3C] xcodebuild error message: [debug] [W3C] [debug] [W3C] 2021-10-26 12:26:40.207 xcodebuild[845:12091] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/WebDriverAgentRunner_iphoneos15.0-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7f9c04532680 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} [debug] [W3C] ** TEST BUILD FAILED ** [debug] [W3C] *** If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-40-+0200.xcresult [debug] [W3C] 2021-10-26 12:26:40.632 xcodebuild[845:11929] [MT] IDETestOperationsObserverDebug: 0.415 elapsed -- Testing started completed. [debug] [W3C] 2021-10-26 12:26:40.632 xcodebuild[845:11929] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start [debug] [W3C] 2021-10-26 12:26:40.632 xcodebuild[845:11929] [MT] IDETestOperationsObserverDebug: 0.415 sec, +0.415 sec -- end [debug] [W3C] Test session results, code coverage, and logs: [debug] [W3C] /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-40-+0200.xcresult [debug] [W3C] Testing failed: [debug] [W3C] WebDriverAgentLib has conflicting provisioning settings. WebDriverAgentLib is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [W3C] WebDriverAgentRunner has conflicting provisioning settings. WebDriverAgentRunner is automatically signed, but code signing identity onstruc.testdummy@gmail.com 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. [debug] [W3C] WebDriverAgentRunner: [debug] [W3C] WebDriverAgentRunner-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2021.10.26_12-26-40-+0200.xcresult. (Underlying Error: Executable Not Found. /Users/onstructestdummy/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.)) [debug] [W3C] ** TEST EXECUTE FAILED ** [debug] [W3C] Testing started. 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 quitAndUninstall (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:592:15) [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:627:11 [debug] [W3C] at wrapped (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:60:13) [debug] [W3C] at retry (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:43:13) [debug] [W3C] at retryInterval (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:70:10) [debug] [W3C] at /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:607:7 [info] [HTTP] <-- POST /wd/hub/session 500 19742 ms - 7321 [info] [HTTP]