Skip to content

Commit 99fe077

Browse files
committed
Update podspec
1 parent d8e527c commit 99fe077

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

ReactNativePermissions.podspec

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
require 'json'
2-
3-
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
2+
package = JSON.parse(File.read('./package.json'))
43

54
Pod::Spec.new do |s|
6-
s.name = 'ReactNativePermissions'
7-
s.version = package['version']
8-
s.summary = package['description']
9-
s.description = package['description']
10-
s.homepage = package['homepage']
11-
s.license = package['license']
12-
s.author = package['author']
13-
s.source = { :git => 'https://github.com/yonahforst/react-native-permissions.git', :tag => s.version }
5+
s.name = 'ReactNativePermissions'
6+
s.dependency "React"
7+
8+
s.version = package["version"]
9+
s.license = package["license"]
10+
s.summary = package["description"]
11+
s.authors = package["author"]
12+
s.homepage = package["homepage"]
1413

15-
s.platform = :ios, '9.0'
16-
s.ios.deployment_target = '8.0'
14+
s.platform = :ios, "9.0"
15+
s.requires_arc = true
1716

18-
s.preserve_paths = 'LICENSE', 'package.json'
19-
s.source_files = '**/*.{h,m}'
20-
s.exclude_files = 'example/**/*'
21-
s.dependency 'React'
17+
s.source = { :git => s.homepage, :tag => s.version }
18+
s.source_files = "ios/**/*.{h,m}"
2219
end

0 commit comments

Comments
 (0)