question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RN 0.62 pod repo update error

See original GitHub issue

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

saravanakumar@SaravanumarsMBP ios % pod repo update
Updating spec repo `trunk`
saravanakumar@SaravanumarsMBP ios % pod install --repo-update
Detected React Native module pods for RNCAsyncStorage, RNCMaskedView, RNCPicker, RNDateTimePicker, RNGestureHandler, RNLocalize, RNReanimated, RNSVG, RNScreens, RNVectorIcons, ReactNativeUiLib, RealmJS, react-native-blur, react-native-contacts, react-native-geolocation, react-native-maps, react-native-netinfo, react-native-safe-area-context, and react-native-slider
Updating local specs repositories
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] CocoaPods could not find compatible versions for pod "ReactCommon/jscallinvoker":
  In Podfile:
    ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`)

None of your spec sources contain a spec satisfying the dependency: `ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`)`.

You have either:
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
saravanakumar@SaravanumarsMBP ios %

React Native version:

info Fetching system and libraries information...
System:
    OS: macOS 10.15.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 1.49 GB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.19.0 - ~/.nvm/versions/node/v10.19.0/bin/node
    Yarn: 1.22.0 - /usr/local/bin/yarn
    npm: 6.13.4 - ~/.nvm/versions/node/v10.19.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.62.0 => 0.62.0
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Upgrade to 0.62.0 version
  2. cd ios
  3. pod install / pod install --repo-update

Expected Results

pod install --repo-update should not throw any error.

Snack, code example, screenshot, or link to a repository:

Please provide a Snack (https://snack.expo.io/), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:23 (1 by maintainers)

github_iconTop GitHub Comments

134reactions
martinobonfigliolicommented, Jul 13, 2020

I solved this issue (version 0.63) by changing the line in the Podfile from

pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"

to

pod 'React-callinvoker', :path => "../node_modules/react-native/ReactCommon/callinvoker"

61reactions
pxradoxcommented, Jun 13, 2020

In my case i already have : pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"

And still have an error :

[!] CocoaPods could not find compatible versions for pod “ReactCommon/callinvoker”: In snapshot (Podfile.lock): ReactCommon/callinvoker (from ../node_modules/react-native/ReactCommon)

In Podfile: ReactCommon/callinvoker (from ../node_modules/react-native/ReactCommon)

None of your spec sources contain a spec satisfying the dependency: ReactCommon/callinvoker (from …/node_modules/react-native/ReactCommon).

You have either:

  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating Pods with `pod repo update` fails with an error
What I had to do is,. First navigate to the project's ios folder and update the pods for M1 Chip arch -x86_64 pod...
Read more >
Troubleshooting React Native Issues | Flipper
If you are upgraded from RN < 0.62.2, make sure you've updated all the dependencies and build related files according to the upgrade...
Read more >
Xcode 12.5 troubleshooting for React-Native "0.62.2" - Part 4
5. Then properly clean your caches (react-native start --reset-cache), then do a "pod install --repo-update". This ...
Read more >
target has transitive dependencies that include statically ...
I have a problem when I try to update google-cast-sdk pod in the podspec file my Pod library project. In this podspec file...
Read more >
Upgrading to new versions - React Native
The upgrade command works on top of Git by using git apply with 3-way merge, therefore it's required to use Git in order...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found