4
我尝试从设备上的命令行运行Instruments 4.5。我有以下内容从设备上的命令行运行仪器4.5时无法启动跟踪
instruments -w UICD -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate /Users/xxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphoneos/AppName.app -e UIASCRIPT /Users/xxxx/Documents/Automation/test.js -e UIARESULTSPATH /pathName
我也尝试省略路径名和.app扩展名,因为我在iPod上运行。并试用Release-iphoneos和Debug-iphoneos构建。但无论我做什么,它总是给我错误:
Instruments Trace Error : Failed to start trace
有谁能告诉我为什么以及如何使这项工作?谢谢!
尝试运行仪器与'-v'详细的日志记录。它可能会提供更多信息 – stackErr
另外,请尝试删除您指定的自动化结果目录或指定一个空白目录。有时会在那里写下不完整的结果,并且它会软化仪器。 –