XCode 7 (Beta 3 & 4) Could not download and install iOS 8.* simulator

后端 未结 3 1091
再見小時候
再見小時候 2021-02-01 16:18

Trying to get iOS 8 simulators in XCode 7. Prior to beta 3, that wasn\'t possible but in beta 3 release notes:

\"Xcode 7.0 beta now supports downloadable

相关标签:
3条回答
  • 2021-02-01 16:49

    I found another workaround on the Apple forums for this issue that does not require downloading/having other versions of Xcode. If you run Xcode using sudo the simulator downloads and installs work just fine:

    sudo /Applications/Xcode.app/Contents/MacOS/Xcode
    

    Note: Once the downloads and installs are complete you should quit Xcode and start it normally.

    Update: XCool points out an important safety tip in the comments that I wanted to highlight here:

    Make sure that you close any projects before opening Xcode using sudo, otherwise there'll be a lot of permission issues with any files that are currently open when the installation occurs.

    0 讨论(0)
  • 2021-02-01 16:52

    XCode 7 and above does not support simulators 8.4 and earlier. Please check my answer on the post here.

    0 讨论(0)
  • 2021-02-01 17:03

    sorry for the post, I don't have 50 reputation to comment. i am having this same issue. Any further progress? If I happen to come across a solution I will let you know. What have you tried?

    --------- UPDATE -------

    So I have found a work around.... if you are trying to get it to deploy to an iPhone.

    If you still have the previous xCode file... you can navigate to Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

    copy the simulators and SDKS you want over to the same location in Xcode-beta.app and paste... granted those downloads still won't download, but this will allow for the simulator to run on your iPhone.

    I got this from Using the device simulator for iOS 8 with Xcode 7

    and verified it works.

    0 讨论(0)
提交回复
热议问题