Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve the Pod install error?

While I install the Pod. It shows the error like this. How to solve this?

Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.

I found a solution like this:

$ cd <parentDirectory of Podfile>
$ open -a Xcode Podfile`

If I put it like this, it shows the error:

“Podfile” can’t be opened because it is from an unidentified developer.

like image 264
RAGHUNATH Avatar asked Jan 22 '16 05:01

RAGHUNATH


1 Answers

Please edit your Podfile in Xcode.

Open your Podfile in Xcode. Edit it. Save it.

When you use TextEdit for Pod file editing

pod ‘Fabric’, ‘~> 1.7.1′    //notice the quotes

Open Podfile with Xcode.

pod 'Fabric', '~> 1.7.1'  //notice the quotes

Remove Podfile.lock from folder.

Close Xcode Project.

Perform pod install.

Open ProjectName.xcworkspace file.

like image 101
technerd Avatar answered Sep 21 '22 04:09

technerd