macOS Mojave 可以安装的Xcode最新版本是11.3.1
之后的Xcode版本都不再支持 macOS Mojave
Xcode 官方下载地址,需要登录苹果账号,下载完成后,双击解压xip文件,然后把解压出来的文件拖到 Application 中即可,如果想保留旧版本,需要在拖动之前重命名原来的版本
以下是信息来源和依据
查看Xcode在官网的Release Notes信息
- Xcode 11.3.1 Release Notes
Xcode 11.3.1 supports developing apps for iOS 13.3, iPadOS 13.3, tvOS 13.3, watchOS 6.1, and macOS Catalina 10.15.2. Xcode 11.3.1 supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 11.3.1 requires a Mac running macOS Mojave 10.14.4 or later.
下一版本是11.4
- Xcode 11.4 Release Notes
Xcode 11.4 includes SDKs for iOS 13.4, iPadOS 13.4, tvOS 13.4, watchOS 6.2, and macOS Catalina 10.15.4. The Xcode 11.4 release supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 11.4 requires a Mac running macOS Catalina 10.15.2 or later.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。