Is it possible to install Xcode 10.2 on High Sierra (10.13.6)?

前端 未结 6 1062
无人共我
无人共我 2020-12-12 11:32

I recently upgraded iOS in my iPhone device to 12.2 (to provide support of latest versions for my app \"Match4app\"), and this does not appear to be compatible with Xcode 10

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-12 12:16

    You don't need to run Xcode 10.2 for iOS 12.2 support. You just need access to the appropriate folder in DeviceSupport.

    A possible solution is

    • Download Xcode 10.2 from a direkt link (not from App Store).
    • Rename it for example to Xcode102.
    • Put it into /Applications. It's possible to have multiple Xcode versions in the same directory.
    • Create a symbolic link in Terminal.app to have access to the 12.2 device support folder in Xcode 10.2

      ln -s /Applications/Xcode102.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.2\ \(16E226\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
      

    You can move Xcode 10.2 to somewhere else but then you have to adjust the path.

    Now Xcode 10.1 supports devices running iOS 12.2

提交回复
热议问题