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.
This commit is contained in:
Mikael Sand
2020-03-04 17:42:02 +02:00
committed by GitHub
parent a0d806a0cf
commit 675df92407
+1 -1
View File
@@ -14,5 +14,5 @@ Pod::Spec.new do |s|
s.source_files = 'ios/**/*.{h,m}'
s.requires_arc = true
s.dependency 'React'
s.dependency 'React/RCTImage'
s.dependency 'React-RCTImage'
end