Questions tagged [pod-install]
18 questions
292
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
- 4,799
- 2
- 24
- 37
271
votes
23 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
- 66,400
- 60
- 203
- 323
246
votes
20 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
- 4,902
- 3
- 22
- 33
231
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,357
- 3
- 17
- 28
19
votes
6 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
- 1,988
- 7
- 25
- 43
13
votes
7 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
- 491
- 1
- 10
- 36
7
votes
2 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…
Xaver Fleer
- 99
- 1
- 8
3
votes
4 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…
السنيدي محمد
- 31
- 1
- 3
2
votes
1 answer
CDN: trunk URL couldn't be downloaded:https://cdn.jsdelivr.net/cocoa/Specs/1/d/4/CocoaAsyncSocket/7.6.1/CocoaAsyncSocket.podspec.json
I tried pod install command and am getting this error.
% pod install
Analyzing dependencies
[!] CDN: trunk Repo update failed - 18 error(s):
CDN: trunk URL couldn't be downloaded:
…
Jeevitha
- 21
- 1
2
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…
cldev
- 169
- 1
- 7
2
votes
2 answers
pod install error: The name of the given podspec `Yoga` doesn't match the expected one `yoga`
I'm getting the following error while doing pod install.
The name of the given podspec `Yoga` doesn't match the expected one `yoga`
Inside the Podfile these are the only lines with the word yoga and they are in lowercase...so I don't know what's…
preston
- 2,211
- 5
- 20
- 46
1
vote
1 answer
How to generate Pods folder when adding onesignal-cordova-plugin in Ionic Cordova project?
I'm adding OneSignal to my Ionic Cordova project, and following this guide. In section 3.16 it mentions the Platforms -> ios -> Pods folder, but this Pods folder doesn't exist. I know that to create the Pods folder you have to run pod install, but…
gkeenley
- 2,920
- 1
- 18
- 45
1
vote
2 answers
pod install cdn_source.rb:342:in `download_file_async': undefined method `encode' for URI:Module
While trying to do "pod install" in react-native project , I am getting below error:
/Users/admin/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/cdn_source.rb:342:in download_file_async': undefined method…
AmalMenachery
- 21
- 4
0
votes
0 answers
React Native: How to install two different version of plugin that require `pod install`?
In my React Native app, I want to install two different versions of react-native-device-info in order to compare their outputs side-by-side. Normally I would just install version A, then move it to a folder outside of node_modules and reference it…
gkeenley
- 2,920
- 1
- 18
- 45
0
votes
0 answers
pod install error: The name of the given podspec 'file_picker' doesn't match the expected one 'gx_file_picker'
I'm getting the following error while doing pod install.
[!] The name of the given podspec 'file_picker' doesn't match the expected one 'gx_file_picker'
I have tried changing the name of the file in 'pubspec.yaml' from gx_file_picker to file_picker…
ayez1389
- 36
- 5