Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
juj opened this issue Mar 11, 2021 · 4 comments

Comments

@juj
Copy link

juj commented Mar 11, 2021

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$

@devernay
Copy link
Owner

devernay commented May 2, 2021

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?

@ipatch
Copy link

ipatch commented Mar 17, 2022

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

@d235j
Copy link

d235j commented Oct 24, 2022

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/

@startergo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants