IPHONEOS_DEPLOYMENT_TARGET='9.0'# default, can be changed via command line options or environment variable
@ -64,6 +64,12 @@ class Builder:
self.run_tests=run_tests
self.build_docs=build_docs
defcheckCMakeVersion(self):
ifget_xcode_version()>=(12,2):
assertget_cmake_version()>=(3,19),"CMake 3.19 or later is required when building with Xcode 12.2 or greater. Current version is {}".format(get_cmake_version())
else:
assertget_cmake_version()>=(3,17),"CMake 3.17 or later is required. Current version is {}".format(get_cmake_version())