In IOS Simulator 5.1 this code worked:
`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`
After xcode update, ios simulator 6.0 this code does not work and shows this error:
`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.`
Folder: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library not contain folder /Instruments.
Where find it?
The path to the tracetemplate has changed in Instruments 4.5.
Use this instead:
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With