Не удается установить инструменты командной строки Xcode на Catalina - PullRequest
0 голосов
/ 25 марта 2020

Я пытаюсь установить инструменты командной строки Xcode, но установка завершается неудачно со следующим сообщением в журнале:

Mar 25 19:22:19 slytherin shove[825]: Error relinking file (primary): /Library/Apple/System/Library/InstallerSandboxes/.PKInstallSandboxManager-SystemSoftware/6938C91F-6EA5-4664-B31B-6E63490B231D.activeSandbox/Root/Library/Developer/CommandLineTools/usr/bin/indent to /usr/bin/indent, error = 30
Mar 25 19:22:19 slytherin shove[825]: srcPath = /Library/Apple/System/Library/InstallerSandboxes/.PKInstallSandboxManager-SystemSoftware/6938C91F-6EA5-4664-B31B-6E63490B231D.activeSandbox/Root/Library/Developer/CommandLineTools/usr/bin/indent NSFileOwnerAccountID=0 NSFileHFSTypeCode=0 NSFileSystemFileNumber=35894389 NSFileExtensionHidden=0 NSFileSystemNumber=16777220 NSFileSize=74560 NSFileGroupOwnerAccountID=0 NSFileHFSCreatorCode=0 NSFileCreationDate=2020-03-10 01:59:28 +0000 NSFileOwnerAccountName=root NSFilePosixPermissions=493 NSFileType=NSFileTypeRegular NSFileGroupOwnerAccountName=wheel NSFileReferenceCount=1 NSFileModificationDate=2020-03-10 01:59:28 +0000
Mar 25 19:22:19 slytherin shove[825]: dstParentPath = /usr/bin NSFileOwnerAccountID=0 NSFileSystemFileNumber=1152921500311879712 NSFileExtensionHidden=0 NSFileSystemNumber=16777220 NSFileSize=32448 NSFileGroupOwnerAccountID=0 NSFileOwnerAccountName=root NSFileCreationDate=2020-01-23 12:58:42 +0000 NSFilePosixPermissions=493 NSFileType=NSFileTypeDirectory NSFileGroupOwnerAccountName=wheel NSFileReferenceCount=1014 NSFileModificationDate=2020-03-25 06:43:43 +0000
Mar 25 19:22:19 slytherin shove[825]: [src=restricted] /usr/bin/indent: unable to restore flags 0x0 (error 30)

Похоже, установщик инструментов командной строки хочет установить новый ' отступ в / usr / bin, однако / usr / bin находится в файловой системе только для чтения на Catalina. Поэтому вполне естественно, что это не работает. Что я делаю не так?

...