Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Unable to install pods #103

Closed
belkevich opened this issue Aug 28, 2015 · 2 comments · Fixed by #113
Closed

Unable to install pods #103

belkevich opened this issue Aug 28, 2015 · 2 comments · Fixed by #113

Comments

@belkevich
Copy link

Hi!

pod install crashes (see log below) and I unable to build example project.
Cocoapods version 0.38.2

[!] An error occurred while processing the post-install hook of the Podfile.

undefined local variable or method `config' for #<Pod::Podfile:0x007f8a6b0673e8>

/Users/alex/Projects/other/Classy/Podfile:27:in `block (2 levels) in from_ruby'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.38.2/lib/cocoapods-core/podfile.rb:170:in `call'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.38.2/lib/cocoapods-core/podfile.rb:170:in `post_install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:764:in `run_podfile_post_install_hook'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:752:in `block in run_podfile_post_install_hooks'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/user_interface.rb:140:in `message'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:751:in `run_podfile_post_install_hooks'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:155:in `block in generate_pods_project'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/user_interface.rb:59:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:150:in `generate_pods_project'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:110:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:71:in `run_install_with_update'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:101:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:312:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command.rb:48:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/bin/pod:44:in `<top (required)>'
/usr/bin/pod:23:in `load'
/usr/bin/pod:23:in `<main>'
@seven77770
Copy link

yeah! same problem!
update cocopod to 0.39.0 still the same.

@jonah-williams
Copy link

Looks like the post-install hook Classy relies on has been deprecated since https://github.com/CocoaPods/CocoaPods/blob/master/CHANGELOG.md#0230rc1-2013-08-02

While the hook hasn't been removed yet perhaps there's an alternative way to configure gcov so that consumers of the pod do not run into build errors as cocoapods internals change?

If it helps anyone here, these Podfile changes allowed me to run under Cocoapods 0.38.2: master...goodeggs:ef258fac27cb4e6d596cb11acc1bc1d2510ed5a2#diff-4a25b996826623c4a3a4910f47f10c30

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants