How to resolve Pod installation error?

While I install Pod. He shows such an error. How to solve this?

Smart quotes have been processed in your subfile. To avoid problems in the future you should not use TextEdit to edit it. If you are not using TextEdit, you must turn off the smart quotes in the selected editor.

I found a solution like this:

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

If I put it that way, it shows an error:

The "subfile" cannot be opened because it is from an unidentified developer.

+5
source share
1 answer

Change your subfile in Xcode.

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

When you use TextEdit to edit a Pod file,

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

Open a subfile using Xcode.

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

Remove Podfile.lock from the folder.

Close the Xcode project.

Run pod install .

Open the ProjectName.xcworkspace file.

+11
source

Source: https://habr.com/ru/post/1241195/