Appium+iPad+Rspecでテスト実行

644 views
Skip to first unread message

大瀧洋輔

unread,
Jun 1, 2020, 1:45:52 AM6/1/20
to 日本Seleniumユーザーコミュニティ
初めまして。件名について詰まっているのでどなたかお知恵を拝借くださればと投稿させていただきます。

使用している環境
MacOSX Catalina 10.15.4
Appium desktop v1.15.1
XCode 11.5
Appium-doctor --iosの結果
info AppiumDoctor Appium Doctor v.1.15.1
info AppiumDoctor ### Diagnostic for necessary dependencies starting ###
info AppiumDoctor  ✔ The Node.js binary was found at: /usr/local/bin/node
info AppiumDoctor  ✔ Node version is 14.3.0
info AppiumDoctor  ✔ Xcode is installed at: /Applications/Xcode.app/Contents/Developer
info AppiumDoctor  ✔ Xcode Command Line Tools are installed in: /Applications/Xcode.app/Contents/Developer
info AppiumDoctor  ✔ DevToolsSecurity is enabled.
info AppiumDoctor  ✔ The Authorization DB is set up properly.
info AppiumDoctor  ✔ Carthage was found at: /usr/local/bin/carthage. Installed version is: 0.34.0
info AppiumDoctor  ✔ HOME is set to: /Users/xxxxxxxx

rbファイルの中身
require 'selenium-webdriver'
require 'appium_lib'
require 'allure-rspec'
require 'uuid'
require 'rake'
require "appium_lib"

$driver = nil

RSpec.configure do |config|
config.include AllureRSpec::Adaptor
config.before(:all) do
$wait = Selenium::WebDriver::Wait.new(:timeout => 10)
end

config.after(:each) do |example|
if example.exception
example.attach_file('screenshot', File.new(
$driver.save_screenshot(
File.join(Dir.pwd, "results/#{UUID.new.generate}.png"))))
end
end
end

AllureRSpec.configure do |config|
config.output_dir = 'results'
config.clean_dir = true
end
describe "Login DHP" do
desired_caps = {caps:{platformName: "iOS",
platformVersion: "13.4.1",
deviceName: "iPhone",
udid: "実機のudid",
browserName: "Safari",
automationName: "XCUITest",
startIWDP: true,
}}

it "Test" do |s|
s.step "hoge1" do
$driver = Appium::Driver.new(desired_caps).start_driver
sleep 10
end

s.step "hoge2" do
$driver.quit
end
end
end

大瀧洋輔

unread,
Jun 1, 2020, 1:48:42 AM6/1/20
to 日本Seleniumユーザーコミュニティ
このRubyファイルを実行すると以下のようなエラーが出ます。
ググってみましたが解決に至らずです。。。


