title: Could not download iOS 8.1 Simulator
body: <p>When I use Xcode 9.0 download Simulator (Xcode - Preferences - Components - Simulator), It will show "Could not download and install iOS 8.1 Simulator. The certificate for this server is invalid. You might be connecting to a server that is pretending to be “devimages.apple.com.edgekey.net” which could put your confidential information at risk."<br>
  <a href="https://i.stack.imgur.com/MDCKd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/MDCKd.png" alt="enter image description here"></a>   </p>
  
  <h3>More detail problem</h3>
  
  <p>I found that I can download the simulator for iOS10.0 and above, but I can not download the simulator below iOS 10.0.
  As you can see:  </p>
  
  <ul>
  <li>When I click to download the simulator above iOS 10.0, it's work.</li>
  <li>But when I download an emulator below the iOS 10.0 version, it will display a warning.</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/ewkHq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ewkHq.png" alt="enter image description here"></a></p>
  
  <h3>I have tried this solution:</h3>
  
  <ol>
  <li>Copy the download address of the .dmg suffix(<a href="https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK9_2-9.2.1.1451951473.dmg" rel="noreferrer">https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK9_2-9.2.1.1451951473.dmg</a> from @Mesut GÜNEŞ answer) and open it in the Safari browser.</li>
  <li>The browser will displays a warning show that the server certificate is invalid and automatically disables the continued access to the URL.
  <a href="https://i.stack.imgur.com/kuui1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kuui1.png" alt="enter image description here"></a></li>
  <li>Click "visit the site" and now i can download the simulator installation package on the browser.</li>
  <li>After the installation package is downloaded, drag the installation package to the cache. directory（<code>/Users/Andy/Library/Caches/com.apple.dt.Xcode/Downloads</code>）</li>
  <li>Open <code>Xcode-Preferences</code> to download and install the Simulator.</li>
  <li>So it just put the installation package into the cache directory in advance, in order to download faster. But the problem is that this warning window prevents me from starting the download. Even if I downloaded the installation package, but I still can't install it.</li>
  </ol>