xcodelegacy icon indicating copy to clipboard operation
xcodelegacy copied to clipboard

Instructions no longer work on macOS 11.1: "mkdir: /Developer: Read-only file system"

Open juj opened this issue 4 years ago • 4 comments

jukkaj-0A4M:xcodelegacy jukkaj$ sudo ./XcodeLegacy.sh -osx1013 install Password: *** Info: found Xcode >= 4.3 in /Applications/Xcode.app *** installed Xcode1013SDK.tar.gz *** modified MacOSX Info.plist *** Warning: /Developer/SDKs should be a symlink to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs Check that /Developer exists, and fix /Developer/SDKs with: $ sudo ln -sf '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs' /Developer/SDKs jukkaj-0A4M:xcodelegacy jukkaj$ ls /Developer ls: /Developer: No such file or directory jukkaj-0A4M:xcodelegacy jukkaj$ mkdir /Developer mkdir: /Developer: Read-only file system jukkaj-0A4M:xcodelegacy jukkaj$ sudo mkdir /Developer mkdir: /Developer: Read-only file system jukkaj-0A4M:xcodelegacy jukkaj$

juj avatar Mar 11 '21 11:03 juj

Yes, this is no longer necessary with recent macOS, so you an ignore that warning, but I don't know at which version it stopped being necessary. ANyone has an idea?

devernay avatar May 02 '21 00:05 devernay

i was able to appease this warning/error with the below info.

https://apple.stackexchange.com/questions/395508/can-i-mount-the-root-system-filesystem-as-writable-in-big-sur

ipatch avatar Mar 17 '22 20:03 ipatch

It is better to appease the warning/error by mapping /Developer to another location via /etc/synthetic.conf. See here for details: https://derflounder.wordpress.com/2020/01/18/creating-root-level-directories-and-symbolic-links-on-macos-catalina/

d235j avatar Oct 24 '22 21:10 d235j

Aha. And how to extract the Xcode from the Xcode.mpkg? The old installer will not install on the newer macs.

startergo avatar May 22 '24 20:05 startergo