Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.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
Xcode 仪器4.5和ios模拟器6.0。没有开始_Xcode_Ios Simulator_Instruments_Ios Ui Automation - Fatal编程技术网

Xcode 仪器4.5和ios模拟器6.0。没有开始

Xcode 仪器4.5和ios模拟器6.0。没有开始,xcode,ios-simulator,instruments,ios-ui-automation,Xcode,Ios Simulator,Instruments,Ios Ui Automation,在IOS Simulator 5.1中,此代码起作用: `instruments -t /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate /Users/administrator/Libr

在IOS Simulator 5.1中,此代码起作用:

`instruments -t /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate /Users/administrator/Library/Application\ Support/iPhone\ Simulator/6.0/Applications/$numbersstrings/myapp.app/ -e UIASCRIPT /Users/administrator/Desktop/Tests/smoke.js`
xcode更新后,ios simulator 6.0此代码不工作,并显示此错误:

`Instruments Usage Error : The specified template 'file://localhost/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate' does not exist.`
文件夹: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library 不包含文件夹/工具


在哪里可以找到它?

也许你需要再次安装开发者工具:Xcode>首选项>下载

iOS 6中仪表自动化的路径发生变化。验证路径,然后尝试使用命令

仪器4.5中的tracetemplate路径已更改

改用这个:

instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate /Users/administrator/Library/Application\ Support/iPhone\ Simulator/6.0/Applications/$numbersstrings/myapp.app/ -e UIASCRIPT /Users/administrator/Desktop/Tests/smoke.js