diff --git a/clickstream-react-native.podspec b/clickstream-react-native.podspec index 508f60a..396e3f3 100644 --- a/clickstream-react-native.podspec +++ b/clickstream-react-native.podspec @@ -4,17 +4,18 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json"))) folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' Pod::Spec.new do |s| - s.name = "clickstream-react-native" - s.version = package["version"] - s.summary = package["description"] - s.homepage = package["homepage"] - s.license = package["license"] - s.authors = package["author"] + s.name = "clickstream-react-native" + s.version = package["version"] + s.summary = package["description"] + s.homepage = package["homepage"] + s.license = package["license"] + s.authors = package["author"] - s.platforms = { :ios => "13.0"} - s.source = { :git => "https://github.com/awslabs/clickstream-react-native.git", :tag => "#{s.version}" } + s.platforms = { :ios => "13.0"} + s.swift_version = '5.7' + s.source = { :git => "https://github.com/awslabs/clickstream-react-native.git", :tag => "#{s.version}" } - s.source_files = "ios/*.{h,m,mm,swift}" + s.source_files = "ios/*.{h,m,mm,swift}" s.subspec 'Clickstream' do |sc| sc.source_files = 'ios/Clickstream/Sources/**/*'