Questions tagged [pod-install]

44 questions
372
votes
32 answers

pod install -bash: pod: command not found

I installed pod some time ago. However, it's stopped working so I'm working through this again. However, I almost immediately run into a problem here: pod install -bash: pod: command not found Any suggestions why this happened?
Snowcrash
  • 80,579
  • 89
  • 266
  • 376
323
votes
19 answers

cocoapods - 'pod install' takes forever

I was trying to update the existing pods with the pod install command, but it takes forever to run. The verbose mode shows it was stuck at the following line (forever) Updating spec repo master $ /usr/bin/git pull --no-rebase --no-commit There is…
Hai Feng Kao
  • 5,219
  • 2
  • 27
  • 38
266
votes
9 answers

How to update a single pod without touching other dependencies

I understand that the following command will update a single pod: pod update . However this also updates the dependencies of other pods (pods that were not included in the update command) that you have previously installed. Is there a way…
ken
  • 3,897
  • 3
  • 22
  • 28
258
votes
21 answers

Pod install is staying on "Setting up CocoaPods Master repo"

I'm cloning a project from a git repo, but when I execute pod install the first line I see is "Setting up CocoaPods Master repo" and after that I can't see anything more, the console stops there. I don't know what is happening. Anyone knows what's…
Gabriel Goncalves
  • 5,132
  • 3
  • 25
  • 34
93
votes
25 answers

How to solve "error running pod install" in flutter on mac?

I have an error when I tried to launch my project on my iPhone, the basic Flutter example is working on my iPhone but when I use my project I have this error.
Nitneuq
  • 3,866
  • 13
  • 41
  • 64
44
votes
16 answers

React Native - pod install issue "cannot load such file.......node_modules/react-native/scripts/react_native_pods"

when I have a react native project....and when I run pod install it gives me the following error Invalid `Podfile` file: cannot load such file -- /myPath/node_modules/react-native/scripts/react_native_pods Here is my podfile require_relative…
james murphy
  • 1,505
  • 5
  • 31
  • 57
19
votes
3 answers

npx pod-install returns "CocoaPods is not supported in this project"

Context: I'm trying to create a React Native App with react-native-video. The iOs installation instruction starts with npx pod-install. Running: npx pod-install Returns: npx: installed 1 in 1.113s Scanning for pods... CocoaPods is not supported in…
9
votes
5 answers

Installing hermes-engine (0.71.2) got stuck react native

I have created a new react native project and then install npm , run command bundle install and then then cd iOS pod install but it got stuck on Installing React-perflogger (0.71.2) Installing React-runtimeexecutor (0.71.2) Installing ReactCommon…
Engr.Aftab Ufaq
  • 3,356
  • 3
  • 21
  • 47
9
votes
1 answer

IOS: Invalid `Podfile` file: no implicit conversion of nil into String

I just started learning react-native. While trying to run npx pod-install I get: Scanning for pods... 1.11.3 > pod install Auto-linking React Native modules for target `AudioOnlyRN`: RNCAsyncStorage, RNCClipboard, react-native-background-timer,…
Don Code
  • 781
  • 3
  • 12
  • 25
9
votes
5 answers

CocoaPods could not find compatible versions for pod "React/Core"

when I start pod install the result : [!] CocoaPods could not find compatible versions for pod "React/Core": In Podfile: react-native-fetch-blob (from ../node_modules/react-native-fetch-blob) was resolved to 0.10.6, which depends on React/Core None…
6
votes
1 answer

Invalid `Podfile` file: Invalid `RNFBDatabase.podspec` file: No such file or directory @ rb_sysopen - ../app/package.json - react native

I installed firebase like this in my react native project--> yarn add @react-native-firebase/database and then when I tried installing the pods based on the documentation with this command --> cd ios/ && pod install && cd .. I got the error…
5
votes
0 answers

Why do I get this error when I run Pod install "[!] An error occurred while processing the post-install hook of the Podfile."

[!] An error occurred while processing the post-install hook of the Podfile. [Xcodeproj] Consistency issue: no parent for object RNPlaceholder.swift: SourcesBuildPhase,…
deazyman
  • 61
  • 1
  • 3
4
votes
2 answers

Problem with Cocoa Pods: undefined method `map' for nil:NilClass

I'm running Cocoa Pods on a MacBook Air with M1, with the lastest Mac OS Version. My Problem: When I run pod install I get following Output (I delete a bit, because other ways it would be to long): undefined method `map' for nil:NilClass Full…
Boothosh81
  • 387
  • 1
  • 5
  • 24
3
votes
1 answer

Can't perform pod install on flutter project in apple m1 chip

I had recently made a flutter project and moved that project to my new mac mini with m1 chip. I have managed to install flutter, cocoapods,ffi etc but when i run pod install on the ios folder of my project it show this error, 46: from…
Ananthakrishna
  • 517
  • 5
  • 24
2
votes
1 answer

Pod error after adding audioplayer package to Flutter

I'm following a tutorial for Flutter, which uses the audioplayer package. Unfortunately, when I try to run the project after adding the package, it doesn't work anymore... I tried everything I found around, but nothing seems to work: I get errors…
SilviaB24
  • 73
  • 1
  • 5
1
2 3