Error messages:
Warning: xcodebuild exists but failed to execute
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
Solution:
1 |
sudo xcode-select -switch /Applications/Xcode.app |
MacPorts xcodebuild error by @sskaje: https://sskaje.me/2019/08/macports-xcodebuild-error/
Link to this post!