Reputation: 308
I have created an empty Swift project in Xcode. Then:
cd <project directory>
gem install cocoapods
pod init
pod install
Which gives the following error:
[!] ERROR: Parsing unable to continue due to parsing error: contained in the file located at /Users/<user>/.cocoapods/repos/master/CocoaPods-version.yml
I am aware of a similar issue in earlier versions of CocoaPods (<1.5), but I am using version 1.6. What might I be missing?
Upvotes: 0
Views: 627
Reputation: 29582
I suspect that the pod repo may be corrupted. Try rm -rf ~/.cocoapods
and retry.
There are some other possible solutions at pod install [!] ERROR: Parsing unable to continue due to parsing error:
Upvotes: 1