There have been reports that the -license option might not be sufficient alone, and following command might be required to agree to the license: sudo xcodebuild -runFirstLaunch Install macOS SDK 11 manually in case of problems You also have to agree to the license by running sudo xcodebuild -license. sudo xcode-select -s /Applications/Xcode.app/Contents/Developer), and that you have the command line tools installed ( xcode-select -install).
MacPorts must be re-installed in a version configured for macOS 11 Big Sur.Įnsure you have Xcode 12.2 or greater installed and selected (e.g.