From 916f027793f4782ac8f11cb0e26826439800e19e Mon Sep 17 00:00:00 2001 From: Fernando Martin Garcia Del Angel Date: Wed, 27 Nov 2024 16:14:23 -0600 Subject: [PATCH] fix: add swift version in podspec Adds the Swift Version to the Podspec to help developers with an add-to-app setup not run into the missing SWIFT_VERSION error when compiling. --- ios/amplitude_flutter.podspec | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/amplitude_flutter.podspec b/ios/amplitude_flutter.podspec index 27b384d..fa58a94 100644 --- a/ios/amplitude_flutter.podspec +++ b/ios/amplitude_flutter.podspec @@ -13,6 +13,7 @@ Pod::Spec.new do |s| s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' s.dependency 'Amplitude', '8.18.0' + s.swift_version = '4.1' s.ios.deployment_target = '10.0' end