mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 03:31:05 +00:00
fix(package.json): Add license to podspec and update package.json version dynamically. (#98)
Fix cocoapods install error and warning.
```
Fetching podspec for `react-native-webview` from `../node_modules/react-native-webview`
[!] The `react-native-webview` pod failed to validate due to 1 error:
- WARN | attributes: Missing required attribute `license`.
- ERROR | version: The version of the spec should be higher than 0.
- WARN | license: Missing license type.
- WARN | source: Git sources should specify a tag.
```
This commit is contained in:
committed by
Thibault Malbranche
parent
3c4f78df2e
commit
59b513b754
@@ -6,6 +6,7 @@ Pod::Spec.new do |s|
|
||||
s.name = package['name']
|
||||
s.version = package['version']
|
||||
s.summary = package['description']
|
||||
s.license = package['license']
|
||||
|
||||
s.authors = package['author']
|
||||
s.homepage = package['homepage']
|
||||
@@ -15,4 +16,4 @@ Pod::Spec.new do |s|
|
||||
s.source_files = "ios/**/*.{h,m}"
|
||||
|
||||
s.dependency 'React'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user