Skip to content

Commit a1fa46e

Browse files
authored
Merge pull request #11 from tomer1490/master
Add RCTSystemSetting.podspec to support Cocoapods installation
2 parents 1cdaee4 + 3fdb2eb commit a1fa46e

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

RCTSystemSetting.podspec

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
require 'json'
2+
pjson = JSON.parse(File.read('package.json'))
3+
4+
Pod::Spec.new do |s|
5+
6+
s.name = "RCTSystemSetting"
7+
s.version = pjson["version"]
8+
s.homepage = pjson["homepage"]
9+
s.summary = pjson["description"]
10+
s.license = pjson["license"]
11+
s.author = { "Ninty" => "c19354837@hotmail.com" }
12+
13+
s.ios.deployment_target = '7.0'
14+
15+
s.source = { :git => "https://github.com/c19354837/react-native-system-setting", :tag => "v#{s.version}" }
16+
s.source_files = 'ios/*.{h,m}'
17+
s.preserve_paths = "**/*.js"
18+
19+
s.dependency 'React'
20+
end

0 commit comments

Comments
 (0)