Pod install failed after upgrade to 0.70.1

This issue has been created since 2022-09-21.

New Version

0.70.1

Old Version

0.66.0

Build Target(s)

1

Output of react-native info

System:
OS: macOS 12.5
CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Memory: 1.04 GB / 24.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.15.0 - /usr/local/bin/npm
Watchman: 2022.08.15.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8815526
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.16 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.1 => 0.70.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Issue and Reproduction Steps

Hi, I tried to upgrade my project from 0.66.0 to 0.70.1 via React Native Upgrade Helper, but when I tried to pod install then I get this error

[!] CocoaPods could not find compatible versions for pod "RCT-Folly":
  In Podfile:
    FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) was resolved to 0.70.1, which depends on
      RCT-Folly (= 2021.07.22.00)

    RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)

    RNReanimated (from `../node_modules/react-native-reanimated`) was resolved to 2.2.3, which depends on
      RCT-Folly

    react-native-fbt (from `../node_modules/react-native-fbt`) was resolved to 0.0.7, which depends on
      RCT-Folly (= 2021.06.28.00-v2)

Screen Shot 2022-09-21 at 14 58 41

Thanks for the help!

gagtic wrote this answer on 2022-09-21

Did you try cleaning the ios/pods and ios/podfile.lock and retrying pod install?
for me sometimes 'npx pod-install' in project folder also works instead of 'pod install' in ios folder

longb1997 wrote this answer on 2022-09-21

Did you try cleaning the ios/pods and ios/podfile.lock and retrying pod install? for me sometimes 'npx pod-install' in project folder also works instead of 'pod install' in ios folder

yes i did, it's not working :(

cortinico wrote this answer on 2022-09-21

react-native-fbt (from ../node_modules/react-native-fbt) was resolved to 0.0.7, which depends on
RCT-Folly (= 2021.06.28.00-v2)

The issue is with react-native-fbt which is depending on a older version of Folly:
https://github.com/facebook/fbt/blob/d9d86a9f40af564a06c3ccdef7997aad3d4415b7/packages/react-native-fbt/react-native-fbt.podspec#L11

Please open an issue here https://github.com/facebook/fbt and ask folks on FBT to follow up

More Details About Repo
Owner Name facebook
Repo Name react-native
Full Name facebook/react-native
Language JavaScript
Created Date 2015-01-09
Updated Date 2022-10-07
Star Count 105180
Watcher Count 3671
Fork Count 22481
Issue Count 2230

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
oasdiff.exe seems to infinite loop 1 2022-01-29 2022-08-20
Get revert reason of any tx and especially for failed trades 3 2022-03-21 2022-09-13
Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/bull-repl/node_modules/node-jq/…… 2 2022-01-27 2022-07-18
start script fails on windows 6 2022-06-09 2022-10-03
CONECT records in PDB files written by mdtraj always use atom index 1 2022-05-13 2022-07-14
Ability to return the same value for each expression in response 0 2021-12-06 2022-04-01
Line Endings change making entire file appear different 0 2022-02-18 2022-08-28
EFCore 6 support (Missing method exception) 9 2021-11-01 2022-08-01
java.lang.InterruptedException race in chiming functions. 42 2020-09-07 2022-09-19
remove deprecated code for v0.10.0 1 2022-03-28 2022-04-21
Start Packet Capture crash: wayland 1 2021-04-01 2022-09-21
route picker in wysiwyg? 0 2021-04-06 2022-08-18
Specifying the Unity version requires double quotes 1 2022-03-22 2022-09-14
N2 Elite Slot Scanning 13 2021-10-26 2022-09-15
calling set() inside of dispose() creates an infinite loop? 4 2017-01-20 2022-09-02
Why access `_decoded`? 0 2021-05-25 2022-09-26
[BUG] libcudf parquet reader not returning metadata of list of files 5 2022-05-03 2022-09-28
[BUG] Usage of pandas._testing should be minimized 2 2022-05-03 2022-09-12
Unification (old and new) is too reluctant to ignore arguments of functions 1 2022-04-23 2022-07-05
Mesh import options dissapeared on 2021.05 (Win and Mac) 1 2021-07-07 2022-09-22
parse_hms() fails to parse when the duration is longer than one day 0 2022-07-02 2022-08-20
Error CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR in CLGLInteropDemo 5 2021-09-28 2022-09-18
homeassistant 2021.7 device automation triggers 14 2021-07-07 2022-08-16
Broken links/redirects from https://conda.io/docs (404) 4 2019-02-27 2022-10-06
Вращение Земли Майнкрафтская (Accurate day/night-cycles Mod) incompatible 2 2022-07-03 2022-09-19
virtual interfaces support 1 2022-04-21 2022-10-07
Add --no-color option 1 2020-02-24 2022-09-29
Chapter 14.4.4 Join Atributes by Location QGIS 3.22 0 2022-01-16 2022-10-03
Is MySQL Workbench 8.0.28 now compatible again? 3 2022-01-21 2022-07-15
ApplySchema -strategy "direct -allow-zero-in-date" silently drops DDL errors 5 2022-03-29 2022-10-01
Can't locate object method "requires" via package "Mojolicious::Routes::Route" 1 2021-02-17 2022-06-24
The label "Login to GitHub app" is rendered incorrectly in notification row 3 2021-11-05 2022-10-03
Compatible .NETCore versions 3 2021-11-07 2022-10-06
Issue with Redirect URI for Vainity/Custom URL 6 2022-07-06 2022-09-03
Subscription feature to automatically apply advance payment received in sales invoice 1 2022-03-18 2022-09-01
Dataclass style SQLAlchemy models with lazy relationship fail in _prepare_response_content 2 2021-09-14 2022-09-25
Feature Request: Search Query Performance - ASIN VIEW 0 2022-09-11 2022-10-03
WEB: tiles are destroyed when window resizing. 5 2021-05-24 2022-09-18
Reg recent CI failures on s390x builder 14 2022-07-19 2022-08-18
Keycodes for size not working with Cursors 2 2021-04-06 2022-09-27
[BUG] salt-cloud > proxmox driver > list-locations (func avail_locations()) not honoring node state 2 2021-11-10 2022-07-08
Improve Performance for Very, Very Long Strings 1 2020-04-11 2022-09-12
Default AWS Inspector URL no longer valid 1 2021-02-23 2022-09-14
Existing Video Block Code Prevents Block Editor From Loading 13 2021-11-16 2022-08-13
Implement network selector in add asset dialog 1 2022-07-28 2022-09-26
Sourcing Guids does not include DIN rails 1 2021-11-19 2022-08-14
is v1.17 support APIPriorityAndFairness ? 10 2021-12-28 2022-07-14
review my mutt scheme template? 5 2017-07-15 2022-06-17
[Feat]: Expose custom plugins directories as `NETDATA_USER_PLUGINS_DIRS` environment variable 0 2022-06-22 2022-09-25
Empty passwords in DATABASE_URL will cause errors 1 2015-12-23 2022-09-19