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

后端 未结 3 1090
再見小時候
再見小時候 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.

提交回复
热议问题