tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.81k stars 320 forks source link

Add support for Xcode SDK version 12.1 #330

Closed japhib closed 2 years ago

japhib commented 2 years ago

Currently when I follow the directions to package the MacOS SDK from MacOS using an up-to-date Xcode installation, it doesn't work because the build.sh script doesn't have support for versions starting with 12.1. This fixes that.

The only other thing changed from the line above is TARGET=darwin21.2 -- I got that from the "Release History" table on this page: https://en.wikipedia.org/wiki/Darwin_(operating_system)