我想從命令行運行模擬器。有什麼方法可以找到模擬器路徑到命令行。蘋果經常改變模擬器的位置,如查找iOS模擬器應用程序的路徑
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator
/Applications ......../IOS simulato....
有沒有什麼辦法從終端找到模擬器路徑。 ?
使用「NSTemporaryDirectory()」。看這個 - http://stackoverflow.com/questions/1108076/where-does-the-iphone-simulator-store-its-data/32087374#32087374 – Shubhendu
@Shubhendu OP的問題是「從終端」,而不是「從代碼「;-) – AliSoftware