无法在Mojave上安装XCode

时间:2020-04-05 17:34:29

标签: xcode macos-mojave

我正在运行MacOS 10.14.6,并希望将XCode安装到/ Applications文件夹中。

尝试使用Appstore下载它时,出现错误消息“无法安装Xcode,因为需要macOS 10.15.2或更高版本。”

因此,我从https://developer.apple.com/download/more/下载了文件“ Xcode 11.4.xip”。

按照this的建议,我只是通过打开xip文件(Webbrowser->下载-> Open File)来安装它。这似乎有所作为;至少有一个进度窗口告诉我正在提取文件。

但是,没有任何提示可以为我提供存储文件的位置,但是我最终得到了一个目录~/Downloads/Xcode.app。因此,正在做一个

mv ~/Downloads/Xcode.app /Applications

现在要测试XCode,我(使用Finder)转到/ Applications,找到XCode.app,然后双击它。我收到错误消息“您有macOS 10.14.6。该应用程序需要macOS 10.15.2或更高版本”。

如何为Mac获取XCode?

2 个答案:

答案 0 :(得分:7)

错误是正确的,Xcode 11.4无法在Mojave上运行。

下载Xcode 11.3.1

答案 1 :(得分:1)

我终于解决了这个问题,解决方案比您想象的要简单。

打开List<CompositeTemplate> CompoTemplateList = new List<CompositeTemplate>(); CompositeTemplate compoTemplate = new CompositeTemplate(); var documents = new List<DocuSign.eSign.Model.Document>(); byte[] fileBytes = null; DocuSign.eSign.Model.Document doc = new DocuSign.eSign.Model.Document(); doc.Name = "Some test Document"; doc.DocumentBase64 = System.Convert.ToBase64String(ReadContent(@"C:\bf\psb1.pdf")); doc.DocumentId = "1"; doc.FileExtension = "pdf"; doc.TransformPdfFields = "true"; // Add to Composite template compoTemplate.Document = doc; List<InlineTemplate> tls = new List<InlineTemplate>(); InlineTemplate ilt = new InlineTemplate(); ilt.Sequence = "1"; ilt.Recipients = recipients; InlineTemplate ilt2 = new InlineTemplate(); ilt2.Sequence = "2"; ilt2.Recipients = recipients2; CompoTemplateList.Add(compoTemplate); 并更改允许的最低版本。您可以打开以下文件进行安装:

info.plist

在Mojave 10.14.6上运行11.5

enter image description here