RAGHUNATH
RAGHUNATH

Reputation: 187

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.

Upvotes: 5

Views: 7409

Answers (1)

technerd
technerd

Reputation: 14504

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.

Upvotes: 11

Related Questions