xcodelegacy
xcodelegacy copied to clipboard
Instructions no longer work on macOS 11.1: "mkdir: /Developer: Read-only file system"
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$
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?
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
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/
Aha. And how to extract the Xcode from the Xcode.mpkg? The old installer will not install on the newer macs.