Forked from wawiesel/fix-macos-framework-links.sh
Last active
November 19, 2018 23:38
-
-
Save prideout/f9becdc142bf2e0f03968320461476d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
F=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks | |
for d in $(ls -d $F/*.framework); | |
do | |
sudo ln -s $d /Library/Frameworks/; | |
done | |
for d in $(ls -d $F/ApplicationServices.framework/Versions/A/Frameworks/*.framework); | |
do | |
sudo ln -s $d /Library/Frameworks/; | |
done | |
for d in $(ls -d $F/CoreServices.framework/Versions/A/Frameworks/*.framework); | |
do | |
sudo ln -s $d /Library/Frameworks/; | |
done | |
sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/PrivateFrameworks/UIFoundation.framework /Library/Frameworks | |
sudo unlink /Library/Frameworks/AE.framework |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment