是否有其他的方式來改變的iOS模擬器SDK的硬件 - >版本?
感謝您的幫助。
編輯: 最後我使用AppleScript得到它
set selectedVersion to "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk"
set thePListFolderPath to path to preferences folder from user domain as string
set thePListPath to thePListFolderPath & "com.apple.iphonesimulator.plist"
tell application "System Events"
tell property list file thePListPath
tell contents
set value of property list item "currentSDKRoot" to selectedVersion
end tell
end tell
end tell
我已經安裝了所有模擬器,部署目標設置爲4.3。我想用一些AutomatedTests的各種模擬器SDK來啓動我的應用程序。 –
不幸的是,你一次只能運行一個模擬器。 – runmad
我知道。我想更改兩個jenkins測試之間的模擬器SDK,我不知道我能做什麼 –