This can be corrected by explicitly setting build_arch arm64 in nf, or by using a native terminal emulator. If you have a universal MacPorts installation on an Apple Silicon Mac, and you run it from a terminal emulator that is not a native arm64 binary, MacPorts will end up being run as x86_64, and will build ports accordingly, which can be unexpected. MacPorts defaults to building for the architecture that it is running as. 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 Rosetta 2 and build_arch 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 12 Monterey.Įnsure you have Xcode 13.1 or greater installed and selected (e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |