Thanks very much Ryan! I installed Xcode 13.2.1 from developer.apple.com <http://developer.apple.com/> and the command line tools using software update (for some reason, when I tried to install Xcode using the App Store, it kept giving me an error). Everything seems to be working correctly so far.
Best, -ranga > On Apr 17, 2022, at 06:18, Ryan Schmidt <[email protected]> wrote: > > On Apr 16, 2022, at 16:46, Sriranga Veeraraghavan wrote: > >> I’m running MacPorts 2.7.2 on Big Sur 11.6.5 with Xcode 12.5.1. I have put >> off upgrading to Xcode 13 so far, but I would like to upgrade soon because I >> understand that there are some security fixes in the latest Xcode 13.x that >> are not available for Xcode 12. >> >> Are there any issues to be aware of with respect to MacPorts if I upgrade to >> Xcode 13 on Big Sur 11.6.5? Or it is a reasonably safe upgrade? > > As usual, the last version of Xcode that is compatible with macOS 11 Big Sur > (Xcode 13.2.1) only contains the macOS 12 Monterey SDK. This can confuse most > open source software which doesn't know how SDKs work. You can avoid most > problems if you also install the Xcode 13.2 version of the command line tools > (there was no 13.2.1 version of the CLT) since the CLT contains both the > macOS 11 and 12 SDKs and MacPorts will tell most ports to use the macOS 11 > SDK from the CLT.
