Upgrade to Xcode 13 on Big Sur?

Ryan Schmidt ryandesign at macports.org
Sun Apr 17 13:18:58 UTC 2022


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.


More information about the macports-users mailing list