Manually install the iOS 9.3 emulator under Xcode8.0

Source: Internet
Author: User

A few days ago upgraded Xcode 8, after installation, by default Xcode will only integrate a latest version of iOS, due to bugs in the project, the test needs to use a lower version of the simulator, and then go to Xcode preference to install more versions of the iOS simulator.
But the speed of download is very slow, and always fail, thinking that they have to quickly set up a good environment debugging code, so I think there is no way to directly download these simulator version, so I directly installed on the local is good.
Personal test method: The first way to enter the following command in Iterm, to start Xcode, and then need to enter the power-on password (no iterm can be used to replace the terminal)

Sudo/applications/xcode.app/contents/macos/xcode
The display reads as follows

The input instruction opens xcode.png and then downloads the simulator in references and cancels
Download the simulator. png

You can see the address of the emulator download in the content of the Iterm terminal output (this needs to wait until simulator is removed to display the download address)
Iterm the content of the feedback. png

Copy the download address to the browser for download

Can use other agent tools to download, find tools to download it

Install wait for download complete, enter below path ~/library/caches

The path to the download file. png Find Com.apple.dt.Xcode file < file similar to application, open by: Select Display package content into Downloads directory (if not, manually create a Downloads directory) to move the downloaded file Move to Downloads directory (preferably do not change filename)

Restart the Xcode, open the references to download the corresponding simulator, back to step 1 of the page, click again to download the iOS simulator version you just want to download, this time the progress point will be very fast, after all, has been downloaded, this time mainly in the verification and installation work , after a while the installation of a successful special note: Set the operating requirements of the Xcode version number, generally not notice are the latest version of the default, if so, the installation of the lower version of the simulator or can not see the <ps~ this I will not say how to find it ... > installation can be directly used if you can not use the words to restart the Xcode, or not to restart the computer (I will restart the computer to normal use) can be
You can select the version of the simulator you want. png the second option opens Xcode-> preference-> Components->
Download the simulator. PNG opens the console application and starts directly through the spotlight, after startup, empty the console to select any version of the emulator you need to download, click the previous Download button, and then stop back to console applications. You'll see a download message on it.
Coonsole.png Copy this record, take iOS 9.3 For example, this record is this

16/10/9 morning 10:40:12.665 xcode[598]: Dvtdownloadable:download cancelled. downloadable:https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/ Com.apple.pkg.iphonesimulatorsdk9_2-9.2.1.1451951473.dmg.

Remove the URL:

Https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK9_ 2-9.2.1.1451951473.dmg

And then the download is, repeat the installation process in the first method the third way is to use the web site of Charles crawl download process and then download the installation.

There's time to fill the one by one.
Reference: Manually install iOS simulator and Download Xcode Simulator directly

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.