Error in installing pods with pod install - ios

got an error in installing pods while doing pod install. I have tried cleaning, deintegrating and reinstalling pods.
i also cleaned the project many times but got no positive results.
[!] The plist file at path `path` doesn't exist.

in most of the case it happen because there is some problem in cocoapod library or cocoapod library is not installed so try below code in terminal and install cocoapod
may it will work
sudo gem uninstall cocoapods

Verify that you have moved to the correct folder where the pod file is located

Related

Framework not found GoogleAppMeasurement for Firebase/AnalyticsWithoutAdIdSupport

I have this error on Xcode.
I know this question has already been asked several times but I have tried everything.
sudo gem install cocoapods -n/usr/local/bin
pod deintegrate
pod clean
pod install --repo-update
Clean DerivedData and my project isn't on iCloud.
Please help me.
After pod deintegrate, remove GoogleAppMeasurement.framework from the Build Settings.
It should not be linked when GoogleAppMeasurementWithoutAdIDSupport is used

How to setup cocoapods?

I installed cocoapods for an iOS project, but when I wrote this command pod setup --verbose nothing happened, so I tried some other code but it got worse, and now when I setup cocoapods I get this error:
/Library/Ruby/Site/2.3.0/rubygems.rb:275:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)
from /Library/Ruby/Site/2.3.0/rubygems.rb:252:in `bin_path'
from /usr/local/bin/pod:22:in `<main>'
I don't know what happened, but the usual procedure of installing Cocoapods and setting it up is as follows:
Installing Cocoapods
Open Terminal
Type sudo gem install cocoapods
Type your password and wait for it to finish
Initializing Xcode project for Cocoapods
In terminal, switch to your project's directory using the cd command
Type pod init. This will add a Podfile to your project, which you can open and add the pods you want.
Type pod install. This will also generate a .xcworkspace file along with your .xcodeproj file, and you should always use the former from now on.
With your situation where it seems like pod was either not installed or not installed properly, I suggest you try sudo gem uninstall cocoapods first to remove everything that might be present, then follow the steps above. Also, if that fails, please check that you have the lastest version of Ruby installed.

how to install speacific podfile in ios with out touching other podfiles

I want to install specific dependency using cocoapods. if I execute pod install, other dependencies are updating before installing my newly added dependency. I just want to install specific pod without touching other dependencies. And I know deleting, updating any dependency also updates others. Is there any way to solve this problem?
Actually my problem is when I myself modify some dependency and run pod install it reverts back to its original version. But I don't want to lose my changes
Any suggestion will be appreciated.
Make sure that Podfile.lock is in the same folder as Podfile is.
Add a line in the Podfile
pod 'MBProgressHUD','~> 0.9'
cd to your project and use the following line in the Terminal, it'll install just the above pod you specified.
pod install podName
From official website here's the link!
Running pod install will install the current version of RestKit, causing a Podfile.lock to be generated that indicates the exact version installed (e.g. RestKit 0.10.3). Thanks to the Podfile.lock, running pod install on this hypothetical project at a later point in time on a different machine will still install RestKit 0.10.3 even if a newer version is available. CocoaPods will honour the Pod version in Podfile.lock unless the dependency is updated in the Podfile or pod update is called (which will cause a new Podfile.lock to be generated). In this way CocoaPods avoids headaches caused by unexpected changes to dependencies.

Installing Realm via CocoaPods

I am trying to install Realm (Objective C) via Cocoapods.
However I keep getting the following error:
Pods/Realm/Realm/module.modulemap:1:18: Redefinition of module 'Realm'
Has anyone faced this problem?
I've tried downloading their CocoapodsExample project but I get the same error.
This is a known issue with CocoaPods 0.38.1, being tracked at https://github.com/CocoaPods/CocoaPods/issues/3886. In the meantime, you can gem install cocoapods -v 0.38.0 and run pod _0.38.0_ install to use CocoaPods 0.38.0, which does not have this issue.
This should now be fixed in CocoaPods 0.38.2.

How to add pod 0.3.3

I have downloaded a PNChart which is present in the given link
https://github.com/kevinzhow/PNChart/blob/master/README.md
To Run the project i need to follow these requirements
CocoaPods is the recommended way to add PNChart to your project.
Add a pod entry for PNChart to your Podfile pod 'PNChart', '~> 0.5'
Install the pod(s) by running pod install.
Include PNChart wherever you need it with #import "PNChart.h".
without installing them i get these errors. and I dont know how to add these to the project can someone guide me the process and explain what all these are ? and why i have to add these ? I get the below errors when i run the downloaded project from GitHub . I have no knowledge in mac and Terminal
Seems that you don't have the cocoapods installed. You need it to run the Pod Install command.
Open your terminal, run:
gem install cocoapods
Then, go to your project directory in terminal, you can use the "cd" command to do it.
When you are in your project's folder, run pod install.

Resources