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: