From 5fca5fdabfaa69a12762b7c1f61ebdf0751cad9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 2 Jul 2023 14:12:12 +0200 Subject: [PATCH] Force MACOSX_DEPLOYMENT_TARGET on SQLCipher CocoaPods tests Workaround for https://github.com/CocoaPods/CocoaPods/issues/11839 --- Tests/CocoaPods/SQLCipher3/Podfile | 3 +++ Tests/CocoaPods/SQLCipher4/Podfile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Tests/CocoaPods/SQLCipher3/Podfile b/Tests/CocoaPods/SQLCipher3/Podfile index c8066b3ae..6d99439cf 100644 --- a/Tests/CocoaPods/SQLCipher3/Podfile +++ b/Tests/CocoaPods/SQLCipher3/Podfile @@ -17,6 +17,9 @@ end post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| + # Workaround for Xcode 14.3+ + # https://github.com/CocoaPods/CocoaPods/issues/11839 + config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.13' config.build_settings['GCC_OPTIMIZATION_LEVEL'] = '3' end end diff --git a/Tests/CocoaPods/SQLCipher4/Podfile b/Tests/CocoaPods/SQLCipher4/Podfile index d8cd6ce44..008d26d86 100644 --- a/Tests/CocoaPods/SQLCipher4/Podfile +++ b/Tests/CocoaPods/SQLCipher4/Podfile @@ -17,6 +17,9 @@ end post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| + # Workaround for Xcode 14.3+ + # https://github.com/CocoaPods/CocoaPods/issues/11839 + config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.13' config.build_settings['GCC_OPTIMIZATION_LEVEL'] = '3' end end