Возникла проблема при запуске приложения IOS через Appium. Как решить неожиданный класс «NSException» - PullRequest
0 голосов
/ 12 февраля 2020

Я пытаюсь автоматизировать мое приложение IOS. У меня проблема с запуском через Appium. Текущая версия Appium - 1.13.0 Xcode Version - 11.3.1 IOS версия - 10.3

Я пробовал разные версии Appium и продолжаю получать ту же ошибку. Любая помощь или предложение будут оценены. Прикрепление журналов Appium для справки

Calling AppiumDriver.createSession() with args: [{"app":"/Users/iosautomation/Desktop/HK AUTOMATION/HK-Automation/app/HealthKart.ipa","noReset":"false","xcodeOrgId":"373N8KV6UG","bundleId":"com.pragya123.WebDriverAgentRunner","startIWDP":"true","deviceName":"iPhone","fullReset":"true","shouldUseSingletonTestManager":"false","platformVersion":"10.3.2","safariAllowPopups":"false","automationName":"XCUITest","useNewWDA":"true","platformName":"iOS","udid":"6405cda4a0e453f90683e87b4b2dc9a65c50f9ed"},null,{"alwaysMatch":{"appium:app":"/Users/iosautomation/Desktop/HK AUTOMATION/HK-Automation/app/HealthKart.ipa","appium:automationName":"XCUITest","appium:bundleId":"com.pragya123.WebDriverAgentRunner","appium:deviceName":"iPhone","appium:fullReset":"true","appium:noReset":"false","platformName":"ios","appium:platformVersion":"10.3.2","appium:safariAllowPopups":"false","appium:shouldUseSingletonTestManager":"false","appium:startIWDP":"true","appium:udid":"6405cda4a0e453f90683e87b4b2dc9a65c50f9ed","appium:useNewWDA":"true","appium:xcodeOrgId":"373N8KV6UG"},"firstM...
[BaseDriver] Event 'newSessionRequested' logged at 1581501462144 (15:27:42 GMT+0530 (IST))
[Appium] Appium v1.13.0 creating new XCUITestDriver (v2.113.2) session
[Appium] Capabilities:
[Appium]   platformName: ios
[Appium]   app: /Users/iosautomation/Desktop/HK AUTOMATION/HK-Automation/app/HealthKart.ipa
[Appium]   automationName: XCUITest
[Appium]   bundleId: com.pragya123.WebDriverAgentRunner
[Appium]   deviceName: iPhone
[Appium]   fullReset: true
[Appium]   noReset: false
[Appium]   platformVersion: 10.3.2
[Appium]   safariAllowPopups: false
[Appium]   shouldUseSingletonTestManager: false
[Appium]   startIWDP: true
[Appium]   udid: 6405cda4a0e453f90683e87b4b2dc9a65c50f9ed
[Appium]   useNewWDA: true
[Appium]   xcodeOrgId: 373N8KV6UG
[BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"app":"/Users/iosautomatio... were provided
[BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[BaseDriver] Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'useNewWDA' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'startIWDP' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'shouldUseSingletonTestManager' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability 'safariAllowPopups' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Session created with session id: 78edb9e9-c8ae-43bf-a0bc-56556b9ca841
[XCUITest] Current user: 'iosautomation'
[XCUITest] Available devices: 6405cda4a0e453f90683e87b4b2dc9a65c50f9ed
[XCUITest] Creating iDevice object with udid '6405cda4a0e453f90683e87b4b2dc9a65c50f9ed'
[XCUITest] Determining device to run tests on: udid: '6405cda4a0e453f90683e87b4b2dc9a65c50f9ed', real device: true
[XCUITest] iOS SDK Version set to '13.2'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1581501462203 (15:27:42 GMT+0530 (IST))
[BaseDriver] Using local app '/Users/iosautomation/Desktop/HK AUTOMATION/HK-Automation/app/HealthKart.ipa'
[BaseDriver] Will reuse previously cached application at '/var/folders/94/ndz8rgqn7tz1b64jss2pv7_w0000gn/T/2020112-42429-1wpvtdi.nx94/Payload/HealthKart.app'
[BaseDriver] Event 'appConfigured' logged at 1581501462586 (15:27:42 GMT+0530 (IST))
[XCUITest] Checking whether app '/var/folders/94/ndz8rgqn7tz1b64jss2pv7_w0000gn/T/2020112-42429-1wpvtdi.nx94/Payload/HealthKart.app' is actually present on file system
[XCUITest] App is present
[BaseDriver] Event 'resetStarted' logged at 1581501462588 (15:27:42 GMT+0530 (IST))
[XCUITest] Reset: running ios real device reset flow
[XCUITest] Reset: fullReset requested. Will try to uninstall the app 'com.pragya123.WebDriverAgentRunner'.
[XCUITest] Calling: 'ios-deploy --exists --id 6405cda4a0e453f90683e87b4b2dc9a65c50f9ed --bundle_id com.pragya123.WebDriverAgentRunner'
[XCUITest] Reset: app not installed. No need to uninstall
[BaseDriver] Event 'resetComplete' logged at 1581501462979 (15:27:42 GMT+0530 (IST))
[iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[XCUITest] Cannot get the name of the crashes folder for the device with udid '6405cda4a0e453f90683e87b4b2dc9a65c50f9ed'. Original error: Command 'idevicename -u 6405cda4a0e453f90683e87b4b2dc9a65c50f9ed' exited with code 255
[BaseDriver] Event 'logCaptureStarted' logged at 1581501464177 (15:27:44 GMT+0530 (IST))
[XCUITest] Setting up real device
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"]
[XCUITest] Calling: 'ios-deploy --exists --id 6405cda4a0e453f90683e87b4b2dc9a65c50f9ed --bundle_id com.pragya123.WebDriverAgentRunner'
[XCUITest] Installing '/var/folders/94/ndz8rgqn7tz1b64jss2pv7_w0000gn/T/2020112-42429-1wpvtdi.nx94/Payload/HealthKart.app' on device with UUID '6405cda4a0e453f90683e87b4b2dc9a65c50f9ed'...
[XCUITest] The app has been installed successfully.
[BaseDriver] Event 'appInstalled' logged at 1581501484059 (15:28:04 GMT+0530 (IST))
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[XCUITest] Parsed BUILD_DIR configuration value: '/Users/iosautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products'
[XCUITest] Got derived data root: '/Users/iosautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs'
[XCUITest] Starting WebDriverAgent initialization with the synchronization key '/Users/iosautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs'
[XCUITest] Capability 'useNewWDA' set to true, so uninstalling WDA before proceeding
[XCUITest] Shutting down sub-processes
[XCUITest] Removing WDA application from device
[BaseDriver] Event 'wdaUninstalled' logged at 1581501491562 (15:28:11 GMT+0530 (IST))
[XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[BaseDriver] Event 'wdaStartAttempted' logged at 1581501491562 (15:28:11 GMT+0530 (IST))
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Killing running processes 'xcodebuild.*6405cda4a0e453f90683e87b4b2dc9a65c50f9ed, iproxy 8100' for the device 6405cda4a0e453f90683e87b4b2dc9a65c50f9ed...
[XCUITest] 'pgrep -nif xcodebuild.*6405cda4a0e453f90683e87b4b2dc9a65c50f9ed' didn't detect any matching processes. Return code: 1
[XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
[XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB for the device 6405cda4a0e453f90683e87b4b2dc9a65c50f9ed
[XCUITest] iProxy is running and is listening on port #8100
[XCUITest] Generating xcode config file for orgId '373N8KV6UG' and signingId 'iPhone Developer'
[XCUITest] Writing xcode config file to /var/folders/94/ndz8rgqn7tz1b64jss2pv7_w0000gn/T/2020112-42429-fnnl06.bdrkk/appium-temp.xcconfig
[XCUITest] Using Xcode configuration file: '/var/folders/94/ndz8rgqn7tz1b64jss2pv7_w0000gn/T/2020112-42429-fnnl06.bdrkk/appium-temp.xcconfig'
[XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/iosautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs -destination id=6405cda4a0e453f90683e87b4b2dc9a65c50f9ed IPHONEOS_DEPLOYMENT_TARGET=10.3 -xcconfig /var/folders/94/ndz8rgqn7tz1b64jss2pv7_w0000gn/T/2020112-42429-fnnl06.bdrkk/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[XCUITest] Log file for xcodebuild test: /Users/iosautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_15-28-14-+0530.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-50311494-D325-4B94-B977-729EABB0CC23/WebDriverAgentRunner-C4B8F0C1-6F89-4607-AB96-2D6E4AC4BA3C/Session-WebDriverAgentRunner-2020-02-12_152815-wIuVre.log
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[Xcode] 2020-02-12 15:28:24.751 xcodebuild[45651:1820465] Error Domain=com.apple.platform.iphoneos Code=-12 "Unable to launch com.pragya123.WebDriverAgentRunner.xctrunner" UserInfo={NSLocalizedDescription=Unable to launch com.pragya123.WebDriverAgentRunner.xctrunner, NSUnderlyingError=0x7fc5558555a0 {Error Domain=DTXMessage Code=2 "Failed to deserialize message" UserInfo={NSLocalizedDescription=Failed to deserialize message, NSUnderlyingError=0x7fc5553b92d0 {Error Domain=NSCocoaErrorDomain Code=4864 "value for key 'NS.objects' was of unexpected class 'NSException'. Allowed classes are '{(
[Xcode]     NSNumber,
[Xcode]     NSValue,
[Xcode]     NSNull,
[Xcode]     NSURL,
[Xcode]     NSData,
[Xcode]     NSString,
[Xcode]     NSError,
[Xcode]     NSSet,
[Xcode]     NSDictionary,
[Xcode]     NSArray,
[Xcode]     NSDate,
[Xcode]     NSAttributedString
[Xcode] )}'." UserInfo={NSDebugDescription=value for key 'NS.objects' was of unexpected class 'NSException'. Allowed classes are '{(
[Xcode]     NSNumber,
[Xcode]     NSValue,
[Xcode]     NSNull,
[Xcode]     NSURL,
[Xcode]     NSData,
[Xcode]     NSString,
[Xcode]     NSError,
[Xcode]     NSSet,
[Xcode]     NSDictionary,
[Xcode]     NSArray,
[Xcode]     NSDate,
[Xcode]     NSAttributedString
[Xcode] )}'.}}}}}
[Xcode] 
[Xcode] 
[Xcode] Test session results, code coverage, and logs:
[Xcode]     /Users/iosautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_15-28-14-+0530.xcresult
[Xcode] 
[Xcode] 
[Xcode] Testing failed:
[Xcode]     No profiles for 'com.pragya123.WebDriverAgentRunner.xctrunner' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.pragya123.WebDriverAgentRunner.xctrunner'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
[Xcode]     WebDriverAgentRunner:
[Xcode]         WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: Unable to launch com.pragya123.WebDriverAgentRunner.xctrunner. (Underlying error: Failed to deserialize message. (Underlying error: The data couldn’t be read because it isn’t in the correct format. The data isn’t in the correct format. value for key 'NS.objects' was of unexpected class 'NSException'. Allowed classes are '{(
[Xcode]     NSNumber,
[Xcode]     NSValue,
[Xcode]     NSNull,
[Xcode]     NSURL,
[Xcode]     NSData,
[Xcode]     NSString,
[Xcode]     NSError,
[Xcode]     NSSet,
[Xcode]     NSDictionary,
[Xcode]     NSArray,
[Xcode]     NSDate,
[Xcode]     NSAttributedString
[Xcode] )}'.))))
[Xcode] 
[Xcode] ** TEST EXECUTE FAILED **
[Xcode] 
[Xcode] 
[Xcode] Testing started on 'iPhone'
[Xcode] 
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Killing running processes 'xcodebuild.*6405cda4a0e453f90683e87b4b2dc9a65c50f9ed, iproxy 8100' for the device 6405cda4a0e453f90683e87b4b2dc9a65c50f9ed...
[XCUITest] 'pgrep -nif xcodebuild.*6405cda4a0e453f90683e87b4b2dc9a65c50f9ed' didn't detect any matching processes. Return code: 1
[XCUITest] iproxy exited with code 'null'
[XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
[XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB for the device 6405cda4a0e453f90683e87b4b2dc9a65c50f9ed
[XCUITest] iProxy is running and is listening on port #8100
[XCUITest] Using Xcode configuration file: '/var/folders/94/ndz8rgqn7tz1b64jss2pv7_w0000gn/T/2020112-42429-fnnl06.bdrkk/appium-temp.xcconfig'
[XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/iosautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs -destination id=6405cda4a0e453f90683e87b4b2dc9a65c50f9ed IPHONEOS_DEPLOYMENT_TARGET=10.3 -xcconfig /var/folders/94/ndz8rgqn7tz1b64jss2pv7_w0000gn/T/2020112-42429-fnnl06.bdrkk/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[XCUITest] Log file for xcodebuild test: /Users/iosautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_15-28-27-+0530.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-796461AC-A36D-44D9-8CEB-7072FE61E57A/WebDriverAgentRunner-499DF0EB-B75F-4426-B7D1-354ED721C85F/Session-WebDriverAgentRunner-2020-02-12_152828-xiI2SE.log
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[Xcode] 2020-02-12 15:28:37.891 xcodebuild[45660:1820658] Error Domain=com.apple.platform.iphoneos Code=-12 "Unable to launch com.pragya123.WebDriverAgentRunner.xctrunner" UserInfo={NSLocalizedDescription=Unable to launch com.pragya123.WebDriverAgentRunner.xctrunner, NSUnderlyingError=0x7fea067e86b0 {Error Domain=DTXMessage Code=2 "Failed to deserialize message" UserInfo={NSLocalizedDescription=Failed to deserialize message, NSUnderlyingError=0x7fea06b40750 {Error Domain=NSCocoaErrorDomain Code=4864 "value for key 'NS.objects' was of unexpected class 'NSException'. Allowed classes are '{(
[Xcode]     NSNumber,
[Xcode]     NSValue,
[Xcode]     NSNull,
[Xcode]     NSURL,
[Xcode]     NSData,
[Xcode]     NSString,
[Xcode]     NSError,
[Xcode]     NSSet,
[Xcode]     NSDictionary,
[Xcode]     NSArray,
[Xcode]     NSDate,
[Xcode]     NSAttributedString
[Xcode] )}'." UserInfo={NSDebugDescription=value for key 'NS.objects' was of unexpected class 'NSException'. Allowed classes are '{(
[Xcode]     NSNumber,
[Xcode]     NSValue,
[Xcode]     NSNull,
[Xcode]     NSURL,
[Xcode]     NSData,
[Xcode]     NSString,
[Xcode]     NSError,
[Xcode]     NSSet,
[Xcode]     NSDictionary,
[Xcode]     NSArray,
[Xcode]     NSDate,
[Xcode]     NSAttributedString
[Xcode] )}'.}}}}}
[Xcode] 
[Xcode] 
[Xcode] Test session results, code coverage, and logs:
[Xcode]     /Users/iosautomation/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2020.02.12_15-28-27-+0530.xcresult
[Xcode] 
[Xcode] 
[Xcode] Testing failed:
[Xcode]     No profiles for 'com.pragya123.WebDriverAgentRunner.xctrunner' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.pragya123.WebDriverAgentRunner.xctrunner'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
[Xcode]     WebDriverAgentRunner:
[Xcode]         WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: Unable to launch com.pragya123.WebDriverAgentRunner.xctrunner. (Underlying error: Failed to deserialize message. (Underlying error: The data couldn’t be read because it isn’t in the correct format. The data isn’t in the correct format. value for key 'NS.objects' was of unexpected class 'NSException'. 
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...