Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/337.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 为什么在mac上测试iPhone 6时appium服务器失败?_C#_Appium Ios - Fatal编程技术网

C# 为什么在mac上测试iPhone 6时appium服务器失败?

C# 为什么在mac上测试iPhone 6时appium服务器失败?,c#,appium-ios,C#,Appium Ios,我已经在一台运行iPhone6模拟器的mac机器上启动了appium服务器。当运行我的测试代码时,服务器会进行此输出 Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' lib/server/main.js --address "192.168.56.101" --command-timeout "7200" --debug-log-spacing --platfor

我已经在一台运行iPhone6模拟器的mac机器上启动了appium服务器。当运行我的测试代码时,服务器会进行此输出

Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' lib/server/main.js --address "192.168.56.101" --command-timeout "7200" --debug-log-spacing --platform-version "9.2" --platform-name "iOS" --show-ios-log --default-device

info: Welcome to Appium v1.4.13 (REV c75d8adcb66a75818a542fe1891a34260c21f76a)
info: Appium REST http interface listener started on 192.168.56.101:4723
info: [debug] Non-default server args: {"address":"192.168.56.101","platformName":"iOS","platformVersion":"9.2","defaultDevice":true,"showIOSLog":true,"defaultCommandTimeout":7200,"debugLogSpacing":true}
info: Console LogLevel: debug

info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}

info: <-- GET /wd/hub/status 200 19.693 ms - 105 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}

info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}

info: <-- GET /wd/hub/status 200 13.646 ms - 105 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"}}}

info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"9.2","platform":"Mac","deviceName":"iPhone 6","app":"/Applications/Appium.app/Contents/Resources/node_modules/appium/LinkedIn 910.5.ipa"}}
info: Client User-Agent string: undefined
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: ****        NEW SESSION           ***
info: ****        NEW SESSION           ***
info: ****        NEW SESSION           ***
info: ****        NEW SESSION           ***
info: ****        NEW SESSION           ***
info: ****        NEW SESSION           ***
info: ****        NEW SESSION           ***
info: ****        NEW SESSION           ***
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : platform

info: [debug] Using local .ipa from desired caps: /Applications/Appium.app/Contents/Resources/node_modules/appium/LinkedIn 910.5.ipa
info: [debug] Copying local zip to tmp dir

info: [debug] /Applications/Appium.app/Contents/Resources/node_modules/appium/LinkedIn 910.5.ipa copied to /var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/appium-app.zip

info: [debug] Unzipping /var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/appium-app.zip
info: [debug] Testing zip archive: /var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/appium-app.zip

info: [debug] Zip archive tested clean

info: [debug] Unzip successful
info: [debug] Using locally extracted app: /var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/Payload/Voyager.app

info: [debug] Creating new appium session 8c18542f-f9d5-4e3c-bb3a-96f9d45ae13e
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode version

info: [debug] Xcode version set to 7.2
info: [debug] Setting iOS SDK Version

info: [debug] iOS SDK Version set to 9.2
info: [debug] Checking whether instruments supports our device string
info: [debug] Getting list of devices instruments supports

info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments

info: [debug] Getting list of devices instruments supports

error: Failed getting devices. Err: Error: Command failed: /bin/sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/instruments' -s devices
. Stdout: . Stderr: .

info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments

