mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: set minimum macos target development target supported to 10.14 (#4011)
This commit is contained in:
@ -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.
|
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
|
||||||
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
|
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
|
||||||
@ -81,6 +83,7 @@ post_install do |installer|
|
|||||||
xcconfig_path = config.base_configuration_reference.real_path
|
xcconfig_path = config.base_configuration_reference.real_path
|
||||||
IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
|
IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
|
||||||
end
|
end
|
||||||
|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = MINIMUM_MACOSX_DEPLOYMENT_TARGET_SUPPORTED
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user