以下this問題,我如何使用iPhone模擬器作爲設備啓動instruments。 我嘗試這樣做:從iPhone模擬器的命令行啓動儀器
$ instruments -t /Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w iphonesimulator5.0 MyApp.app
但我得到這個錯誤:當你想指定一個硬件設備作爲目標(「設備ID」這裏
Instruments Usage Error : Device failed to become ready for use.