[info] [35m[Appium] [39m Welcome to Appium v1.15.1
[info] [35m[Appium] [39m Non-default server args:
[info] [35m[Appium] [39m   allowInsecure: {
[info] [35m[Appium] [39m   }
[info] [35m[Appium] [39m   denyInsecure: {
[info] [35m[Appium] [39m   }
[info] [35m[Appium] [39m Appium REST http interface listener started on 0.0.0.0:4723[info] [35m[HTTP] [39m [37m--> [39m [37mPOST [39m [37m/wd/hub/session [39m
[info] [35m[HTTP] [39m [90m{"desiredCapabilities":{"platformName":"iOS","platformVersion":"13.4.1","deviceName":"iPhone","udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","automationName":"XCUITest","startIWDP":true},"capabilities":{"firstMatch":[{"platformName":"iOS","appium:platformVersion":"13.4.1","appium:deviceName":"iPhone","appium:udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","appium:automationName":"XCUITest","appium:startIWDP":true}]}} [39m
[debug] [35m[W3C] [39m Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"13.4.1","deviceName":"iPhone","udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","automationName":"XCUITest","startIWDP":true},null,{"firstMatch":[{"platformName":"iOS","appium:platformVersion":"13.4.1","appium:deviceName":"iPhone","appium:udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","appium:automationName":"XCUITest","appium:startIWDP":true}]}]
[debug] [35m[BaseDriver] [39m Event 'newSessionRequested' logged at 1590990406430 (14:46:46 GMT+0900 (JST))
[info] [Appium] Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver]   "alwaysMatch": {
[debug] [BaseDriver]     "platformName": "iOS",
[debug] [BaseDriver]     "browserName": "Safari",
[debug] [BaseDriver]     "appium:platformVersion": "13.4.1",
[debug] [BaseDriver]     "appium:deviceName": "iPhone",
[debug] [BaseDriver]     "appium:udid": "24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a",
[debug] [BaseDriver]     "appium:automationName": "XCUITest",
[debug] [BaseDriver]     "appium:startIWDP": true
[debug] [BaseDriver]   },
[debug] [BaseDriver]   "firstMatch": [
[debug] [BaseDriver]     {}
[debug] [BaseDriver]   ]
[debug] [BaseDriver] }
[info] [BaseDriver] Session created with session id: 9644b9b9-6c92-4b32-aa87-eda52381503a[debug] [XCUITest] Available devices: 
[error] [XCUITest] Error: Unknown device or simulator UDID: '24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a'
[error] [XCUITest]     at XCUITestDriver.determineDevice (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:806:17)
[info] [DevCon Factory] Releasing connections for 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a device on any port number
[info] [DevCon Factory] No cached connections have been found
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1590990408420 (14:46:48 GMT+0900 (JST))
[debug] [W3C] Encountered internal error running command: Error: Unknown device or simulator UDID: '24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a'
[debug] [W3C]     at XCUITestDriver.determineDevice (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:806:17)
[info] [HTTP] <-- POST /wd/hub/session 500 2006 ms - 782
[info] [HTTP] [info] [HTTP] [37m--> [39m [37mPOST [39m [37m/wd/hub/session [39m
[info] [HTTP] {"desiredCapabilities":{"platformName":"iOS","platformVersion":"13.4.1","deviceName":"iPhone","udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","automationName":"XCUITest","startIWDP":true},"capabilities":{"firstMatch":[{"platformName":"iOS","appium:platformVersion":"13.4.1","appium:deviceName":"iPhone","appium:udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","appium:automationName":"XCUITest","appium:startIWDP":true}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"13.4.1","deviceName":"iPhone","udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","automationName":"XCUITest","startIWDP":true},null,{"firstMatch":[{"platformName":"iOS","appium:platformVersion":"13.4.1","appium:deviceName":"iPhone","appium:udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","appium:automationName":"XCUITest","appium:startIWDP":true}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1590990416152 (14:46:56 GMT+0900 (JST))
[info] [Appium] Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver]   "alwaysMatch": {
[debug] [BaseDriver]     "platformName": "iOS",
[debug] [BaseDriver]     "browserName": "Safari",
[debug] [BaseDriver]     "appium:platformVersion": "13.4.1",
[debug] [BaseDriver]     "appium:deviceName": "iPhone",
[debug] [BaseDriver]     "appium:udid": "24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a",
[debug] [BaseDriver]     "appium:automationName": "XCUITest",
[debug] [BaseDriver]     "appium:startIWDP": true
[debug] [BaseDriver]   },
[debug] [BaseDriver]   "firstMatch": [
[debug] [BaseDriver]     {}
[debug] [BaseDriver]   ]
[debug] [BaseDriver] }
[info] [BaseDriver] Session created with session id: 0a9e9fe8-bd9a-4837-971c-1ebcd39a863b
[debug] [XCUITest] Current user: 'ootakiyousuke'
[debug] [XCUITest] Available devices: [error] [XCUITest] Error: Unknown device or simulator UDID: '24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a'
[error] [XCUITest]     at XCUITestDriver.determineDevice (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:806:17)
[info] [DevCon Factory] Releasing connections for 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a device on any port number
[info] [DevCon Factory] No cached connections have been found
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1590990416291 (14:46:56 GMT+0900 (JST))
[debug] [W3C] Encountered internal error running command: Error: Unknown device or simulator UDID: '24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a'
[debug] [W3C]     at XCUITestDriver.determineDevice (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:806:17)
[info] [HTTP] <-- POST /wd/hub/session 500 140 ms - 782
[info] [HTTP] [info] [HTTP] [37m--> [39m [37mPOST [39m [37m/wd/hub/session [39m
[info] [HTTP] {"desiredCapabilities":{"platformName":"iOS","platformVersion":"13.4.1","deviceName":"iPhone","udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","automationName":"XCUITest","startIWDP":true},"capabilities":{"firstMatch":[{"platformName":"iOS","appium:platformVersion":"13.4.1","appium:deviceName":"iPhone","appium:udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","appium:automationName":"XCUITest","appium:startIWDP":true}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"13.4.1","deviceName":"iPhone","udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","automationName":"XCUITest","startIWDP":true},null,{"firstMatch":[{"platformName":"iOS","appium:platformVersion":"13.4.1","appium:deviceName":"iPhone","appium:udid":"24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a","browserName":"Safari","appium:automationName":"XCUITest","appium:startIWDP":true}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1590990444586 (14:47:24 GMT+0900 (JST))
[info] [Appium] Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver]   "alwaysMatch": {
[debug] [BaseDriver]     "platformName": "iOS",
[debug] [BaseDriver]     "browserName": "Safari",
[debug] [BaseDriver]     "appium:platformVersion": "13.4.1",
[debug] [BaseDriver]     "appium:deviceName": "iPhone",
[debug] [BaseDriver]     "appium:udid": "24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a",
[debug] [BaseDriver]     "appium:automationName": "XCUITest",
[debug] [BaseDriver]     "appium:startIWDP": true
[debug] [BaseDriver]   },
[debug] [BaseDriver]   "firstMatch": [
[debug] [BaseDriver]     {}
[debug] [BaseDriver]   ]
[debug] [BaseDriver] }
[info] [BaseDriver] Session created with session id: 35cbb6ad-0350-47cb-aaa3-6a89c3b39313
[debug] [XCUITest] Current user: 'ootakiyousuke'
[debug] [XCUITest] Available devices: 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a
[debug] [XCUITest] Creating iDevice object with udid '24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a'
[info] [XCUITest] Determining device to run tests on: udid: '24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a', real device: true
[info] [XCUITest] Normalized platformVersion capability value '13.4.1' to '13.4'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1590990444709 (14:47:24 GMT+0900 (JST))
[info] [XCUITest] Safari test requested
[debug] [BaseDriver] Event 'appConfigured' logged at 1590990444709 (14:47:24 GMT+0900 (JST))
[debug] [BaseDriver] Event 'resetStarted' logged at 1590990444709 (14:47:24 GMT+0900 (JST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1590990444710 (14:47:24 GMT+0900 (JST))[debug] [XCUITest] Crash reports root '/Users/ootakiyousuke/Library/Logs/CrashReporter/MobileDevice/iPhone' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1590990444889 (14:47:24 GMT+0900 (JST))
[info] [XCUITest] Setting up real device
[info] [XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent'
[info] [XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[info] [DevCon Factory] Requesting connection for device 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a on local port 8100, device port 8100
[debug] [DevCon Factory] Cached connections count: 0
[warn] [DevCon Factory] Port #8100 is busy
[info] [DevCon Factory] Successfully requested the connection for 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a: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://localhost:8100/status] with no body
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[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] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1590990445005 (14:47:25 GMT+0900 (JST))
[info] [XCUITest] Launching WebDriverAgent on the device[info] [WebDriverAgent] Dependencies up-to-date
[debug] [XCUITest] Killing running processes 'xcodebuild.*24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a' for the device 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a...
[debug] [XCUITest] 'pgrep -ifn xcodebuild.*24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a IPHONEOS_DEPLOYMENT_TARGET=13.4 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent'
[debug] [XCUITest] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[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
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[error] [Xcode] 2020-06-01 14:47:30.038 xcodebuild[4656:130446] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos13.5-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Build/Products/WebDriverAgentRunner_iphoneos13.5-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7ff17102d990 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[error] [Xcode] 
[error] [Xcode] ** TEST BUILD FAILED **
[error] [Xcode] 
[error] [Xcode] 
[debug] [XCUITest] Log file for xcodebuild test: /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-28-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-8DB983EF-82EE-4856-BF8F-FC223D5F967C/WebDriverAgentRunner-95CAA0D4-B439-45E0-9087-5C40815FE9B5/Session-WebDriverAgentRunner-2020-06-01_144730-BWcqLM.log
[error] [Xcode] 2020-06-01 14:47:30.057 xcodebuild[4656:130442]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[error] [Xcode] /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-28-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-8DB983EF-82EE-4856-BF8F-FC223D5F967C/WebDriverAgentRunner-95CAA0D4-B439-45E0-9087-5C40815FE9B5/Session-WebDriverAgentRunner-2020-06-01_144730-BWcqLM.log
[error] [Xcode] 
[error] [Xcode] 2020-06-01 14:47:30.059 xcodebuild[4656:130383] [MT] IDETestOperationsObserverDebug: (B5151848-2C35-4B18-9D0D-DC026C1EBF91) Beginning test session WebDriverAgentRunner-B5151848-2C35-4B18-9D0D-DC026C1EBF91 at 2020-06-01 14:47:30.057 with Xcode 11E608c on target 📱<DVTiOSDevice (0x7ff170cc82e0), iPhone, iPhone, 13.4.1 (17E262), 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a> {
[error] [Xcode] deviceSerialNumber:         DNPVTWY0JCLC
[error] [Xcode] identifier:                 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a
[error] [Xcode] deviceClass:                iPhone
[error] [Xcode] deviceName:                 iPhone
[error] [Xcode] deviceIdentifier:           24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a
[error] [Xcode] productVersion:             13.4.1
[error] [Xcode] buildVersion:               17E262
[error] [Xcode] deviceSoftwareVersion:      13.4.1 (17E262)
[error] [Xcode] deviceArchitecture:         arm64
[error] [Xcode] deviceTotalCapacity:        250183475200
[error] [Xcode] deviceAvailableCapacity:    145895354368
[error] [Xcode] deviceIsTransient:          NO
[error] [Xcode] ignored:                    NO
[error] [Xcode] deviceIsBusy:               NO
[error] [Xcode] deviceIsPaired:             YES
[error] [Xcode] deviceIsActivated:          YES
[error] [Xcode] deviceActivationState:      Activated
[error] [Xcode] isPasscodeLocked:           YES
[error] [Xcode] deviceType:                 <DVTDeviceType:0x7ff170b1ed80 Xcode.DeviceType.iPhone>
[error] [Xcode] supportedDeviceFamilies:    (
[error] [Xcode]     1
[error] [Xcode] )
[error] [Xcode] applications:              (null)
[error] [Xcode] provisioningProfiles:      (null)
[error] [Xcode] hasInternalSupport:        NO
[error] [Xcode] hasWritableSystem:         NO
[error] [Xcode] isSupportedOS:             YES
[error] [Xcode] bootArgs:                  (null)
[error] [Xcode] nextBootArgs:              (null)
[error] [Xcode] connected:                 YES
[error] [Xcode] isWirelessEnabled:         NO
[error] [Xcode] connectionType:            direct
[error] [Xcode] hostname:                  (null)
[error] [Xcode] bonjourServiceName:        3c:2e:f9:ae:40:28@fe80::3e2e:f9ff:feae:4028._apple-mobdev2._tcp.local.
[error] [Xcode] activeProxiedDevice:       (null)
[error] [Xcode] } (13.4.1 (17E262))
[error] [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
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[error] [Xcode] 2020-06-01 14:47:30.316 xcodebuild[4656:130383] [MT] IDETestOperationsObserverDebug: (B5151848-2C35-4B18-9D0D-DC026C1EBF91) Finished requesting crash reports. Continuing with testing.
[error] [Xcode] 
[error] [Xcode] 
[error] [Xcode] 
[error] [Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-28-+0900.xcresult
[error] [Xcode] 
[error] [Xcode] 
[error] [Xcode] 2020-06-01 14:47:30.335 xcodebuild[4656:130383] [MT] IDETestOperationsObserverDebug: 0.285 elapsed -- Testing started completed.
[error] [Xcode] 2020-06-01 14:47:30.335 xcodebuild[4656:130383] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[error] [Xcode] 
[error] [Xcode] 2020-06-01 14:47:30.335 xcodebuild[4656:130383] [MT] IDETestOperationsObserverDebug: 0.285 sec, +0.285 sec -- end
[error] [Xcode] 2020-06-01 14:47:30.336 xcodebuild[4656:130383] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7ff16e73c780 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[error] [Xcode] 
[error] [Xcode] 
[error] [Xcode] Test session results, code coverage, and logs:
[error] [Xcode] /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-28-+0900.xcresult
[error] [Xcode] 
[error] [Xcode] 
[error] [Xcode] Testing failed:
[error] [Xcode] Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.
[error] [Xcode] Building for iOS, but the linked framework 'CocoaAsyncSocket.framework' was built for tvOS + tvOS Simulator.
[error] [Xcode] WebDriverAgentRunner:
[error] [Xcode] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[error] [Xcode] 
[error] [Xcode] ** TEST EXECUTE FAILED **
[error] [Xcode] 
[error] [Xcode] [error] [Xcode] Testing started on 'iPhone'
[error] [Xcode] 
[error] [XCUITest] xcodebuild exited with code '65' and signal 'null'
[info] [XCUITest] Launching WebDriverAgent on the device
[info] [WebDriverAgent] Fetching dependencies
[info] [WebDriverAgent] Dependencies up-to-date
[debug] [XCUITest] Killing running processes 'xcodebuild.*24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a' for the device 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a...
[debug] [XCUITest] 'pgrep -ifn xcodebuild.*24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a IPHONEOS_DEPLOYMENT_TARGET=13.4 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent'
[debug] [XCUITest] 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://localhost:8100/status] with no body
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[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
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[warn] [iProxy@24dce...] Connection was refused to port 8100
[info] [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"}
[error] [Xcode] 2020-06-01 14:47:34.774 xcodebuild[4664:130804] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos13.5-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Build/Products/WebDriverAgentRunner_iphoneos13.5-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fd42d0926e0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[error] [Xcode] 
[error] [Xcode] ** TEST BUILD FAILED **
[error] [Xcode] 
[error] [Xcode] [debug] [XCUITest] Log file for xcodebuild test: /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-48D054D2-60A9-4B74-88F4-5C2B8500E1CE/WebDriverAgentRunner-A6D44FFD-9437-4799-A642-5B786E8B1A9B/Session-WebDriverAgentRunner-2020-06-01_144734-4CGiP1.log
[error] [Xcode] 2020-06-01 14:47:34.789 xcodebuild[4664:130899]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[error] [Xcode] /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-48D054D2-60A9-4B74-88F4-5C2B8500E1CE/WebDriverAgentRunner-A6D44FFD-9437-4799-A642-5B786E8B1A9B/Session-WebDriverAgentRunner-2020-06-01_144734-4CGiP1.log
[error] [Xcode] 
[error] [Xcode] 2020-06-01 14:47:34.790 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: (7E1BB780-DDA6-4906-8379-7591330EC2FE) Beginning test session WebDriverAgentRunner-7E1BB780-DDA6-4906-8379-7591330EC2FE at 2020-06-01 14:47:34.790 with Xcode 11E608c on target 📱<DVTiOSDevice (0x7fd42d41e790), iPhone, iPhone, 13.4.1 (17E262), 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a> {
[error] [Xcode] deviceSerialNumber:         DNPVTWY0JCLC
[error] [Xcode] identifier:                 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a
[error] [Xcode] deviceClass:                iPhone
[error] [Xcode] deviceName:                 iPhone
[error] [Xcode] deviceIdentifier:           24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a
[error] [Xcode] productVersion:             13.4.1
[error] [Xcode] buildVersion:               17E262
[error] [Xcode] deviceSoftwareVersion:      13.4.1 (17E262)
[error] [Xcode] deviceArchitecture:         arm64
[error] [Xcode] deviceTotalCapacity:        250183475200
[error] [Xcode] deviceAvailableCapacity:    145894965248
[error] [Xcode] deviceIsTransient:          NO
[error] [Xcode] ignored:                    NO
[error] [Xcode] deviceIsBusy:               NO
[error] [Xcode] deviceIsPaired:             YES
[error] [Xcode] deviceIsActivated:          YES
[error] [Xcode] deviceActivationState:      Activated
[error] [Xcode] isPasscodeLocked:           YES
[error] [Xcode] deviceType:                 <DVTDeviceType:0x7fd42d23d510 Xcode.DeviceType.iPhone>
[error] [Xcode] supportedDeviceFamilies:    (
[error] [Xcode]     1
[error] [Xcode] )
[error] [Xcode] applications:              (null)
[error] [Xcode] provisioningProfiles:      (null)
[error] [Xcode] hasInternalSupport:        NO
[error] [Xcode] hasWritableSystem:         NO
[error] [Xcode] isSupportedOS:             YES
[error] [Xcode] bootArgs:                  (null)
[error] [Xcode] nextBootArgs:              (null)
[error] [Xcode] connected:                 YES
[error] [Xcode] isWirelessEnabled:         NO
[error] [Xcode] connectionType:            direct
[error] [Xcode] hostname:                  (null)
[error] [Xcode] bonjourServiceName:        3c:2e:f9:ae:40:28@fe80::3e2e:f9ff:feae:4028._apple-mobdev2._tcp.local.
[error] [Xcode] activeProxiedDevice:       (null)
[error] [Xcode] } (13.4.1 (17E262))
[error] [Xcode] 
[error] [Xcode] 2020-06-01 14:47:34.862 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: (7E1BB780-DDA6-4906-8379-7591330EC2FE) Finished requesting crash reports. Continuing with testing.
[error] [Xcode] 
[error] [Xcode] 
[error] [Xcode] 
[error] [Xcode] *** If you believe this error represents a bug, please attach the result bundle at /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult
[error] [Xcode] 
[error] [Xcode] 
[error] [Xcode] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.091 elapsed -- Testing started completed.
[error] [Xcode] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[error] [Xcode] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.091 sec, +0.091 sec -- end
[error] [Xcode] 
[error] [Xcode] 2020-06-01 14:47:34.877 xcodebuild[4664:130745] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fd42d2e3b90 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[error] [Xcode] 
[error] [Xcode] 
[error] [Xcode] Test session results, code coverage, and logs:
[error] [Xcode] /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult
[error] [Xcode] 
[error] [Xcode] 
[error] [Xcode] Testing failed:
[error] [Xcode] Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.
[error] [Xcode] Building for iOS, but the linked framework 'CocoaAsyncSocket.framework' was built for tvOS + tvOS Simulator.
[error] [Xcode] WebDriverAgentRunner:
[error] [Xcode] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[error] [Xcode] 
[error] [Xcode] ** TEST EXECUTE FAILED **
[error] [Xcode] 
[error] [Xcode] 
[error] [Xcode] Testing started on 'iPhone'
[error] [Xcode] 
[error] [XCUITest] xcodebuild exited with code '65' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1590990454960 (14:47:34 GMT+0900 (JST))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [XCUITest] xcodebuild error message:
[debug] [XCUITest] 
[debug] [XCUITest] 2020-06-01 14:47:34.774 xcodebuild[4664:130804] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos13.5-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Build/Products/WebDriverAgentRunner_iphoneos13.5-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fd42d0926e0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [XCUITest] ** TEST BUILD FAILED **
[debug] [XCUITest] 2020-06-01 14:47:34.789 xcodebuild[4664:130899]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[debug] [XCUITest] /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-48D054D2-60A9-4B74-88F4-5C2B8500E1CE/WebDriverAgentRunner-A6D44FFD-9437-4799-A642-5B786E8B1A9B/Session-WebDriverAgentRunner-2020-06-01_144734-4CGiP1.log
[debug] [XCUITest] 2020-06-01 14:47:34.790 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: (7E1BB780-DDA6-4906-8379-7591330EC2FE) Beginning test session WebDriverAgentRunner-7E1BB780-DDA6-4906-8379-7591330EC2FE at 2020-06-01 14:47:34.790 with Xcode 11E608c on target 📱<DVTiOSDevice (0x7fd42d41e790), iPhone, iPhone, 13.4.1 (17E262), 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a> {
[debug] [XCUITest] deviceSerialNumber:         DNPVTWY0JCLC
[debug] [XCUITest] identifier:                 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a
[debug] [XCUITest] deviceClass:                iPhone
[debug] [XCUITest] deviceName:                 iPhone
[debug] [XCUITest] deviceIdentifier:           24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a
[debug] [XCUITest] productVersion:             13.4.1
[debug] [XCUITest] buildVersion:               17E262
[debug] [XCUITest] deviceSoftwareVersion:      13.4.1 (17E262)
[debug] [XCUITest] deviceArchitecture:         arm64
[debug] [XCUITest] deviceTotalCapacity:        250183475200
[debug] [XCUITest] deviceAvailableCapacity:    145894965248
[debug] [XCUITest] deviceIsTransient:          NO
[debug] [XCUITest] ignored:                    NO
[debug] [XCUITest] deviceIsBusy:               NO
[debug] [XCUITest] deviceIsPaired:             YES
[debug] [XCUITest] deviceIsActivated:          YES
[debug] [XCUITest] deviceActivationState:      Activated
[debug] [XCUITest] isPasscodeLocked:           YES
[debug] [XCUITest] deviceType:                 <DVTDeviceType:0x7fd42d23d510 Xcode.DeviceType.iPhone>
[debug] [XCUITest] supportedDeviceFamilies:    (
[debug] [XCUITest]     1
[debug] [XCUITest] )
[debug] [XCUITest] applications:              (null)
[debug] [XCUITest] provisioningProfiles:      (null)
[debug] [XCUITest] hasInternalSupport:        NO
[debug] [XCUITest] hasWritableSystem:         NO
[debug] [XCUITest] isSupportedOS:             YES
[debug] [XCUITest] bootArgs:                  (null)
[debug] [XCUITest] nextBootArgs:              (null)
[debug] [XCUITest] connected:                 YES
[debug] [XCUITest] isWirelessEnabled:         NO
[debug] [XCUITest] connectionType:            direct
[debug] [XCUITest] hostname:                  (null)
[debug] [XCUITest] bonjourServiceName:        3c:2e:f9:ae:40:28@fe80::3e2e:f9ff:feae:4028._apple-mobdev2._tcp.local.
[debug] [XCUITest] activeProxiedDevice:       (null)
[debug] [XCUITest] } (13.4.1 (17E262))
[debug] [XCUITest] 2020-06-01 14:47:34.862 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: (7E1BB780-DDA6-4906-8379-7591330EC2FE) Finished requesting crash reports. Continuing with testing.
[debug] [XCUITest] *** If you believe this error represents a bug, please attach the result bundle at /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult
[debug] [XCUITest] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.091 elapsed -- Testing started completed.
[debug] [XCUITest] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[debug] [XCUITest] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.091 sec, +0.091 sec -- end
[debug] [XCUITest] 2020-06-01 14:47:34.877 xcodebuild[4664:130745] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fd42d2e3b90 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [XCUITest] Test session results, code coverage, and logs:
[debug] [XCUITest] /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult
[debug] [XCUITest] Testing failed:
[debug] [XCUITest] Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.
[debug] [XCUITest] Building for iOS, but the linked framework 'CocoaAsyncSocket.framework' was built for tvOS + tvOS Simulator.
[debug] [XCUITest] WebDriverAgentRunner:
[debug] [XCUITest] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[debug] [XCUITest] ** TEST EXECUTE FAILED **
[debug] [XCUITest] Testing started on 'iPhone'. 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] [XCUITest] Shutting down sub-processes[debug] [XCUITest] No WDAs on the device.
[error] [XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[error] [XCUITest] xcodebuild error message:
[error] [XCUITest] 
[error] [XCUITest] 2020-06-01 14:47:34.774 xcodebuild[4664:130804] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos13.5-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Build/Products/WebDriverAgentRunner_iphoneos13.5-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fd42d0926e0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[error] [XCUITest] ** TEST BUILD FAILED **
[error] [XCUITest] 2020-06-01 14:47:34.789 xcodebuild[4664:130899]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[error] [XCUITest] /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-48D054D2-60A9-4B74-88F4-5C2B8500E1CE/WebDriverAgentRunner-A6D44FFD-9437-4799-A642-5B786E8B1A9B/Session-WebDriverAgentRunner-2020-06-01_144734-4CGiP1.log
[error] [XCUITest] 2020-06-01 14:47:34.790 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: (7E1BB780-DDA6-4906-8379-7591330EC2FE) Beginning test session WebDriverAgentRunner-7E1BB780-DDA6-4906-8379-7591330EC2FE at 2020-06-01 14:47:34.790 with Xcode 11E608c on target 📱<DVTiOSDevice (0x7fd42d41e790), iPhone, iPhone, 13.4.1 (17E262), 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a> {
[error] [XCUITest] deviceSerialNumber:         DNPVTWY0JCLC
[error] [XCUITest] identifier:                 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a
[error] [XCUITest] deviceClass:                iPhone
[error] [XCUITest] deviceName:                 iPhone
[error] [XCUITest] deviceIdentifier:           24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a
[error] [XCUITest] productVersion:             13.4.1
[error] [XCUITest] buildVersion:               17E262
[error] [XCUITest] deviceSoftwareVersion:      13.4.1 (17E262)
[error] [XCUITest] deviceArchitecture:         arm64
[error] [XCUITest] deviceTotalCapacity:        250183475200
[error] [XCUITest] deviceAvailableCapacity:    145894965248
[error] [XCUITest] deviceIsTransient:          NO
[error] [XCUITest] ignored:                    NO
[error] [XCUITest] deviceIsBusy:               NO
[error] [XCUITest] deviceIsPaired:             YES
[error] [XCUITest] deviceIsActivated:          YES
[error] [XCUITest] deviceActivationState:      Activated
[error] [XCUITest] isPasscodeLocked:           YES
[error] [XCUITest] deviceType:                 <DVTDeviceType:0x7fd42d23d510 Xcode.DeviceType.iPhone>
[error] [XCUITest] supportedDeviceFamilies:    (
[error] [XCUITest]     1
[error] [XCUITest] )
[error] [XCUITest] applications:              (null)
[error] [XCUITest] provisioningProfiles:      (null)
[error] [XCUITest] hasInternalSupport:        NO
[error] [XCUITest] hasWritableSystem:         NO
[error] [XCUITest] isSupportedOS:             YES
[error] [XCUITest] bootArgs:                  (null)
[error] [XCUITest] nextBootArgs:              (null)
[error] [XCUITest] connected:                 YES
[error] [XCUITest] isWirelessEnabled:         NO
[error] [XCUITest] connectionType:            direct
[error] [XCUITest] hostname:                  (null)
[error] [XCUITest] bonjourServiceName:        3c:2e:f9:ae:40:28@fe80::3e2e:f9ff:feae:4028._apple-mobdev2._tcp.local.
[error] [XCUITest] activeProxiedDevice:       (null)
[error] [XCUITest] } (13.4.1 (17E262))
[error] [XCUITest] 2020-06-01 14:47:34.862 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: (7E1BB780-DDA6-4906-8379-7591330EC2FE) Finished requesting crash reports. Continuing with testing.
[error] [XCUITest] *** If you believe this error represents a bug, please attach the result bundle at /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult
[error] [XCUITest] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.091 elapsed -- Testing started completed.
[error] [XCUITest] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[error] [XCUITest] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.091 sec, +0.091 sec -- end
[error] [XCUITest] 2020-06-01 14:47:34.877 xcodebuild[4664:130745] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fd42d2e3b90 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[error] [XCUITest] Test session results, code coverage, and logs:
[error] [XCUITest] /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult
[error] [XCUITest] Testing failed:
[error] [XCUITest] Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.
[error] [XCUITest] Building for iOS, but the linked framework 'CocoaAsyncSocket.framework' was built for tvOS + tvOS Simulator.
[error] [XCUITest] WebDriverAgentRunner:
[error] [XCUITest] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[error] [XCUITest] ** TEST EXECUTE FAILED **
[error] [XCUITest] Testing started on 'iPhone'. 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.
[error] [XCUITest]     at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:527:15)
[info] [DevCon Factory] Releasing connections for 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a device on any port number
[info] [DevCon Factory] Found cached connections to release: ["24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a:8100"]
[info] [DevCon Factory] Releasing the listener for '24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a:8100'
[debug] [DevCon Factory] Cached connections count: 0
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1590990455528 (14:47:35 GMT+0900 (JST))
[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] 2020-06-01 14:47:34.774 xcodebuild[4664:130804] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos13.5-arm64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Build/Products/WebDriverAgentRunner_iphoneos13.5-arm64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fd42d0926e0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [W3C] ** TEST BUILD FAILED **
[debug] [W3C] 2020-06-01 14:47:34.789 xcodebuild[4664:130899]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[debug] [W3C] /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-48D054D2-60A9-4B74-88F4-5C2B8500E1CE/WebDriverAgentRunner-A6D44FFD-9437-4799-A642-5B786E8B1A9B/Session-WebDriverAgentRunner-2020-06-01_144734-4CGiP1.log
[debug] [W3C] 2020-06-01 14:47:34.790 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: (7E1BB780-DDA6-4906-8379-7591330EC2FE) Beginning test session WebDriverAgentRunner-7E1BB780-DDA6-4906-8379-7591330EC2FE at 2020-06-01 14:47:34.790 with Xcode 11E608c on target 📱<DVTiOSDevice (0x7fd42d41e790), iPhone, iPhone, 13.4.1 (17E262), 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a> {
[debug] [W3C] deviceSerialNumber:         DNPVTWY0JCLC
[debug] [W3C] identifier:                 24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a
[debug] [W3C] deviceClass:                iPhone
[debug] [W3C] deviceName:                 iPhone
[debug] [W3C] deviceIdentifier:           24dcec4d9a463fe01862c944bf2e5ffd4b20fd4a
[debug] [W3C] productVersion:             13.4.1
[debug] [W3C] buildVersion:               17E262
[debug] [W3C] deviceSoftwareVersion:      13.4.1 (17E262)
[debug] [W3C] deviceArchitecture:         arm64
[debug] [W3C] deviceTotalCapacity:        250183475200
[debug] [W3C] deviceAvailableCapacity:    145894965248
[debug] [W3C] deviceIsTransient:          NO
[debug] [W3C] ignored:                    NO
[debug] [W3C] deviceIsBusy:               NO
[debug] [W3C] deviceIsPaired:             YES
[debug] [W3C] deviceIsActivated:          YES
[debug] [W3C] deviceActivationState:      Activated
[debug] [W3C] isPasscodeLocked:           YES
[debug] [W3C] deviceType:                 <DVTDeviceType:0x7fd42d23d510 Xcode.DeviceType.iPhone>
[debug] [W3C] supportedDeviceFamilies:    (
[debug] [W3C]     1
[debug] [W3C] )
[debug] [W3C] applications:              (null)
[debug] [W3C] provisioningProfiles:      (null)
[debug] [W3C] hasInternalSupport:        NO
[debug] [W3C] hasWritableSystem:         NO
[debug] [W3C] isSupportedOS:             YES
[debug] [W3C] bootArgs:                  (null)
[debug] [W3C] nextBootArgs:              (null)
[debug] [W3C] connected:                 YES
[debug] [W3C] isWirelessEnabled:         NO
[debug] [W3C] connectionType:            direct
[debug] [W3C] hostname:                  (null)
[debug] [W3C] bonjourServiceName:        3c:2e:f9:ae:40:28@fe80::3e2e:f9ff:feae:4028._apple-mobdev2._tcp.local.
[debug] [W3C] activeProxiedDevice:       (null)
[debug] [W3C] } (13.4.1 (17E262))
[debug] [W3C] 2020-06-01 14:47:34.862 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: (7E1BB780-DDA6-4906-8379-7591330EC2FE) Finished requesting crash reports. Continuing with testing.
[debug] [W3C] *** If you believe this error represents a bug, please attach the result bundle at /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult
[debug] [W3C] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.091 elapsed -- Testing started completed.
[debug] [W3C] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[debug] [W3C] 2020-06-01 14:47:34.876 xcodebuild[4664:130745] [MT] IDETestOperationsObserverDebug: 0.091 sec, +0.091 sec -- end
[debug] [W3C] 2020-06-01 14:47:34.877 xcodebuild[4664:130745] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fd42d2e3b90 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [W3C] Test session results, code coverage, and logs:
[debug] [W3C] /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-akxhdiizyykdxefsthlnfyomlaiz/Logs/Test/Test-WebDriverAgentRunner-2020.06.01_14-47-33-+0900.xcresult
[debug] [W3C] Testing failed:
[debug] [W3C] Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.
[debug] [W3C] Building for iOS, but the linked framework 'CocoaAsyncSocket.framework' was built for tvOS + tvOS Simulator.
[debug] [W3C] WebDriverAgentRunner:
[debug] [W3C] WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[debug] [W3C] ** TEST EXECUTE FAILED **
[debug] [W3C] Testing started on 'iPhone'. 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.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:527:15)
[info] [HTTP] <-- POST /wd/hub/session 500 10950 ms - 11588
[info] [HTTP] 

2020年6月1日月曜日 14時45分52秒 UTC+9 大瀧洋輔:

Kazuaki Matsuo

unread,
Jun 1, 2020, 5:12:47 AM6/1/20
to 日本Seleniumユーザーコミュニティ
こんにちは。松尾です。

私が把握している範囲では、多くの場合はCarthage やxcodebuild、nodeコマンド関係におけるAppiumのプロセスによるファイルの書き込みが十分にできず、
必要なファイルが期待する場所に作成されていないことが原因のようです。
そのため、Appium.appのプロセスではなく、手動で以下のようにファイルを作成してあげると解決することもあるようです。

Appium Desktopにおいてもnodeの依存性解決などではコマンドラインのAppium同様に.app以下に作っているので、
特別な修正が必要なのかもしれません...(Appiumを開発しているメンバではそこまで手が回ってはいないのですが)

もし、コマンドラインのAppiumでは問題なく、Appium Desktopのinspector機能だけを利用したい場合、
https://github.com/appium/appium-desktop#connect-to-local-appium-server に書かれているようにすでに動作しているAppiumに接続して利用することも可能です。
...

大瀧洋輔

unread,
Jun 1, 2020, 6:00:29 AM6/1/20
to 日本Seleniumユーザーコミュニティ
ご回答ありがとうございます。
Appium Desktop、Carthage、WebDriverAgentを再インストールしてもうまくいきません。。。

ちなみに、実績のある手順や環境ってご存知でしょうか?

2020年6月1日月曜日 14時45分52秒 UTC+9 大瀧洋輔:

Kazuaki Matsuo

unread,
Jun 2, 2020, 2:55:30 AM6/2/20
to 日本Seleniumユーザーコミュニティ
> WebDriverAgentを再インストールしても

WebDriverAgentのテスト対象端末へのインストールはうまくいっているということでしょうか?
1通名に添付いただいたログではビルドに失敗していたので、WebDriverAgentの実行ファイル生成まで達していないと思いまして。
であれば、異なるログが得られると思うので共有いただけると助かります。


私は通常は https://appium.io/docs/en/about-appium/getting-started/ のようにappiumコマンドをインストールし、起動、セッション軌道のリクエスをを呼び出す以外の手順を踏んでいません。
あとはappium-doctorで必要最低限のコマンドライン関係があることを確認する程度です。

なお、Appiumプロジェクトでは例えば以下のリポジトリにあるAzure関係のテスト環境をCIとして利用しています。
appiumコマンドと、テスト実行に必要なnodeやRubyの環境を用意する以外は手順はおっていません。
https://github.com/appium/ruby_lib_core
(capabilitiesに関しては色々と書いてはいますが、それらは動作確認の意味も含まれるものが多いです。)

大瀧洋輔

unread,
Jun 2, 2020, 3:36:03 AM6/2/20
to 日本Seleniumユーザーコミュニティ
返信いただきありがとうございます。

WebDriverAgentの再インストールはテスト対象端末でなくAppiumDesktopを起動するPC側の話です。
テスト対象端末にインストールできていない可能性が高いです。
どうしたらテスト対象端末にWebDriverAgentをインストールできるのでしょうか?ご教示くださると幸いです。

ーーテストコード
require 'selenium-webdriver'
require 'appium_lib'
require 'appium_lib_core'
require 'allure-rspec'
require 'uuid'
require 'rake'


$driver = nil

RSpec.configure do |config|
config.include AllureRSpec::Adaptor
config.before(:all) do
$wait = Selenium::WebDriver::Wait.new(:timeout => 10)
end

config.after(:each) do |example|
if example.exception
example.attach_file('screenshot', File.new(
$driver.save_screenshot(
File.join(Dir.pwd, "results/#{UUID.new.generate}.png"))))
end
end
end

AllureRSpec.configure do |config|
config.output_dir = 'results'
config.clean_dir = true
end
describe "access google" do
opts = {
desired_capabilities: {
platformName: :ios,
platformVersion: '9.3.5',
deviceName: 'iPad',
automationName: 'XCUITest',
browserName: "Safari",
udid: "3aba8b23135437ef93b817f03c264cf1f556f43b",
},
appium_lib: {
wait: 30
}
}

it "Test" do |s|
core = Appium::Core.for(opts)
s.step "hoge1" do
$driver = core.start_driver
sleep 10
end

s.step "hoge2" do
$driver.quit
end
end
end


ーーーAppiumのログ
[info] [35m[Appium] [39m Welcome to Appium v1.17.1
[info] [35m[Appium] [39m Non-default server args:
[info] [35m[Appium] [39m   allowInsecure: {
[info] [35m[Appium] [39m   }
[info] [35m[Appium] [39m   denyInsecure: {
[info] [35m[Appium] [39m   }
[info] [35m[Appium] [39m Appium REST http interface listener started on 0.0.0.0:4723[info] [35m[HTTP] [39m [37m--> [39m [37mPOST [39m [37m/wd/hub/session [39m
[info] [35m[HTTP] [39m [90m{"desiredCapabilities":{"platformName":"ios","platformVersion":"9.3.5","deviceName":"iPad","automationName":"XCUITest","browserName":"Safari","udid":"3aba8b23135437ef93b817f03c264cf1f556f43b"},"capabilities":{"firstMatch":[{"platformName":"ios","appium:platformVersion":"9.3.5","appium:deviceName":"iPad","appium:automationName":"XCUITest","browserName":"Safari","appium:udid":"3aba8b23135437ef93b817f03c264cf1f556f43b"}]}} [39m
[debug] [35m[W3C] [39m Calling AppiumDriver.createSession() with args: [{"platformName":"ios","platformVersion":"9.3.5","deviceName":"iPad","automationName":"XCUITest","browserName":"Safari","udid":"3aba8b23135437ef93b817f03c264cf1f556f43b"},null,{"firstMatch":[{"platformName":"ios","appium:platformVersion":"9.3.5","appium:deviceName":"iPad","appium:automationName":"XCUITest","browserName":"Safari","appium:udid":"3aba8b23135437ef93b817f03c264cf1f556f43b"}]}]
[debug] [35m[BaseDriver] [39m Event 'newSessionRequested' logged at 1591083202513 (16:33:22 GMT+0900 (日本標準時))
[info] [35m[Appium] [39m Appium v1.17.1 creating new XCUITestDriver (v3.22.0) session
[debug] [35m[BaseDriver] [39m W3C capabilities and MJSONWP desired capabilities were provided
[debug] [35m[BaseDriver] [39m Creating session with W3C capabilities: {
[debug] [35m[BaseDriver] [39m   "alwaysMatch": {
[debug] [35m[BaseDriver] [39m     "platformName": "ios",
[debug] [35m[BaseDriver] [39m     "browserName": "Safari",
[debug] [35m[BaseDriver] [39m     "appium:platformVersion": "9.3.5",
[debug] [35m[BaseDriver] [39m     "appium:deviceName": "iPad",
[debug] [35m[BaseDriver] [39m     "appium:automationName": "XCUITest",
[debug] [35m[BaseDriver] [39m     "appium:udid": "3aba8b23135437ef93b817f03c264cf1f556f43b"
[debug] [35m[BaseDriver] [39m   },
[debug] [35m[BaseDriver] [39m   "firstMatch": [
[debug] [35m[BaseDriver] [39m     {}
[debug] [35m[BaseDriver] [39m   ]
[debug] [35m[BaseDriver] [39m }
[info] [35m[BaseDriver] [39m Session created with session id: efbfd0d0-88a8-4790-b166-89ccbcc039a8
[debug] [35m[XCUITest] [39m Current user: 'ootakiyousuke'
[debug] [35m[XCUITest] [39m Available devices: 3aba8b23135437ef93b817f03c264cf1f556f43b
[debug] [35m[XCUITest] [39m Creating iDevice object with udid '3aba8b23135437ef93b817f03c264cf1f556f43b'
[info] [35m[XCUITest] [39m Determining device to run tests on: udid: '3aba8b23135437ef93b817f03c264cf1f556f43b', real device: true
[info] [35m[XCUITest] [39m Normalized platformVersion capability value '9.3.5' to '9.3'
[debug] [35m[BaseDriver] [39m Event 'xcodeDetailsRetrieved' logged at 1591083202544 (16:33:22 GMT+0900 (日本標準時))
[info] [35m[XCUITest] [39m Safari test requested
[debug] [35m[BaseDriver] [39m Event 'appConfigured' logged at 1591083202544 (16:33:22 GMT+0900 (日本標準時))
[debug] [35m[BaseDriver] [39m Event 'resetStarted' logged at 1591083202544 (16:33:22 GMT+0900 (日本標準時))
[debug] [35m[XCUITest] [39m Reset: running ios real device reset flow
[debug] [35m[BaseDriver] [39m Event 'resetComplete' logged at 1591083202544 (16:33:22 GMT+0900 (日本標準時))[debug] [35m[XCUITest] [39m Crash reports root '/Users/ootakiyousuke/Library/Logs/CrashReporter/MobileDevice/Yudai ShimoyamaのiPad' does not exist. Got nothing to gather.
[debug] [35m[BaseDriver] [39m Event 'logCaptureStarted' logged at 1591083202837 (16:33:22 GMT+0900 (日本標準時))
[info] [35m[XCUITest] [39m Setting up real device
[info] [35m[WebDriverAgent] [39m Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent'
[info] [35m[WebDriverAgent] [39m Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[debug] [35m[WebDriverAgent] [39m No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[info] [35m[DevCon Factory] [39m Requesting connection for device 3aba8b23135437ef93b817f03c264cf1f556f43b on local port 8100, device port 8100
[debug] [35m[DevCon Factory] [39m Cached connections count: 0
[info] [35m[DevCon Factory] [39m Successfully requested the connection for 3aba8b23135437ef93b817f03c264cf1f556f43b:8100[debug] [35m[WebDriverAgent] [39m Parsed BUILD_DIR configuration value: '/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products'
[debug] [35m[WebDriverAgent] [39m Got derived data root: '/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp'
[debug] [35m[XCUITest] [39m Starting WebDriverAgent initialization with the synchronization key '/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp'
[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}
[debug] [35m[WebDriverAgent] [39m WDA is not listening at 'http://127.0.0.1:8100/'
[debug] [35m[WebDriverAgent] [39m WDA is currently not running. There is nothing to cache
[debug] [35m[XCUITest] [39m Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [35m[XCUITest] [39m These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] [35m[BaseDriver] [39m Event 'wdaStartAttempted' logged at 1591083205734 (16:33:25 GMT+0900 (日本標準時))
[info] [35m[WebDriverAgent] [39m Launching WebDriverAgent on the device
[info] [35m[WebDriverAgent] [39m Fetching dependencies
[info] [35m[WebDriverAgent] [39m Dependencies up-to-date
[debug] [35m[WebDriverAgent] [39m Killing running processes 'xcodebuild.*3aba8b23135437ef93b817f03c264cf1f556f43b' for the device 3aba8b23135437ef93b817f03c264cf1f556f43b...
[debug] [35m[WebDriverAgent] [39m 'pgrep -if xcodebuild.*3aba8b23135437ef93b817f03c264cf1f556f43b' didn't detect any matching processes. Return code: 1
[debug] [35m[WebDriverAgent] [39m Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp -destination id=3aba8b23135437ef93b817f03c264cf1f556f43b IPHONEOS_DEPLOYMENT_TARGET=9.3 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-webdriveragent'
[debug] [35m[WebDriverAgent] [39m Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[debug] [35m[WebDriverAgent] [39m Waiting up to 60000ms for WebDriverAgent to start
[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[error] [35m[Xcode] [39m 2020-06-02 16:33:29.228 xcodebuild[3525:163765] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos13.5-armv7f.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products/WebDriverAgentRunner_iphoneos13.5-armv7f.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7ffd46cbb8d0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m ** TEST BUILD FAILED **
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[debug] [35m[WebDriverAgent] [39m Log file for xcodebuild test: /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-27-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-DD0510B8-B073-47CE-85BF-A266BDBF7E6F/WebDriverAgentRunner-803DCD3C-F577-45A6-A08C-2704B672877D/Session-WebDriverAgentRunner-2020-06-02_163329-2X8x89.log
[error] [35m[Xcode] [39m 2020-06-02 16:33:29.242 xcodebuild[3525:163884]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[error] [35m[Xcode] [39m /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-27-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-DD0510B8-B073-47CE-85BF-A266BDBF7E6F/WebDriverAgentRunner-803DCD3C-F577-45A6-A08C-2704B672877D/Session-WebDriverAgentRunner-2020-06-02_163329-2X8x89.log
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 2020-06-02 16:33:29.243 xcodebuild[3525:163713] [MT] IDETestOperationsObserverDebug: (0E982617-F549-4D6B-97F8-C4E88C862DE5) Beginning test session WebDriverAgentRunner-0E982617-F549-4D6B-97F8-C4E88C862DE5 at 2020-06-02 16:33:29.243 with Xcode 11E608c on target 📱<DVTiOSDevice (0x7ffd46f41500), Yudai ShimoyamaのiPad, iPad, 9.3.5 (13G36), 3aba8b23135437ef93b817f03c264cf1f556f43b> {
[error] [35m[Xcode] [39m deviceSerialNumber:         DLXFKBFQDKNV
[error] [35m[Xcode] [39m identifier:                 3aba8b23135437ef93b817f03c264cf1f556f43b
[error] [35m[Xcode] [39m deviceClass:                iPad
[error] [35m[Xcode] [39m deviceName:                 Yudai ShimoyamaのiPad
[error] [35m[Xcode] [39m deviceIdentifier:           3aba8b23135437ef93b817f03c264cf1f556f43b
[error] [35m[Xcode] [39m productVersion:             9.3.5
[error] [35m[Xcode] [39m buildVersion:               13G36
[error] [35m[Xcode] [39m deviceSoftwareVersion:      9.3.5 (13G36)
[error] [35m[Xcode] [39m deviceArchitecture:         armv7f
[error] [35m[Xcode] [39m deviceTotalCapacity:        13780426752
[error] [35m[Xcode] [39m deviceAvailableCapacity:    2036506624
[error] [35m[Xcode] [39m deviceIsTransient:          NO
[error] [35m[Xcode] [39m ignored:                    NO
[error] [35m[Xcode] [39m deviceIsBusy:               NO
[error] [35m[Xcode] [39m deviceIsPaired:             YES
[error] [35m[Xcode] [39m deviceIsActivated:          YES
[error] [35m[Xcode] [39m deviceActivationState:      Activated
[error] [35m[Xcode] [39m isPasscodeLocked:           NO
[error] [35m[Xcode] [39m deviceType:                 <DVTDeviceType:0x7ffd46b58a60 Xcode.DeviceType.iPhone>
[error] [35m[Xcode] [39m supportedDeviceFamilies:    (
[error] [35m[Xcode] [39m     1,
[error] [35m[Xcode] [39m     2
[error] [35m[Xcode] [39m )
[error] [35m[Xcode] [39m applications:              (null)
[error] [35m[Xcode] [39m provisioningProfiles:      (null)
[error] [35m[Xcode] [39m hasInternalSupport:        NO
[error] [35m[Xcode] [39m hasWritableSystem:         NO
[error] [35m[Xcode] [39m isSupportedOS:             YES
[error] [35m[Xcode] [39m bootArgs:                  (null)
[error] [35m[Xcode] [39m nextBootArgs:              (null)
[error] [35m[Xcode] [39m connected:                 YES
[error] [35m[Xcode] [39m isWirelessEnabled:         NO
[error] [35m[Xcode] [39m connectionType:            direct
[error] [35m[Xcode] [39m hostname:                  (null)
[error] [35m[Xcode] [39m bonjourServiceName:        a4:67:06:92:66:f6@fe80::a667:6ff:fe92:66f6._apple-mobdev2._tcp.local.
[error] [35m[Xcode] [39m activeProxiedDevice:       (null)
[error] [35m[Xcode] [39m } (9.3.5 (13G36))
[error] [35m[Xcode] [39m [debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}
[error] [35m[Xcode] [39m 2020-06-02 16:33:29.579 xcodebuild[3525:163713] [MT] IDETestOperationsObserverDebug: (0E982617-F549-4D6B-97F8-C4E88C862DE5) Finished requesting crash reports. Continuing with testing.
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m *** If you believe this error represents a bug, please attach the result bundle at /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-27-+0900.xcresult
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 2020-06-02 16:33:29.595 xcodebuild[3525:163713] [MT] IDETestOperationsObserverDebug: 0.357 elapsed -- Testing started completed.
[error] [35m[Xcode] [39m 2020-06-02 16:33:29.595 xcodebuild[3525:163713] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[error] [35m[Xcode] [39m 2020-06-02 16:33:29.595 xcodebuild[3525:163713] [MT] IDETestOperationsObserverDebug: 0.357 sec, +0.357 sec -- end
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 2020-06-02 16:33:29.596 xcodebuild[3525:163713] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7ffd447b3f90 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[error] [35m[Xcode] [39m [error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m Test session results, code coverage, and logs:
[error] [35m[Xcode] [39m /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-27-+0900.xcresult
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m Testing failed:
[error] [35m[Xcode] [39m Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.
[error] [35m[Xcode] [39m WebDriverAgentRunner:
[error] [35m[Xcode] [39m WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m ** TEST EXECUTE FAILED **
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m Testing started on 'Yudai ShimoyamaのiPad'
[error] [35m[Xcode] [39m 
[error] [35m[WebDriverAgent] [39m xcodebuild exited with code '65' and signal 'null'
[info] [35m[WebDriverAgent] [39m Launching WebDriverAgent on the device
[info] [35m[WebDriverAgent] [39m Fetching dependencies
[info] [35m[WebDriverAgent] [39m Dependencies up-to-date
[debug] [35m[WebDriverAgent] [39m Killing running processes 'xcodebuild.*3aba8b23135437ef93b817f03c264cf1f556f43b' for the device 3aba8b23135437ef93b817f03c264cf1f556f43b...
[debug] [35m[WebDriverAgent] [39m 'pgrep -if xcodebuild.*3aba8b23135437ef93b817f03c264cf1f556f43b' didn't detect any matching processes. Return code: 1
[debug] [35m[WebDriverAgent] [39m Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp -destination id=3aba8b23135437ef93b817f03c264cf1f556f43b IPHONEOS_DEPLOYMENT_TARGET=9.3 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-webdriveragent'
[debug] [35m[WebDriverAgent] [39m Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability[debug] [35m[WebDriverAgent] [39m Waiting up to 60000ms for WebDriverAgent to start
[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[error] [35m[Xcode] [39m 2020-06-02 16:33:32.952 xcodebuild[3529:164042] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos13.5-armv7f.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products/WebDriverAgentRunner_iphoneos13.5-armv7f.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fcde6afb160 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m ** TEST BUILD FAILED **
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[debug] [35m[WebDriverAgent] [39m Log file for xcodebuild test: /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-31-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-6F2B5CCB-FE99-4B69-AF02-F72DA3D10804/WebDriverAgentRunner-806950D2-3A75-43D7-A428-77AAE98B20FF/Session-WebDriverAgentRunner-2020-06-02_163332-glVy6K.log
[error] [35m[Xcode] [39m 2020-06-02 16:33:32.966 xcodebuild[3529:164042]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[error] [35m[Xcode] [39m /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-31-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-6F2B5CCB-FE99-4B69-AF02-F72DA3D10804/WebDriverAgentRunner-806950D2-3A75-43D7-A428-77AAE98B20FF/Session-WebDriverAgentRunner-2020-06-02_163332-glVy6K.log
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 2020-06-02 16:33:32.967 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: (DCEDB76B-15DF-4E53-9A65-A882E0A97189) Beginning test session WebDriverAgentRunner-DCEDB76B-15DF-4E53-9A65-A882E0A97189 at 2020-06-02 16:33:32.967 with Xcode 11E608c on target 📱<DVTiOSDevice (0x7fcde6ecf1e0), Yudai ShimoyamaのiPad, iPad, 9.3.5 (13G36), 3aba8b23135437ef93b817f03c264cf1f556f43b> {
[error] [35m[Xcode] [39m deviceSerialNumber:         DLXFKBFQDKNV
[error] [35m[Xcode] [39m identifier:                 3aba8b23135437ef93b817f03c264cf1f556f43b
[error] [35m[Xcode] [39m deviceClass:                iPad
[error] [35m[Xcode] [39m deviceName:                 Yudai ShimoyamaのiPad
[error] [35m[Xcode] [39m deviceIdentifier:           3aba8b23135437ef93b817f03c264cf1f556f43b
[error] [35m[Xcode] [39m productVersion:             9.3.5
[error] [35m[Xcode] [39m buildVersion:               13G36
[error] [35m[Xcode] [39m deviceSoftwareVersion:      9.3.5 (13G36)
[error] [35m[Xcode] [39m deviceArchitecture:         armv7f
[error] [35m[Xcode] [39m deviceTotalCapacity:        13780426752
[error] [35m[Xcode] [39m deviceAvailableCapacity:    2036498432
[error] [35m[Xcode] [39m deviceIsTransient:          NO
[error] [35m[Xcode] [39m ignored:                    NO
[error] [35m[Xcode] [39m deviceIsBusy:               NO
[error] [35m[Xcode] [39m deviceIsPaired:             YES
[error] [35m[Xcode] [39m deviceIsActivated:          YES
[error] [35m[Xcode] [39m deviceActivationState:      Activated
[error] [35m[Xcode] [39m isPasscodeLocked:           NO
[error] [35m[Xcode] [39m deviceType:                 <DVTDeviceType:0x7fcde1ef6ee0 Xcode.DeviceType.iPhone>
[error] [35m[Xcode] [39m supportedDeviceFamilies:    (
[error] [35m[Xcode] [39m     1,
[error] [35m[Xcode] [39m     2
[error] [35m[Xcode] [39m )
[error] [35m[Xcode] [39m applications:              (null)
[error] [35m[Xcode] [39m provisioningProfiles:      (null)
[error] [35m[Xcode] [39m hasInternalSupport:        NO
[error] [35m[Xcode] [39m hasWritableSystem:         NO
[error] [35m[Xcode] [39m isSupportedOS:             YES
[error] [35m[Xcode] [39m bootArgs:                  (null)
[error] [35m[Xcode] [39m nextBootArgs:              (null)
[error] [35m[Xcode] [39m connected:                 YES
[error] [35m[Xcode] [39m isWirelessEnabled:         NO
[error] [35m[Xcode] [39m connectionType:            direct
[error] [35m[Xcode] [39m hostname:                  (null)
[error] [35m[Xcode] [39m bonjourServiceName:        a4:67:06:92:66:f6@fe80::a667:6ff:fe92:66f6._apple-mobdev2._tcp.local.
[error] [35m[Xcode] [39m activeProxiedDevice:       (null)
[error] [35m[Xcode] [39m } (9.3.5 (13G36))
[error] [35m[Xcode] [39m [debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}
[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}
[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}
[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[debug] [35m[WD Proxy] [39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy] [39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [35m[iProxy@3aba8b23:8100] [39m Connection was refused to port 8100
[info] [35m[WD Proxy] [39m Got response with unknown status: {"code":"ECONNRESET"}[error] [35m[Xcode] [39m 2020-06-02 16:33:40.329 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: (DCEDB76B-15DF-4E53-9A65-A882E0A97189) Finished requesting crash reports. Continuing with testing.
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m *** If you believe this error represents a bug, please attach the result bundle at /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-31-+0900.xcresult
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: 7.383 elapsed -- Testing started completed.
[error] [35m[Xcode] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[error] [35m[Xcode] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: 7.383 sec, +7.383 sec -- end
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fcde36f4780 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m Test session results, code coverage, and logs:
[error] [35m[Xcode] [39m /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-31-+0900.xcresult
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m Testing failed:
[error] [35m[Xcode] [39m Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.
[error] [35m[Xcode] [39m WebDriverAgentRunner:
[error] [35m[Xcode] [39m WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m ** TEST EXECUTE FAILED **
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m 
[error] [35m[Xcode] [39m Testing started on 'Yudai ShimoyamaのiPad'
[error] [35m[Xcode] [39m 
[error] [35m[WebDriverAgent] [39m xcodebuild exited with code '65' and signal 'null'
[debug] [35m[BaseDriver] [39m Event 'wdaStartFailed' logged at 1591083220427 (16:33:40 GMT+0900 (日本標準時))
[debug] [35m[XCUITest] [39m Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [35m[XCUITest] [39m xcodebuild error message:
[debug] [35m[XCUITest] [39m 
[debug] [35m[XCUITest] [39m 2020-06-02 16:33:32.952 xcodebuild[3529:164042] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos13.5-armv7f.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products/WebDriverAgentRunner_iphoneos13.5-armv7f.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fcde6afb160 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [35m[XCUITest] [39m ** TEST BUILD FAILED **
[debug] [35m[XCUITest] [39m 2020-06-02 16:33:32.966 xcodebuild[3529:164042]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[debug] [35m[XCUITest] [39m /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-31-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-6F2B5CCB-FE99-4B69-AF02-F72DA3D10804/WebDriverAgentRunner-806950D2-3A75-43D7-A428-77AAE98B20FF/Session-WebDriverAgentRunner-2020-06-02_163332-glVy6K.log
[debug] [35m[XCUITest] [39m 2020-06-02 16:33:32.967 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: (DCEDB76B-15DF-4E53-9A65-A882E0A97189) Beginning test session WebDriverAgentRunner-DCEDB76B-15DF-4E53-9A65-A882E0A97189 at 2020-06-02 16:33:32.967 with Xcode 11E608c on target 📱<DVTiOSDevice (0x7fcde6ecf1e0), Yudai ShimoyamaのiPad, iPad, 9.3.5 (13G36), 3aba8b23135437ef93b817f03c264cf1f556f43b> {
[debug] [35m[XCUITest] [39m deviceSerialNumber:         DLXFKBFQDKNV
[debug] [35m[XCUITest] [39m identifier:                 3aba8b23135437ef93b817f03c264cf1f556f43b
[debug] [35m[XCUITest] [39m deviceClass:                iPad
[debug] [35m[XCUITest] [39m deviceName:                 Yudai ShimoyamaのiPad
[debug] [35m[XCUITest] [39m deviceIdentifier:           3aba8b23135437ef93b817f03c264cf1f556f43b
[debug] [35m[XCUITest] [39m productVersion:             9.3.5
[debug] [35m[XCUITest] [39m buildVersion:               13G36
[debug] [35m[XCUITest] [39m deviceSoftwareVersion:      9.3.5 (13G36)
[debug] [35m[XCUITest] [39m deviceArchitecture:         armv7f
[debug] [35m[XCUITest] [39m deviceTotalCapacity:        13780426752
[debug] [35m[XCUITest] [39m deviceAvailableCapacity:    2036498432
[debug] [35m[XCUITest] [39m deviceIsTransient:          NO
[debug] [35m[XCUITest] [39m ignored:                    NO
[debug] [35m[XCUITest] [39m deviceIsBusy:               NO
[debug] [35m[XCUITest] [39m deviceIsPaired:             YES
[debug] [35m[XCUITest] [39m deviceIsActivated:          YES
[debug] [35m[XCUITest] [39m deviceActivationState:      Activated
[debug] [35m[XCUITest] [39m isPasscodeLocked:           NO
[debug] [35m[XCUITest] [39m deviceType:                 <DVTDeviceType:0x7fcde1ef6ee0 Xcode.DeviceType.iPhone>
[debug] [35m[XCUITest] [39m supportedDeviceFamilies:    (
[debug] [35m[XCUITest] [39m     1,
[debug] [35m[XCUITest] [39m     2
[debug] [35m[XCUITest] [39m )
[debug] [35m[XCUITest] [39m applications:              (null)
[debug] [35m[XCUITest] [39m provisioningProfiles:      (null)
[debug] [35m[XCUITest] [39m hasInternalSupport:        NO
[debug] [35m[XCUITest] [39m hasWritableSystem:         NO
[debug] [35m[XCUITest] [39m isSupportedOS:             YES
[debug] [35m[XCUITest] [39m bootArgs:                  (null)
[debug] [35m[XCUITest] [39m nextBootArgs:              (null)
[debug] [35m[XCUITest] [39m connected:                 YES
[debug] [35m[XCUITest] [39m isWirelessEnabled:         NO
[debug] [35m[XCUITest] [39m connectionType:            direct
[debug] [35m[XCUITest] [39m hostname:                  (null)
[debug] [35m[XCUITest] [39m bonjourServiceName:        a4:67:06:92:66:f6@fe80::a667:6ff:fe92:66f6._apple-mobdev2._tcp.local.
[debug] [35m[XCUITest] [39m activeProxiedDevice:       (null)
[debug] [35m[XCUITest] [39m } (9.3.5 (13G36))
[debug] [35m[XCUITest] [39m 2020-06-02 16:33:40.329 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: (DCEDB76B-15DF-4E53-9A65-A882E0A97189) Finished requesting crash reports. Continuing with testing.
[debug] [35m[XCUITest] [39m *** If you believe this error represents a bug, please attach the result bundle at /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-31-+0900.xcresult
[debug] [35m[XCUITest] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: 7.383 elapsed -- Testing started completed.
[debug] [35m[XCUITest] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[debug] [35m[XCUITest] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: 7.383 sec, +7.383 sec -- end
[debug] [35m[XCUITest] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fcde36f4780 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [35m[XCUITest] [39m Test session results, code coverage, and logs:
[debug] [35m[XCUITest] [39m /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-31-+0900.xcresult
[debug] [35m[XCUITest] [39m Testing failed:
[debug] [35m[XCUITest] [39m Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.
[debug] [35m[XCUITest] [39m WebDriverAgentRunner:
[debug] [35m[XCUITest] [39m WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[debug] [35m[XCUITest] [39m ** TEST EXECUTE FAILED **
[debug] [35m[XCUITest] [39m Testing started on 'Yudai ShimoyamaのiPad'. 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] [35m[XCUITest] [39m Quitting and uninstalling WebDriverAgent
[info] [35m[WebDriverAgent] [39m Shutting down sub-processes[debug] [35m[WebDriverAgent] [39m No WDAs on the device.
[error] [35m[XCUITest] [39m {}
[info] [35m[DevCon Factory] [39m Releasing connections for 3aba8b23135437ef93b817f03c264cf1f556f43b device on any port number
[info] [35m[DevCon Factory] [39m Found cached connections to release: ["3aba8b23135437ef93b817f03c264cf1f556f43b:8100"]
[info] [35m[DevCon Factory] [39m Releasing the listener for '3aba8b23135437ef93b817f03c264cf1f556f43b:8100'
[debug] [35m[iProxy@3aba8b23:8100] [39m Closing the connection
[debug] [35m[DevCon Factory] [39m Cached connections count: 0
[debug] [35m[XCUITest] [39m Not clearing log files. Use `clearSystemFiles` capability to turn on.
[info] [35m[iProxy@3aba8b23:8100] [39m The connection has been closed
[debug] [35m[BaseDriver] [39m Event 'newSessionStarted' logged at 1591083220970 (16:33:40 GMT+0900 (日本標準時))
[debug] [35m[W3C] [39m Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
[debug] [35m[W3C] [39m xcodebuild error message:
[debug] [35m[W3C] [39m 
[debug] [35m[W3C] [39m 2020-06-02 16:33:32.952 xcodebuild[3529:164042] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos13.5-armv7f.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products/WebDriverAgentRunner_iphoneos13.5-armv7f.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fcde6afb160 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [35m[W3C] [39m ** TEST BUILD FAILED **
[debug] [35m[W3C] [39m 2020-06-02 16:33:32.966 xcodebuild[3529:164042]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[debug] [35m[W3C] [39m /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-31-+0900.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-6F2B5CCB-FE99-4B69-AF02-F72DA3D10804/WebDriverAgentRunner-806950D2-3A75-43D7-A428-77AAE98B20FF/Session-WebDriverAgentRunner-2020-06-02_163332-glVy6K.log
[debug] [35m[W3C] [39m 2020-06-02 16:33:32.967 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: (DCEDB76B-15DF-4E53-9A65-A882E0A97189) Beginning test session WebDriverAgentRunner-DCEDB76B-15DF-4E53-9A65-A882E0A97189 at 2020-06-02 16:33:32.967 with Xcode 11E608c on target 📱<DVTiOSDevice (0x7fcde6ecf1e0), Yudai ShimoyamaのiPad, iPad, 9.3.5 (13G36), 3aba8b23135437ef93b817f03c264cf1f556f43b> {
[debug] [35m[W3C] [39m deviceSerialNumber:         DLXFKBFQDKNV
[debug] [35m[W3C] [39m identifier:                 3aba8b23135437ef93b817f03c264cf1f556f43b
[debug] [35m[W3C] [39m deviceClass:                iPad
[debug] [35m[W3C] [39m deviceName:                 Yudai ShimoyamaのiPad
[debug] [35m[W3C] [39m deviceIdentifier:           3aba8b23135437ef93b817f03c264cf1f556f43b
[debug] [35m[W3C] [39m productVersion:             9.3.5
[debug] [35m[W3C] [39m buildVersion:               13G36
[debug] [35m[W3C] [39m deviceSoftwareVersion:      9.3.5 (13G36)
[debug] [35m[W3C] [39m deviceArchitecture:         armv7f
[debug] [35m[W3C] [39m deviceTotalCapacity:        13780426752
[debug] [35m[W3C] [39m deviceAvailableCapacity:    2036498432
[debug] [35m[W3C] [39m deviceIsTransient:          NO
[debug] [35m[W3C] [39m ignored:                    NO
[debug] [35m[W3C] [39m deviceIsBusy:               NO
[debug] [35m[W3C] [39m deviceIsPaired:             YES
[debug] [35m[W3C] [39m deviceIsActivated:          YES
[debug] [35m[W3C] [39m deviceActivationState:      Activated
[debug] [35m[W3C] [39m isPasscodeLocked:           NO
[debug] [35m[W3C] [39m deviceType:                 <DVTDeviceType:0x7fcde1ef6ee0 Xcode.DeviceType.iPhone>
[debug] [35m[W3C] [39m supportedDeviceFamilies:    (
[debug] [35m[W3C] [39m     1,
[debug] [35m[W3C] [39m     2
[debug] [35m[W3C] [39m )
[debug] [35m[W3C] [39m applications:              (null)
[debug] [35m[W3C] [39m provisioningProfiles:      (null)
[debug] [35m[W3C] [39m hasInternalSupport:        NO
[debug] [35m[W3C] [39m hasWritableSystem:         NO
[debug] [35m[W3C] [39m isSupportedOS:             YES
[debug] [35m[W3C] [39m bootArgs:                  (null)
[debug] [35m[W3C] [39m nextBootArgs:              (null)
[debug] [35m[W3C] [39m connected:                 YES
[debug] [35m[W3C] [39m isWirelessEnabled:         NO
[debug] [35m[W3C] [39m connectionType:            direct
[debug] [35m[W3C] [39m hostname:                  (null)
[debug] [35m[W3C] [39m bonjourServiceName:        a4:67:06:92:66:f6@fe80::a667:6ff:fe92:66f6._apple-mobdev2._tcp.local.
[debug] [35m[W3C] [39m activeProxiedDevice:       (null)
[debug] [35m[W3C] [39m } (9.3.5 (13G36))
[debug] [35m[W3C] [39m 2020-06-02 16:33:40.329 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: (DCEDB76B-15DF-4E53-9A65-A882E0A97189) Finished requesting crash reports. Continuing with testing.
[debug] [35m[W3C] [39m *** If you believe this error represents a bug, please attach the result bundle at /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-31-+0900.xcresult
[debug] [35m[W3C] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: 7.383 elapsed -- Testing started completed.
[debug] [35m[W3C] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
[debug] [35m[W3C] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] [MT] IDETestOperationsObserverDebug: 7.383 sec, +7.383 sec -- end
[debug] [35m[W3C] [39m 2020-06-02 16:33:40.345 xcodebuild[3529:163985] Error Domain=NSCocoaErrorDomain Code=260 "The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7fcde36f4780 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[debug] [35m[W3C] [39m Test session results, code coverage, and logs:
[debug] [35m[W3C] [39m /Users/ootakiyousuke/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.06.02_16-33-31-+0900.xcresult
[debug] [35m[W3C] [39m Testing failed:
[debug] [35m[W3C] [39m Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.
[debug] [35m[W3C] [39m WebDriverAgentRunner:
[debug] [35m[W3C] [39m WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file. The file doesn’t exist. (Underlying error: The operation couldn’t be completed. No such file or directory)))
[debug] [35m[W3C] [39m ** TEST EXECUTE FAILED **
[debug] [35m[W3C] [39m Testing started on 'Yudai ShimoyamaのiPad'. 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] [35m[W3C] [39m     at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:528:15)
[debug] [35m[W3C] [39m     at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:558:11
[debug] [35m[W3C] [39m     at wrapped (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:35:13)
[debug] [35m[W3C] [39m     at retry (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:18:13)
[debug] [35m[W3C] [39m     at retryInterval (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:45:10)
[debug] [35m[W3C] [39m     at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:538:7
[debug] [35m[W3C] [39m Destroying socket connection
[info] [35m[HTTP] [39m [37m<-- POST /wd/hub/session [39m [31m500 [39m [90m18465 ms - 11493 [39m
[info] [35m[HTTP] [39m [90m [39m

2020年6月2日火曜日 15時55分30秒 UTC+9 Kazuaki Matsuo:

Kazuaki Matsuo

unread,
Jun 2, 2020, 3:55:13 AM6/2/20
to 日本Seleniumユーザーコミュニティ
> WebDriverAgentの再インストールはテスト対象端末でなくAppiumDesktopを起動するPC側の話です。
> テスト対象端末にインストールできていない可能性が高いです。

了解です。

なお、こちらは試していただけましたか?

> もし、コマンドラインのAppiumでは問題なく、Appium Desktopのinspector機能だけを利用したい場合、
https://github.com/appium/appium-desktop#connect-to-local-appium-server に書かれているようにすでに動作しているAppiumに接続して利用することも可能です。

Appium Desktop内部のファイル生成周りがmacOS Catalinaでは問題、ということが根本であれば、上記の流れで対応できるはずです。

問題がかわり、ファイルの書き込み系ではなく、iOSの実機インストール時に必須になるprovisoning周りが問題でしたら以下をお試しください。

Google翻訳などで日本語に変換しながら読んでいただけると良いかと思います。
...
Reply all
Reply to author
Forward
0 new messages