Xcode 仪器4.5和ios模拟器6.0。没有开始
在IOS Simulator 5.1中,此代码起作用: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
`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