Skip to content

Instantly share code, notes, and snippets.

@NJewootah
Created January 23, 2019 16:02
Show Gist options
  • Save NJewootah/dd215e2979d7328c9ea8fe109dd47e4b to your computer and use it in GitHub Desktop.
Save NJewootah/dd215e2979d7328c9ea8fe109dd47e4b to your computer and use it in GitHub Desktop.
Failed to launch com.apple.mobilesafari application Logs
WH5003855:Automation njewootah$ appium -U ************** -p4723 --webkit-debug-proxy-port 27753
[Appium] Welcome to Appium v1.10.0
[Appium] Non-default server args:
[Appium] udid: **************
[Appium] Deprecated server args:
[Appium] -U,--udid => --default-capabilities '{"udid":"**************"}'
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] udid: **************
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"showXcodeLog":true,"platformVersion":"12.1","xcodeOrgId":"******","automationName":"XCUITest","browserName":"Safari","platformName":"iOS","startIWDP":true,"udid":"78f9b035f3bc75dfc92b04de2eaf9fd3df43df56","deviceName":"iPhone 7 PLus","xcodeSigningId":"iPhone Developer"},"capabilities":{"firstMatch":[{"appium:automationName":"XCUITest","browserName":"Safari","appium:deviceName":"iPhone 7 PLus","platformName":"ios","appium:platformVersion":"12.1","appium:showXcodeLog":true,"appium:startIWDP":true,"appium:udid":"78f9b035f********6","appium:xcodeOrgId":"*******","appium:xcodeSigningId":"iPhone Developer"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"showXcodeLog":true,"platformVersion":"12.1","xcodeOrgId":"*******8Y7","automationName":"XCUITest","browserName":"Safari","platformName":"iOS","startIWDP":true,"udid":"*************","deviceName":"iPhone 7 PLus","xcodeSigningId":"iPhone Developer"},null,{"firstMatch":[{"appium:automationName":"XCUITest","browserName":"Safari","appium:deviceName":"iPhone 7 PLus","platformName":"ios","appium:platformVersion":"12.1","appium:showXcodeLog":true,"appium:startIWDP":true,"appium:udid":"78f9b*******6","appium:xcodeOrgId":"********","appium:xcodeSigningId":"iPhone Developer"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1548259109286 (15:58:29 GMT+0000 (Greenwich Mean Time))
[Appium] Creating new XCUITestDriver (v2.106.0) session
[Appium] Capabilities:
[Appium] browserName: Safari
[Appium] platformName: ios
[Appium] automationName: XCUITest
[Appium] deviceName: iPhone 7 PLus
[Appium] platformVersion: 12.1
[Appium] showXcodeLog: true
[Appium] startIWDP: true
[Appium] udid: ***************
[Appium] xcodeOrgId: **********
[Appium] xcodeSigningId: iPhone Developer
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"browserNam... and MJSONWP desired capabilities {"udid":"78f9b035f3bc75dfc9... were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"browserNam...
[BaseDriver] Session created with session id: 3620a0cc-0757-46c1-83fd-c819b7ef6156
(node:62808) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[debug] [XCUITest] Current user: 'njewootah'
[debug] [XCUITest] Available devices: 78f9b035f3bc75dfc92b04de2eaf9fd3df43df56
[debug] [XCUITest] Creating iDevice object with udid '78f9b035f3bc75dfc92b04de2eaf9fd3df43df56'
[XCUITest] Determining device to run tests on: udid: '78f9b035f3bc75dfc92b04de2eaf9fd3df43df56', real device: true
[debug] [XCUITest] Xcode version set to '10.1' (tools v10.1.0.0.1.1539992718)
[debug] [XCUITest] iOS SDK Version set to '12.1'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1548259109552 (15:58:29 GMT+0000 (Greenwich Mean Time))
[XCUITest] Safari test requested
[debug] [BaseDriver] Event 'appConfigured' logged at 1548259109552 (15:58:29 GMT+0000 (Greenwich Mean Time))
[debug] [BaseDriver] Event 'resetStarted' logged at 1548259109553 (15:58:29 GMT+0000 (Greenwich Mean Time))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1548259109553 (15:58:29 GMT+0000 (Greenwich Mean Time))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[debug] [XCUITest] Crash reports root '/Users/njewootah/Library/Logs/CrashReporter/MobileDevice/WhTest’s iPhone' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1548259109737 (15:58:29 GMT+0000 (Greenwich Mean Time))
[XCUITest] Setting up real device
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[debug] [XCUITest] WDA is not listening at 'http://localhost:8100/'
[debug] [XCUITest] WDA is currently not running. There is nothing to cache
[debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1548259109838 (15:58:29 GMT+0000 (Greenwich Mean Time))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*78f9b035f3bc75dfc92b04de2eaf9fd3df43df56, iproxy 8100' for the device 78f9b035f3bc75dfc92b04de2eaf9fd3df43df56...
[debug] [XCUITest] 'pgrep -nif xcodebuild.*78f9b035f3bc75dfc92b04de2eaf9fd3df43df56' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB for the device 78f9b035f3bc75dfc92b04de2eaf9fd3df43df56
[debug] [XCUITest] Generating xcode config file for orgId '3AEM8F28Y7' and signingId 'iPhone Developer'
[debug] [XCUITest] Writing xcode config file to /var/folders/f4/6z2wy5xn4mlcp22q5qf7pyk1rhvwbl/T/2019023-62808-csedgs.wnums/appium-temp.xcconfig
[debug] [XCUITest] Using Xcode configuration file: '/var/folders/f4/6z2wy5xn4mlcp22q5qf7pyk1rhvwbl/T/2019023-62808-csedgs.wnums/appium-temp.xcconfig'
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=78f9b035f3bc75dfc92b04de2eaf9fd3df43df56 IPHONEOS_DEPLOYMENT_TARGET=12.1 -xcconfig /var/folders/f4/6z2wy5xn4mlcp22q5qf7pyk1rhvwbl/T/2019023-62808-csedgs.wnums/appium-temp.xcconfig' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will be logged. To change this, use 'showXcodeLog' desired capability
[Xcode] Build settings from command line:
[Xcode]
[debug] [XCUITest] 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://localhost:8100/status] with no body
[Xcode] IPHONEOS_DEPLOYMENT_TARGET = 12.1
[Xcode]
[Xcode] Build settings from configuration file '/var/folders/f4/6z2wy5xn4mlcp22q5qf7pyk1rhvwbl/T/2019023-62808-csedgs.wnums/appium-temp.xcconfig':
[Xcode] CODE_SIGN_IDENTITY = iPhone Developer
[Xcode] DEVELOPMENT_TEAM = ********
[Xcode]
[Xcode]
[WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [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] note: Using new build system
[Xcode]
[Xcode]
[Xcode] note: Planning build
[Xcode]
[Xcode] note: Constructing build description
[Xcode]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [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] CreateBuildDirectory /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex (in target: WebDriverAgentLib)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] builtin-create-build-directory /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex
[Xcode]
[Xcode]
[Xcode]
[Xcode] CreateBuildDirectory /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products (in target: WebDriverAgentLib)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] builtin-create-build-directory /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products
[Xcode]
[Xcode]
[Xcode]
[Xcode] ProcessInfoPlistFile /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Info.plist /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Info.plist (in target: WebDriverAgentLib)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] builtin-infoPlistUtility /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/Info.plist -expandbuildsettings -format binary -platform iphoneos -requiredArchitecture arm64 -o /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Info.plist
[Xcode]
[Xcode]
[Xcode] ProcessProductPackaging "" /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode]
[Xcode]
[Xcode] Entitlements:
[Xcode]
[Xcode] {
[Xcode] "application-identifier" = "*******.io.international.WebDriverAgent";
[Xcode] "com.apple.developer.team-identifier" = ********;
[Xcode] "get-task-allow" = 1;
[Xcode] "keychain-access-groups" = (
[Xcode] "*********.io.international.WebDriverAgent"
[Xcode] );
[Xcode] }
[Xcode]
[Xcode]
[Xcode] builtin-productPackagingUtility -entitlements -format xml -o /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent
[Xcode]
[Xcode]
[Xcode]
[Xcode] CodeSign /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework (in target: WebDriverAgentLib)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: "iPhone Developer: Neermal Jewootah (2YAT4HS9VN)"
[Xcode]
[Xcode] /usr/bin/codesign --force --sign 9891E636CE1BD6A4C0096B4A9F47CC1C3630119A --timestamp=none /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework
[Xcode]
[Xcode] /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework: replacing existing signature
[Xcode]
[Xcode]
[Xcode]
[Xcode] ProcessInfoPlistFile /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Info.plist /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/Info.plist (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] builtin-infoPlistUtility /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/Info.plist -expandbuildsettings -format binary -platform iphoneos -additionalcontentfile /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/ProductTypeInfoPlistAdditions.plist -requiredArchitecture arm64 -o /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Info.plist
[Xcode]
[Xcode]
[Xcode]
[Xcode] PBXCp /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -exclude *.tbd -bitcode-strip all -bitcode-strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip -resolve-src-symlinks /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks
[Xcode]
[Xcode] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Frameworks/YYCache.framework/YYCache -r -o /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/YYCache.framework/YYCache
[Xcode]
[Xcode] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket -r -o /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket
[Xcode] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer -r -o /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer
[Xcode] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/WebDriverAgentLib -r -o /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib
[Xcode]
[Xcode]
[Xcode] GenerateDSYMFile /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest.dSYM /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner -o /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest.dSYM
[Xcode]
[Xcode]
[Xcode] CodeSign /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: "iPhone Developer: Neermal Jewootah (2YAT4HS9VN)"
[Xcode] Provisioning Profile: "iOS Team Provisioning Profile: io.international.WebDriverAgent"
[Xcode] (5fca203e-9f5f-4133-ae28-092cebc63728)
[Xcode]
[Xcode] /usr/bin/codesign --force --sign 9891E636CE1BD6A4C0096B4A9F47CC1C3630119A --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework
[Xcode]
[Xcode] /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework: replacing existing signature
[Xcode]
[Xcode]
[Xcode]
[Xcode] CodeSign /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: "iPhone Developer: Neermal Jewootah (2YAT4HS9VN)"
[Xcode] Provisioning Profile: "iOS Team Provisioning Profile: io.international.WebDriverAgent"
[Xcode] (5fca203e-9f5f-4133-ae28-092cebc63728)
[Xcode]
[Xcode] /usr/bin/codesign --force --sign 9891E636CE1BD6A4C0096B4A9F47CC1C3630119A --entitlements /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent --timestamp=none /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest
[Xcode]
[Xcode] /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest: replacing existing signature
[Xcode]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [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]
[Xcode]
[Xcode] CodeSign /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app (in target: WebDriverAgentRunner)
[Xcode] cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[Xcode] export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
[Xcode]
[Xcode] Signing Identity: "iPhone Developer: Neermal Jewootah (2YAT4HS9VN)"
[Xcode] Provisioning Profile: "iOS Team Provisioning Profile: io.international.WebDriverAgent"
[Xcode] (5fca203e-9f5f-4133-ae28-092cebc63728)
[Xcode]
[Xcode] /usr/bin/codesign --force --sign 9891E636CE1BD6A4C0096B4A9F47CC1C3630119A --entitlements /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Intermediates.noindex/WebDriverAgent.build/Debug-iphoneos/WebDriverAgentRunner.build/WebDriverAgentRunner.xctest.xcent --timestamp=none /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app
[Xcode]
[Xcode] /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app: replacing existing signature
[Xcode]
[Xcode]
[Xcode]
[Xcode] ** TEST BUILD SUCCEEDED **
[Xcode]
[Xcode]
[debug] [XCUITest] Log file for xcodebuild test: /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.01.23_15-58-37-+0000.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-11414013-F8DA-4148-9F22-D0D28E963DA8/WebDriverAgentRunner-A0BF0E34-B9C7-4F9C-8DF7-BE6D1C908034/Session-WebDriverAgentRunner-2019-01-23_155839-Xhq1T3.log
[Xcode] 2019-01-23 15:58:39.524 xcodebuild[62857:6044088] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[Xcode] /Users/njewootah/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Test-WebDriverAgentRunner-2019.01.23_15-58-37-+0000.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-11414013-F8DA-4148-9F22-D0D28E963DA8/WebDriverAgentRunner-A0BF0E34-B9C7-4F9C-8DF7-BE6D1C908034/Session-WebDriverAgentRunner-2019-01-23_155839-Xhq1T3.log
[Xcode]
[Xcode] 2019-01-23 15:58:39.525 xcodebuild[62857:6044078] [MT] IDETestOperationsObserverDebug: (F3DD27B4-E681-4845-B7FF-0D692EDE24B2) Beginning test session WebDriverAgentRunner-F3DD27B4-E681-4845-B7FF-0D692EDE24B2 at 2019-01-23 15:58:39.525 with Xcode 10B61 on target 📱<DVTiOSDevice (0x7fd274f45600), WhTest’s iPhone, iPhone, 12.1 (16B92), 78f9b035f3bc75dfc92b04de2eaf9fd3df43df56> {
[Xcode] deviceSerialNumber: F2LSDWXPHG04
[Xcode] identifier: 78f9b035f3bc75dfc92b04de2eaf9fd3df43df56
[Xcode] deviceClass: iPhone
[Xcode] deviceName: WhTest’s iPhone
[Xcode] deviceIdentifier: 78f9b035f3bc75dfc92b04de2eaf9fd3df43df56
[Xcode] productVersion: 12.1
[Xcode] buildVersion: 16B92
[Xcode] deviceSoftwareVersion: 12.1 (16B92)
[Xcode] deviceArchitecture: arm64
[Xcode] deviceTotalCapacity: 25423581184
[Xcode] deviceAvailableCapacity: 17078263808
[Xcode] deviceIsTransient: NO
[Xcode] ignored: NO
[Xcode] deviceIsBusy: NO
[Xcode] deviceIsPaired: YES
[Xcode] deviceIsActivated: YES
[Xcode] deviceActivationState: Activated
[Xcode] isPasscodeLocked: NO
[Xcode] deviceType: <DVTDeviceType:0x7fd274ac21e0 Xcode.DeviceType.iPhone>
[Xcode] supportedDeviceFamilies: (
[Xcode] 1
[Xcode] )
[Xcode] applications: (null)
[Xcode] provisioningProfiles: (null)
[Xcode] hasInternalSupport: NO
[Xcode] isSupportedOS: YES
[Xcode] developerDiskMountError: (null)
[Xcode] (null)
[Xcode] bootArgs: (null)
[Xcode] connected: yes
[Xcode] isWirelessEnabled: no
[Xcode] connectionType: direct
[Xcode] hostname: (null)
[Xcode] bonjourServiceName: b8:53:ac:75:a3:44@fe80::ba53:acff:fe75:a344._apple-mobdev2._tcp.local.
[Xcode] } (12.1 (16B92))
[Xcode]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [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"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [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] writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/f4/6z2wy5xn4mlcp22q5qf7pyk1rhvwbl/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/e76671891ac4576fc75e8ea3a3b6851e/78f9b035f3bc75dfc92b04de2eaf9fd3df43df56/ManifestCache.plist
[Xcode]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [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"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [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"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [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"}
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [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] 2019-01-03 19:24:18.489248+0000 WebDriverAgentRunner-Runner[981:136736] Running tests...
[Xcode]
[Xcode] objc[981]: Class GCDAsyncSocketPreBuffer is implemented in both /private/var/containers/Bundle/Application/545798C0-7A54-4C2E-AB68-B96EC9D06A85/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x108634578) and /private/var/containers/Bundle/Application/545798C0-7A54-4C2E-AB68-B96EC9D06A85/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x1085a1330). One of the two will be used. Which one is undefined.
[Xcode]
[Xcode] objc[981]: Class GCDAsyncReadPacket is implemented in both /private/var/containers/Bundle/Application/545798C0-7A54-4C2E-AB68-B96EC9D06A85/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x1086345c8) and /private/var/containers/Bundle/Application/545798C0-7A54-4C2E-AB68-B96EC9D06A85/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x1085a1380). One of the two will be used. Which one is undefined.
[Xcode] objc[981]: Class GCDAsyncWritePacket is implemented in both /private/var/containers/Bundle/Application/545798C0-7A54-4C2E-AB68-B96EC9D06A85/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x108634618) and /private/var/containers/Bundle/Application/545798C0-7A54-4C2E-AB68-B96EC9D06A85/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x1085a13d0). One of the two will be used. Which one is undefined.
[Xcode] objc[981]: Class GCDAsyncSpecialPacket is implemented in both /private/var/containers/Bundle/Application/545798C0-7A54-4C2E-AB68-B96EC9D06A85/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x108634668) and /private/var/containers/Bundle/Application/545798C0-7A54-4C2E-AB68-B96EC9D06A85/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x1085a1420). One of the two will be used. Which one is undefined.
[Xcode] objc[981]: Class GCDAsyncSocket is implemented in both /private/var/containers/Bundle/Application/545798C0-7A54-4C2E-AB68-B96EC9D06A85/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/CocoaAsyncSocket.framework/CocoaAsyncSocket (0x1086346b8) and /private/var/containers/Bundle/Application/545798C0-7A54-4C2E-AB68-B96EC9D06A85/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/Frameworks/RoutingHTTPServer.framework/RoutingHTTPServer (0x1085a1470). One of the two will be used. Which one is undefined.
[Xcode]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [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] Test Suite 'All tests' started at 2019-01-03 7:24:19.129 pm
[Xcode]
[Xcode] Test Suite 'WebDriverAgentRunner.xctest' started at 2019-01-03 7:24:19.130 pm
[Xcode]
[Xcode] Test Suite 'UITestingUITests' started at 2019-01-03 7:24:19.131 pm
[Xcode]
[Xcode] Test Case '-[UITestingUITests testRunner]' started.
[Xcode]
[Xcode] t = 0.00s Start Test at 2019-01-03 7:24:19.145 pm
[Xcode]
[Xcode] t = 0.00s Set Up
[Xcode]
[Xcode] 2019-01-03 19:24:19.154315+0000 WebDriverAgentRunner-Runner[981:136736] Built at Jan 23 2019 11:09:53
[Xcode]
[Xcode] 2019-01-03 19:24:19.179546+0000 WebDriverAgentRunner-Runner[981:136736] ServerURLHere->http://10.1.120.239:8100<-ServerURLHere
[Xcode]
[Xcode] 2019-01-03 19:24:19.180273+0000 WebDriverAgentRunner-Runner[981:136762] Using singleton test manager
[Xcode]
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [WD Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"12.1\",\n \"sdkVersion\" : \"12.0\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"12.1\",\n \"ip\" : \"10.1.120.239\"\n },\n \"build\" : {\n \"upgradedAt\" : \"1548149538712\",\n \"time\" : \"Jan 23 2019 11:09:53\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"B10E6F0F-21A0-43CA-9BD2-299E1FE8534D\",\n \"status\" : 0\n}"
[debug] [XCUITest] WebDriverAgent information:
[debug] [XCUITest] {
[debug] [XCUITest] "state": "success",
[debug] [XCUITest] "os": {
[debug] [XCUITest] "name": "iOS",
[debug] [XCUITest] "version": "12.1",
[debug] [XCUITest] "sdkVersion": "12.0"
[debug] [XCUITest] },
[debug] [XCUITest] "ios": {
[debug] [XCUITest] "simulatorVersion": "12.1",
[debug] [XCUITest] "ip": "10.1.120.239"
[debug] [XCUITest] },
[debug] [XCUITest] "build": {
[debug] [XCUITest] "upgradedAt": "1548149538712",
[debug] [XCUITest] "time": "Jan 23 2019 11:09:53",
[debug] [XCUITest] "productBundleIdentifier": "com.facebook.WebDriverAgentRunner"
[debug] [XCUITest] }
[debug] [XCUITest] }
[debug] [XCUITest] WebDriverAgent successfully started after 12390ms
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1548259127299 (15:58:47 GMT+0000 (Greenwich Mean Time))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.apple.mobilesafari","arguments":["-u","http://appium.io"],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[Xcode] t = 0.91s Open com.apple.mobilesafari
[Xcode]
[Xcode] t = 0.92s Launch com.apple.mobilesafari
[Xcode]
[Xcode] 2019-01-03 19:24:20.133068+0000 WebDriverAgentRunner-Runner[981:136736] Enqueue Failure: Failed to launch com.apple.mobilesafari: The operation couldn’t be completed. Application "com.apple.mobilesafari" is installing or uninstalling, and cannot be launched. /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode]
[Xcode] 2019-01-03 19:25:20.153958+0000 WebDriverAgentRunner-Runner[981:136736] Enqueue Failure: Application 'com.apple.mobilesafari' does not have a process ID /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment