From 69f175babe00f5f272413f660ff922a0f3e8760e Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Thu, 26 Nov 2026 13:50:20 -0500 Subject: [PATCH] replace deprecated field in build hook --- hook/build.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hook/build.dart b/hook/build.dart index c4af12e..9b25cac 100644 --- a/hook/build.dart +++ b/hook/build.dart @@ -53,7 +53,8 @@ Future main(List args) => build(args, (input, output) async { libFileName = "libgomuks.dylib"; extraEnv = { "SDKROOT": await getXCodeTool(), - "MACOSX_DEPLOYMENT_TARGET": codeConfig.macOS.targetVersion.toString(), + "MACOSX_DEPLOYMENT_TARGET": codeConfig.macOS.deploymentVersion.major + .toString(), }; break; case OS.windows: