make error after upgating to MacOs Catalina
Posted: Mon Oct 14, 2019 10:01 am
Hello group,
Last week I updated my Macboork to MacOs 10.15 (Catalina). Now when I try to compile my program I get an error that my path is not set correctly:
I try to set the path using:
This gives the next message:
So I give next command:
But the path is still not correct. What should I do
Last week I updated my Macboork to MacOs 10.15 (Catalina). Now when I try to compile my program I get an error that my path is not set correctly:
Code: Select all
Symbol not found: _OBJC_IVAR_$_NSFont._fFlags Referenced from: /Applications/Xcode.app/Contents/SharedFrameworks/DVTDocumentation.framework/Versions/A/../../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
in /Applications/Xcode.app/Contents/SharedFrameworks/DVTDocumentation.framework/Versions/A/../../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
make: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
make: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch
Code: Select all
/usr/bin/xcode-select -s /Applications
Code: Select all
xcode-select: error: --switch must be run as root (e.g. `sudo xcode-select --switch <xcode_folder_path>`).
Code: Select all
sudo xcode-select --switch /Applications