Files
react-native-svg/RNSVG.podspec
T
Mikael Sand 675df92407 fix(ios): pod install error
> pod install
Detected React Native module pod for RNSVG
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "React/RCTImage":
  In Podfile:
    RNSVG (from `../node_modules/react-native-svg`) was resolved to 11.0.1, which depends on
      React/RCTImage

None of your spec sources contain a spec satisfying the dependency: `React/RCTImage`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
2020-03-04 17:42:02 +02:00

19 lines
673 B
Ruby

require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = 'RNSVG'
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['homepage']
s.authors = 'Horcrux Chen'
s.platforms = { :ios => "9.0", :tvos => "9.2" }
s.source = { :git => 'https://github.com/react-native-community/react-native-svg.git', :tag => "v#{s.version}" }
s.source_files = 'ios/**/*.{h,m}'
s.requires_arc = true
s.dependency 'React'
s.dependency 'React-RCTImage'
end