From e702ee599d1a45d66a5580aee337bbdadc111387 Mon Sep 17 00:00:00 2001 From: Martin Garcia Del Angel <116196606+martin-headspace@users.noreply.github.com> Date: Thu, 2 Jan 2025 13:58:47 -0600 Subject: [PATCH] fix: add swift version in podspec (#210) 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