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.

running `pod install` throws CocoaPods could not find compatible versions for pod "FBLazyVector"

See original GitHub issue

Description

While I’m trying to run pod install command I face this issue,

Using firebase.json from '/Users/emad/projects/dummy/frontend/firebase.json'
Adding a custom script phase for Pod RNFBApp: [RNFB] Core Configuration
Auto-linking React Native modules for target `univarsity`: RNCAsyncStorage, RNCMaskedView, RNDateTimePicker, RNFBApp, RNFBFirestore, RNFBInAppMessaging, RNFBMessaging, RNGestureHandler, RNImageCropPicker, RNNotifee, RNReanimated, RNSVG, RNScreens, RNSharedElement, RNVectorIcons, react-native-config, react-native-flipper, react-native-get-random-values, and react-native-safe-area-context
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] CocoaPods could not find compatible versions for pod "FBLazyVector":
  In Podfile:
    FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)

Specs satisfying the `FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)` dependency were found, but they required a higher minimum deployment target.

[!] Do not use "pod install" from inside Rosetta2 (x86_64 emulation on arm64).

[!]  - Emulated x86_64 is slower than native arm64

[!]  - May result in mixed architectures in rubygems (eg: ffi_c.bundle files may be x86_64 with an arm64 interpreter)

[!] Run "env /usr/bin/arch -arm64 /bin/bash --login" then try again.

Version

0.67.2

Output of npx react-native info

System: OS: macOS 12.3.1 CPU: (8) arm64 Apple M1 Pro Memory: 125.13 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.19.1 - ~/.nvm/versions/node/v14.19.1/bin/node Yarn: 1.22.18 - ~/.nvm/versions/node/v14.19.1/bin/yarn npm: 8.5.5 - ~/.nvm/versions/node/v14.19.1/bin/npm Watchman: 2022.03.21.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: Bumblebee 2021.1.1 Patch 2 Bumblebee 2021.1.1 Patch 2 Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild Languages: Java: 11.0.11 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: Not Found react-native: Not Found react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

navigate to ios directory and run pod install

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

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

37reactions
usmanhashmi2123commented, Jun 28, 2022

#go to /ios and open podfile

the top of file

platform :ios, ‘14.4.2’

‘14.4.2’ is the lastest verison

23reactions
MCervenkacommented, Jul 26, 2022

The platform :ios, ‘13.0’ was enough for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

CocoaPods could not find compatible versions for pod "React ...
This command will fix the issue run this command in the root directory of your project and it will replace "React/Core" with "React-Core"...
Read more >
cocoapods could not find compatible versions for pod "rct-folly"
Hi guys, I have the problem trying to run the command "pod install". This is my issue. Anyone help me? Thanks a lots!...
Read more >
CocoaPods could not find compatible versions for pod ... - Ionic
CocoaPods could not find compatible versions for pod ... platform version, you may encounter the following error when running pod install :
Read more >
“[!] CocoaPods could not find compatible versions for pod ...
CocoaPods could not find compatible versions for pod "razorpay_flutter" when running pod install. 2. ​. 3. This is due to your minimum deployment...
Read more >
What does pod install do? - Scott - Medium
and if there are different versions, it chooses the podspec that matches the version, and throws and error if it can't find it....
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