Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Podfile parsing error #73

Closed
cojoj opened this issue Jul 20, 2015 · 5 comments
Closed

Podfile parsing error #73

cojoj opened this issue Jul 20, 2015 · 5 comments

Comments

@cojoj
Copy link
Contributor

cojoj commented Jul 20, 2015

I've pulled new things from repo and wanted to call pod install and there's some kind of parsing error. I haven't investigated it yet but here's the output, so feel free to have a look:

[!] ERROR: Parsing unable to continue due to parsing error:
contained in the file located at /Users/cojoj/Developer/XcodeServerSDK/Podfile.lock
PODS:
  - BuildaUtils (0.0.4)
  - DVR (0.0.2-czechboy0)

DEPENDENCIES:
  - BuildaUtils (= 0.0.4)
  - DVR (from `https://github.com/czechboy0/DVR.git`, tag `v0.0.2-czechboy0`)

EXTERNAL SOURCES:
  DVR:
    :git: https://github.com/czechboy0/DVR.git
    :tag: v0.0.2-czechboy0

CHECKOUT OPTIONS:
  DVR:
    :git: https://github.com/czechboy0/DVR.git
    :tag: v0.0.2-czechboy0

SPEC CHECKSUMS:
  BuildaUtils: 88917cac8b0248c792c8d0ff269b24870d36903f
  DVR: c252cd3f4a88f6a3a49f0d66305335951a0aa133

COCOAPODS: 0.38.0.beta.2
@cojoj
Copy link
Contributor Author

cojoj commented Jul 20, 2015

Looks like some guys faced same issue and I found this: CocoaPods/CocoaPods#3597 (comment)

@czechboy0
Copy link
Member

Weird. Just to sync up, I'm on CocoaPods 0.38.0 (the recent release).

I tried deleting the whole Pods folder and Podfile.lock and running pod install again and everything worked fine. Have you tried that?

@cojoj
Copy link
Contributor Author

cojoj commented Jul 20, 2015

Okey, no problem with Podfile.lock but with gems on my machine 😬

If anyone ever face the same issue, first check psych gem... It's responsible for parsing yml's used in Podfile.lock and if you install the wrong version - oh boy, you're f****ed!

Hot fix

sudo gem uninstall psych
sudo gem install psych -v 2.0.5

@czechboy0
Copy link
Member

👍 Glad you got it working.

@hanksudo
Copy link

@cojoj install 2.0.5 of psych also resolve my problem, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants