Skip to content

Commit 0f5c5dc

Browse files
authored
Merge pull request #17 from pontusab/master
Add podspec for iOS
2 parents 4d30fc2 + 9b74cbd commit 0f5c5dc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

react-native-async-storage.podspec

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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 = "react-native-async-storage"
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, "9.0"
14+
15+
s.source = { :git => "https://github.com/react-native-community/react-native-async-storage.git", :tag => "#{s.version}" }
16+
s.source_files = "ios/**/*.{h,m}"
17+
18+
s.dependency 'React'
19+
end

0 commit comments

Comments
 (0)