Skip to content

Commit f75cb70

Browse files
zhu-xiaoweixiaoweii
and
xiaoweii
authored
feat: specify compatibility with swift 5 (#5)
Co-authored-by: xiaoweii <[email protected]>
1 parent c80ca8e commit f75cb70

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

clickstream-react-native.podspec

+10-9
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
44
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
55

66
Pod::Spec.new do |s|
7-
s.name = "clickstream-react-native"
8-
s.version = package["version"]
9-
s.summary = package["description"]
10-
s.homepage = package["homepage"]
11-
s.license = package["license"]
12-
s.authors = package["author"]
7+
s.name = "clickstream-react-native"
8+
s.version = package["version"]
9+
s.summary = package["description"]
10+
s.homepage = package["homepage"]
11+
s.license = package["license"]
12+
s.authors = package["author"]
1313

14-
s.platforms = { :ios => "13.0"}
15-
s.source = { :git => "https://github.com/awslabs/clickstream-react-native.git", :tag => "#{s.version}" }
14+
s.platforms = { :ios => "13.0"}
15+
s.swift_version = '5.7'
16+
s.source = { :git => "https://github.com/awslabs/clickstream-react-native.git", :tag => "#{s.version}" }
1617

17-
s.source_files = "ios/*.{h,m,mm,swift}"
18+
s.source_files = "ios/*.{h,m,mm,swift}"
1819

1920
s.subspec 'Clickstream' do |sc|
2021
sc.source_files = 'ios/Clickstream/Sources/**/*'

0 commit comments

Comments
 (0)