0

我正在尝试使用 Appium applicaiton 在我的设备中安装我的应用程序。如果我手动安装我的设备一次,那么 appium 正在工作,但如果我从设备中删除应用程序或第一次安装它会引发仪器错误。

info: [debug] Spawning instruments with command: /Applications/Xcode7.3.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode7.3.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w mydeviceid bundle id-e UIASCRIPT "/Users/name/Library/Application Support/appium/bootstrap/bootstrap-5923cadea0343e3f.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {"global":90000}

info: [debug] [INST STDERR] 2016-11-03 18:22:05.888 instruments[5631:21908] WebKit Threading Violation - initial use of WebKit from a secondary thread.

info: [debug] [INST STDERR] Instruments Usage Error: Specified target process is invalid: bundle id

info: [debug] [INST STDERR] instruments, version 7.3 (60133)
usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]]

info: [debug] [INSTSERVER] Instruments exited with code 255
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

我尝试在其他计算机上安装相同的版本,它使用相同的 appium 版本和相同的 xcode 用于相同的应用程序。

在此处输入图像描述

4

0 回答 0