From 32e44fed0bf534822fbd631f6cb2055cda89ac5f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 18 Nov 2025 11:11:55 +0100 Subject: [PATCH] [waf] fix default sdk version on watchOS --- wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index 13d9cbee..aeebaf63 100644 --- a/wscript +++ b/wscript @@ -259,7 +259,10 @@ def configure(ctx): color = 'YELLOW') if target_platform in [ 'ios', 'iosimulator', 'watchos', 'watchsimulator' ]: - MINSDKVER="16.4" + if target_platform in ['ios', 'iosimulator']: + MINSDKVER="16.4" + elif target_platform in ['watchos', 'watchsimulator']: + MINSDKVER="8.0" xcodeslct_output = subprocess.check_output (['xcode-select', '--print-path']) XCODEPATH = xcodeslct_output.decode(sys.stdout.encoding).strip() if target_platform == 'ios': -- 2.11.0