info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"7.2","iOSSDKVersion":"9.2","deviceName":"iPhone 6","platformVersion":"9.2"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 6 (9.2)'
info: [debug] iOS sim UDID is 9F1EA875-2501-46D0-A187-BF8DC6FC423B
info: [debug] Auto-detecting iOS udid...
使用以下命令启动Appium:'/Applications/Appium.app/Contents/Resources/node/bin/node'lib/server/main.js--地址“192.168.56.101”--命令超时“7200”--调试日志间隔--平台版本“9.2”--平台名称“iOS”--显示iOS日志--默认设备
信息:欢迎使用Appium v1.4.13(版本c75d8adcb66a75818a542fe1891a34260c21f76a)
信息:Appium REST http接口侦听器于192.168.56.101:4723启动
信息:[调试]非默认服务器参数:{“地址”:“192.168.56.101”,“平台名称”:“iOS”,“平台版本”:“9.2”,“defaultDevice”:true,“showIOSLog”:true,“defaultCommandTimeout”:7200,“debugLogSpacing”:true}
信息:控制台日志级别:调试
信息:-->GET/wd/hub/status{}
信息:[调试]成功响应客户端:{“状态”:0,“值”:{“生成”:{“版本”:“1.4.13”,“修订版”:“c75d8adcb66a75818a542fe1891a34260c21f76a”}
信息:GET/wd/hub/status{}
信息:[调试]成功响应客户端:{“状态”:0,“值”:{“生成”:{“版本”:“1.4.13”,“修订版”:“c75d8adcb66a75818a542fe1891a34260c21f76a”}
信息:POST/wd/hub/session{“desiredCapabilities”:{“platformName”:“iOS”,“platformVersion”:“9.2”,“platform”:“Mac”,“deviceName”:“iPhone 6”,“app”:“/Applications/Appium.app/Contents/Resources/node_modules/Appium/LinkedIn 910.5.ipa”}
信息:客户端用户代理字符串:未定义
信息:*************************************
信息:*************************************
信息:*************************************
信息:*************************************
信息:*************************************
信息:*************************************
信息:*************************************
信息:*************************************
信息:***新会话***
信息:***新会话***
信息:***新会话***
信息:***新会话***
信息:***新会话***
信息:***新会话***
信息:***新会话***
信息:***新会话***
信息:*************************************
信息:*************************************
信息:*************************************
信息:*************************************
信息:*************************************
信息:*************************************
信息:*************************************
信息:*************************************
信息:[调试]提供了以下所需功能,但appium无法识别。它们将被传递到此服务器上运行的任何其他服务:平台
信息:[调试]使用所需caps中的local.ipa:/Applications/Appium.app/Contents/Resources/node_modules/Appium/LinkedIn 910.5.ipa
信息:[调试]正在将本地zip复制到tmp目录
信息:[调试]/Applications/Appium.app/Contents/Resources/node_modules/Appium/LinkedIn 910.5.ipa复制到/var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/Appium-app.zip
信息:[调试]解压/var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/appium-app.zip
信息:[调试]测试zip存档:/var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/appium-app.zip
信息:[调试]Zip存档已测试干净
信息:[调试]解压缩成功
信息:[调试]使用本地提取的应用程序:/var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/Payload/Voyager.app
信息:[调试]创建新的应用程序会话8c18542f-f9d5-4e3c-bb3a-96f9d45ae13e
信息:[调试]删除所有剩余的仪器插座
信息:[调试]已清理仪器插座/tmp/instruments\u插座
信息:[调试]正在设置Xcode版本
信息:[调试]Xcode版本设置为7.2
信息:[调试]正在设置iOS SDK版本
信息:[调试]iOS SDK版本设置为9.2
信息:[调试]检查仪器是否支持我们的设备字符串
信息:[调试]正在获取仪器支持的设备列表
信息:[调试]仪器位于:/Applications/Xcode.app/Contents/Developer/usr/bin/Instruments
信息:[调试]正在获取仪器支持的设备列表
错误:获取设备失败。错误:错误:命令失败:/bin/sh-c'/Applications/Xcode.app/Contents/Developer/usr/bin/instruments'-s设备
. 标准输出:。Stderr:。
信息:[调试]仪器位于:/Applications/Xcode.app/Contents/Developer/usr/bin/Instruments
信息:[调试]从选项获取设备字符串:{“forceIphone”:false,“forceIpad”:false,“xcodeVersion”:“7.2”,“iOSSDKVersion”:“9.2”,“deviceName”:“iPhone 6”,“platformVersion”:“9.2”}
信息:[调试]修复设备已打开
信息:[调试]最后一个设备字符串是:“iPhone 6(9.2)”
信息:[调试]iOS sim UDID是9F1EA875-2501-46D0-A187-BF8DC6FC423B
信息:[调试]自动检测iOS udid。。。
信息:[调试]未自动检测udid,在sim卡上运行

info: [debug] Parsed app Info.plist (as binary)
info: [debug] Parsed app Localizable.strings
info: [debug] Getting bundle ID from app

info: [debug] Could not parse plist file (as binary) at /var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/Payload/Voyager.app/Info.plist
info: Will try to parse the plist file as XML

info: [debug] Parsed app Info.plist (as XML)

info: [debug] Creating instruments

info: [debug] Preparing uiauto bootstrap

info: [debug] Dynamic bootstrap dir: /Users/adibiton/Library/Application Support/appium/bootstrap

info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"oneByOne"}

info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...
info: [debug] Dynamic bootstrap path: /Users/adibiton/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js

info: [debug] Reusing dynamic bootstrap: /Users/adibiton/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"7.2","iOSSDKVersion":"9.2","deviceName":"iPhone 6","platformVersion":"9.2"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 6 (9.2)'
info: [debug] We're on iOS7.1+ so forcing defaultDevice on
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"7.2","iOSSDKVersion":"9.2","deviceName":"iPhone 6","platformVersion":"9.2"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 6 (9.2)'
info: [debug] Could not parse plist file (as binary) at /var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/Payload/Voyager.app/Info.plist
info: Will try to parse the plist file as XML
info: [debug] Parsed app Info.plist (as XML)

info: [debug] Wrote new app Info.plist with device type
info: [debug] Checking whether we need to set app preferences
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process

info: [debug] Killing any other simulator daemons

info: [debug] Killall iOS Simulator

info: [debug] Cleaning sim data files
info: node-simctl: Executing: xcrun with args: simctl erase 9F1EA875-2501-46D0-A187-BF8DC6FC423B and timeout: 2000

info: node-simctl: Executing: xcrun with args: simctl erase 9F1EA875-2501-46D0-A187-BF8DC6FC423B and timeout: 2000

info: [debug] Cleaning app data files
warn: Applications directory /Users/adibiton/Library/Developer/CoreSimulator/Devices/9F1EA875-2501-46D0-A187-BF8DC6FC423B/data/Containers/Data/Application doesn't exist. Have you run this simulator before?
warn: Applications directory /Users/adibiton/Library/Developer/CoreSimulator/Devices/9F1EA875-2501-46D0-A187-BF8DC6FC423B/data/Containers/Bundle/Application doesn't exist. Have you run this simulator before?
info: Couldn't find app directories to delete. Probably it's not installed
info: [debug] Not setting locale
info: [debug] No iOS / app preferences to set

info: [debug] Starting iOS 8.* simulator log capture

info: [debug] Not pre-launching simulator
info: [debug] Starting command proxy.
info: [debug] Instruments socket server started at /tmp/instruments_sock
info: [debug] Starting instruments

info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: Launching instruments
info: [debug] Attempting to run app on iPhone 6 (9.2)
info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w "iPhone 6 (9.2)" /var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/Payload/Voyager.app -e UIASCRIPT "/Users/adibiton/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js" -e UIARESULTSPATH /tmp/appium-instruments
 info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib","LIB_PATH":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7"}
info: [debug] And launch timeouts (in ms): {"global":90000}

info: [debug] [INST STDERR] dyld: could not load inserted library '/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib' because no suitable image found.  Did find:
/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib: mmap() error 1 at address=0x106057000, size=0x00001000 segment=__TEXT in Segment::map() mapping /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib


info: [debug] [INSTSERVER] Instruments exited with code null
info: [debug] Killall instruments

info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #1
info: [debug] Killall iOS Simulator

info: Launching instruments
info: [debug] Attempting to run app on iPhone 6 (9.2)
info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w "iPhone 6 (9.2)" /var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/Payload/Voyager.app -e UIASCRIPT "/Users/adibiton/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib","LIB_PATH":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7"}
 info: [debug] And launch timeouts (in ms): {"global":90000}

 info: [debug] [INST STDERR] dyld: could not load inserted library '/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib' because no suitable image found.  Did find:
/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib: mmap() error 1 at address=0x106211000, size=0x00001000 segment=__TEXT in Segment::map() mapping /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib


info: [debug] [INSTSERVER] Instruments exited with code null
info: [debug] Killall instruments

 info: [debug] Instruments crashed on startup
 info: [debug] Attempting to retry launching instruments, this is retry #2
 info: [debug] Killall iOS Simulator

info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"8c18542f-f9d5-4e3c-bb3a-96f9d45ae13e"}

info: <-- GET /wd/hub/status 200 26.019 ms - 179 {"status":0,"value":{"build":{"version":"1.4.13","revision":"c75d8adcb66a75818a542fe1891a34260c21f76a"},"isShuttingDown":false},"sessionId":"8c18542f-f9d5-4e3c-bb3a-96f9d45ae13e"}

 info: Launching instruments
info: [debug] Attempting to run app on iPhone 6 (9.2)
info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w "iPhone 6 (9.2)" /var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/Payload/Voyager.app -e UIASCRIPT "/Users/adibiton/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib","LIB_PATH":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7"}
info: [debug] And launch timeouts (in ms): {"global":90000}

info: [debug] [INST STDERR] dyld: could not load inserted library '/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib' because no suitable image found.  Did find:
/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib: mmap() error 1 at address=0x10E271000, size=0x00001000 segment=__TEXT in Segment::map() mapping /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib


info: [debug] [INSTSERVER] Instruments exited with code null
 info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #3
info: [debug] Killall iOS Simulator

info: Launching instruments
info: [debug] Attempting to run app on iPhone 6 (9.2)
info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w "iPhone 6 (9.2)" /var/folders/04/537dh3vj6mx44thqfqk0xmrr0000gn/T/11613-2130-1og0nig/Payload/Voyager.app -e UIASCRIPT "/Users/adibiton/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib","LIB_PATH":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7"}
info: [debug] And launch timeouts (in ms): {"global":90000}

info: [debug] [INST STDERR] dyld: could not load inserted library '/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib' because no suitable image found.  Did find:
/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib: mmap() error 1 at address=0x107394000, size=0x00001000 segment=__TEXT in Segment::map() mapping /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/thirdparty/iwd7/InstrumentsShim.dylib


info: [debug] [INSTSERVER] Instruments exited with code null
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] We exceeded the number of retries allowed for instruments to successfully start; failing launch
info: [debug] Stopping iOS log capture
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons

info: [debug] Killall iOS Simulator

info: [debug] Cleaning sim data files
info: node-simctl: Executing: xcrun with args: simctl erase 9F1EA875-2501-46D0-A187-BF8DC6FC423B and timeout: 2000

info: [debug] Cleaning app data files
warn: Applications directory /Users/adibiton/Library/Developer/CoreSimulator/Devices/9F1EA875-2501-46D0-A187-BF8DC6FC423B/data/Containers/Data/Application doesn't exist. Have you run this simulator before?
warn: Applications directory /Users/adibiton/Library/Developer/CoreSimulator/Devices/9F1EA875-2501-46D0-A187-BF8DC6FC423B/data/Containers/Bundle/Application doesn't exist. Have you run this simulator before?
info: Couldn't find app directories to delete. Probably it's not installed
info: [debug] Cleaning up appium session

error: Failed to start an Appium session, err was: Error: Instruments crashed on startup

info: [debug] Error: Instruments crashed on startup
at [object Object].Instruments.onInstrumentsExit (/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/lib/instruments.js:440:31)
at [object Object].<anonymous> (/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-instruments/lib/instruments.js:353:12)
at ChildProcess.emit (events.js:110:17)
at Process.ChildProcess._handle.onexit (child_process.js:1074:12)

info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Instruments crashed on startup)","origValue":"Instruments crashed on startup"},"sessionId":null}
info: <-- POST /wd/hub/session 500 59037.189 ms - 182 
info:[debug]解析的app info.plist(二进制)
信息:[调试]已解析的应用程序本地化.strings
信息:[调试]正在从应用程序获取捆绑包ID
信息:[调试]无法在/var/folders/04/537DH3VJ6MX44THQFK0xMRR0000GN/T/11613-2130-1og0nig/Payload/Voyager.app/info.plist解析plist文件(二进制)
信息:将尝试将plist文件解析为XML
信息:[调试]已解析的app info.plist(作为XML)
信息:[调试]正在创建仪器
信息:[调试]正在准备uiauto引导
信息:[调试]动态引导目录:/Users/adibiton/Library/Application Support/appium/bootstrap
信息:[调试]动态环境:{“nodePath”:“/Applications/Appium.app/Contents/Resources/node/bin/node”,“commandProxyClientPath”:“/Applications/Appium.app/Contents/Resources/node_modules/Appium/submodules/Appium-auto/bin/command-proxy-client.js”,“instrumentsSock”:“/tmp/instruments_-sock”,“interKeyDelay”:null,“justLoopInfinitely”:false,“AutoAcceptlerts”:false,“autoDismissAlerts”:false,“sendKeyStrategy”:“oneByOne”}
信息:[调试]动态引导代码://此文件是自动生成的。请勿手动修改!
...
信息:[调试]动态引导路径:/Us