|
|
|
@ -105,6 +105,9 @@ post_install do |installer|
|
|
|
|
|
enable_whole_module_optimization_for_crypto_swift(installer)
|
|
|
|
|
set_minimum_deployment_target(installer)
|
|
|
|
|
enable_fts5_support(installer)
|
|
|
|
|
|
|
|
|
|
#FIXME: Remove this workaround once an official fix is released (hopefully Cocoapods 1.12.1)
|
|
|
|
|
xcode_14_3_workaround(installer)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def enable_whole_module_optimization_for_crypto_swift(installer)
|
|
|
|
@ -135,3 +138,12 @@ def enable_fts5_support(installer)
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# Workaround for Xcode 14.3:
|
|
|
|
|
# Sourced from https://github.com/flutter/flutter/issues/123852#issuecomment-1493232105
|
|
|
|
|
def xcode_14_3_workaround(installer)
|
|
|
|
|
system('sed -i \'\' \'44s/readlink/readlink -f/\' \'Pods/Target Support Files/Pods-GlobalDependencies-FrameworkAndExtensionDependencies-ExtendedDependencies-SessionMessagingKit-SessionMessagingKitTests/Pods-GlobalDependencies-FrameworkAndExtensionDependencies-ExtendedDependencies-SessionMessagingKit-SessionMessagingKitTests-frameworks.sh\'')
|
|
|
|
|
system('sed -i \'\' \'44s/readlink/readlink -f/\' \'Pods/Target Support Files/Pods-GlobalDependencies-FrameworkAndExtensionDependencies-ExtendedDependencies-SessionUtilitiesKit-SessionUtilitiesKitTests/Pods-GlobalDependencies-FrameworkAndExtensionDependencies-ExtendedDependencies-SessionUtilitiesKit-SessionUtilitiesKitTests-frameworks.sh\'')
|
|
|
|
|
system('sed -i \'\' \'44s/readlink/readlink -f/\' \'Pods/Target Support Files/Pods-GlobalDependencies-Session/Pods-GlobalDependencies-Session-frameworks.sh\'')
|
|
|
|
|
system('sed -i \'\' \'44s/readlink/readlink -f/\' \'Pods/Target Support Files/Pods-GlobalDependencies-Session-SessionTests/Pods-GlobalDependencies-Session-SessionTests-frameworks.sh\'')
|
|
|
|
|
end
|
|
|
|
|