You shouldn’t use TextEdit to edit the pod file because TextEdit likes
to replace standard quotes with more graphically appealing quotes.
This can cause CocoaPods to get confused and display errors, so it’s
best to just use Xcode or another programming text editor.
TextEdit:
Using TextEdit will give you following,
pod ‘Parse’, ‘~> 1.7.1′ //notice the quotes
To turn off smart quotes in TextEdit, goto
TextEdit > Preferences > New Document > Options
Xcode:
To get the correct quotes you should use Xcode when opening Podfie:
pod 'Parse', '~> 1.7.1'
Terminal Commands to open using Xcode app:
$ touch Podfile //OR $ cd <parentDirectory of Podfile>
$ open -a Xcode Podfile