Skip to content

Commit

Permalink
feat: specify compatibility with swift 5
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweii committed Apr 3, 2024
1 parent c80ca8e commit 3a227ed
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions clickstream-react-native.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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/**/*'
Expand Down

0 comments on commit 3a227ed

Please sign in to comment.