title: How to change the iOS Simulator SDK
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8338957/how-can-i-change-ios-sdk">how can I change ios sdk?</a>  </p>
  </blockquote>
  
  
  
  <p>Is there an other way to change the iOS simulator SDK as Hardware -> Version?</p>
  
  <p>thanks for help.</p>
  
  <p><strong>EDIT:</strong>
  finally I got it with applescript </p>
  
  <pre><code>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 &amp; "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
  </code></pre>