Xcodeios Simulator Installation Related

Source: Internet
Author: User

Simulator Download Note:
    • Xcode 7 Beta does not support IOS 8.4 and the previous SDK.
    • Now the Xcode 6.x seems to support only iOS 7.0 and later versions, the early simulator runtime does not support the new Coresimulator architecture, only Xcode 5.1 supports iOS 6.x simulator. and iOS 7.0 emulator can only be run in OS X Mavericks.

Legacy installation Methods (previous versions of Xcode 6):

Installing the SDK is equivalent to installing the emulator, if you suspect that the Xcode download SDK is too slow, you can choose to manually install, specific manual installation method: Unzip and put in the following directory.

/applications/{{xcode app}}/contents/developer/platforms/iphonesimulator.platform/developer/sdks/

New Installation Method (Xcode 6):

The new Xcode does not recognize the emulator in the SDKs directory, and after some attempts I find it to be placed in this directory:

/library/developer/coresimulator/profiles/runtimes/

Note: Is the root directory, not in the directory of Xcode and User

And unlike the previous version of the simulator, the new version of the simulator is a simruntime suffix packaging (in fact, a directory), with 7.1 of the simulator as an example:

If this directory does not exist, you can try to create this directory with root privileges:

    1. Enter terminal
    2. Get root permission: sudo-s
    3. Create this directory again: Mkdir-p/library/developer/coresimulator/profiles/runtimes/
    4. Perform replication: cp-r {emulator path}/library/developer/coresimulator/profiles/runtimes/{emulator}
      such as: Cp-r/volumes/ios\/xcode\ simulators/ios\ 7.1.simruntime/library/developer/coresimulator/profiles/runtimes/ios\ 7.1.simruntime
    5. After creating the information for this directory, you will see that the permission owner is "system" instead of "Your user name"
    6. If Xcode does not recognize the emulator correctly after completing these steps, you can try restarting the computer (possibly restarting the Finder, which I did not test).
Incorrect permissions can also be modified directly (in addition to the rights of the emulator itself, as well as the permissions of its parent directory): sudo chown-r root:wheel ios\ 7.1.simruntime

If you encounter a problem with the version number showing an exception, such as:

Just delete the extra version of the emulator in the Devices of Xcode, like the one in the resizable IPhone 8.4 simulator:

Xcodeios Simulator Installation Related

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.