Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: set minimum macos target development target supported to 10.14 (#4011)

Lucas.Xu929508df16c1
diff --git a/frontend/appflowy_flutter/macos/Podfile b/frontend/appflowy_flutter/macos/Podfile
index c50ecba633..38ec205fff 100644
--- a/frontend/appflowy_flutter/macos/Podfile
+++ b/frontend/appflowy_flutter/macos/Podfile
@@ -1,4 +1,6 @@
-platform :osx, '10.14'
+MINIMUM_MACOSX_DEPLOYMENT_TARGET_SUPPORTED = '10.14'
+
+platform :osx, MINIMUM_MACOSX_DEPLOYMENT_TARGET_SUPPORTED
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@@ -81,6 +83,7 @@ post_install do |installer|
xcconfig_path = config.base_configuration_reference.real_path
IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
end
+ config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = MINIMUM_MACOSX_DEPLOYMENT_TARGET_SUPPORTED
end
end
end