File tree Expand file tree Collapse file tree 2 files changed +26
-21
lines changed Expand file tree Collapse file tree 2 files changed +26
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ require 'json'
2
+
3
+ package = JSON . parse ( File . read ( File . join ( __dir__ , '..' , 'package.json' ) ) )
4
+
5
+ Pod ::Spec . new do |s |
6
+ s . name = 'RNLine'
7
+ s . version = package [ 'version' ]
8
+ s . summary = package [ 'description' ]
9
+ s . license = package [ 'license' ]
10
+
11
+ s . authors = package [ 'author' ]
12
+ s . homepage = package [ 'homepage' ]
13
+ s . platform = :ios , "13.0"
14
+ s . swift_version = '5.4'
15
+
16
+ s . source = { :git => "https://github.com/xmartlabs/react-native-line" }
17
+ s . source_files = "**/*.{h,m,swift}"
18
+
19
+ # Swift/Objective-C compatibility
20
+ s . pod_target_xcconfig = {
21
+ 'DEFINES_MODULE' => 'YES'
22
+ }
23
+
24
+ s . dependency 'React-Core'
25
+ s . dependency 'LineSDKSwift' , '~> 5.8.1'
26
+ end
You can’t perform that action at this time.
0 commit comments