{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3747","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3747/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3747/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3747/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3747","id":91494902,"number":3747,"title":"Generating Pods project -> [!] An error occurred while processing the post-install hook of the Podfile.","user":{"login":"intelliot","id":81505,"avatar_url":"https://avatars.githubusercontent.com/u/81505?v=3","gravatar_id":"","url":"https://api.github.com/users/intelliot","html_url":"https://github.com/intelliot","followers_url":"https://api.github.com/users/intelliot/followers","following_url":"https://api.github.com/users/intelliot/following{/other_user}","gists_url":"https://api.github.com/users/intelliot/gists{/gist_id}","starred_url":"https://api.github.com/users/intelliot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelliot/subscriptions","organizations_url":"https://api.github.com/users/intelliot/orgs","repos_url":"https://api.github.com/users/intelliot/repos","events_url":"https://api.github.com/users/intelliot/events{/privacy}","received_events_url":"https://api.github.com/users/intelliot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-06-27T17:40:41Z","updated_at":"2015-07-21T13:14:39Z","closed_at":"2015-06-27T18:05:09Z","body":"```\r\n% pod --version\r\n0.38.0.beta.1\r\n\r\n% pod install\r\nUpdating local specs repositories\r\nAnalyzing dependencies\r\n…\r\nDownloading dependencies\r\nUsing AFNetworking (2.5.3)\r\n…\r\nUsing iOS-Slide-Menu (1.4.6)\r\nGenerating Pods project\r\n[!] An error occurred while processing the post-install hook of the Podfile.\r\n\r\nundefined method `project' for #<Pod::Installer:0x007f9be5906fe0>\r\n\r\n…/Podfile:73:in `block (2 levels) in from_ruby'\r\n…/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-core-0.38.0.beta.1/lib/cocoapods-core/podfile.rb:170:in `call'\r\n…/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-core-0.38.0.beta.1/lib/cocoapods-core/podfile.rb:170:in `post_install!'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/lib/cocoapods/installer.rb:732:in `run_podfile_post_install_hook'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/lib/cocoapods/installer.rb:720:in `block in run_podfile_post_install_hooks'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/lib/cocoapods/user_interface.rb:140:in `message'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/lib/cocoapods/installer.rb:719:in `run_podfile_post_install_hooks'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/lib/cocoapods/installer.rb:146:in `block in generate_pods_project'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/lib/cocoapods/user_interface.rb:59:in `section'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/lib/cocoapods/installer.rb:141:in `generate_pods_project'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/lib/cocoapods/installer.rb:101:in `install!'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/lib/cocoapods/command/project.rb:71:in `run_install_with_update'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/lib/cocoapods/command/project.rb:101:in `run'\r\n…/.rvm/gems/ruby-2.1.1@global/gems/claide-0.8.2/lib/claide/command.rb:312:in `run'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/lib/cocoapods/command.rb:48:in `run'\r\n…/.rvm/gems/ruby-2.1.1@my-project/gems/cocoapods-0.38.0.beta.1/bin/pod:44:in `<top (required)>'\r\n…/.rvm/gems/ruby-2.1.1@my-project/bin/pod:23:in `load'\r\n…/.rvm/gems/ruby-2.1.1@my-project/bin/pod:23:in `<main>'\r\n…/.rvm/gems/ruby-2.1.1@my-project/bin/ruby_executable_hooks:15:in `eval'\r\n…/.rvm/gems/ruby-2.1.1@my-project/bin/ruby_executable_hooks:15:in `<main>'\r\n```\r\n\r\nWith the stable version of cocoapods, I get a different error:\r\n```\r\n % pod install\r\nAnalyzing dependencies\r\n\r\nCocoaPods 0.38.0.beta.1 is available.\r\nTo update use: `sudo gem install cocoapods --pre`\r\n[!] This is a test version we'd love you to try.\r\n\r\nFor more information see http://blog.cocoapods.org\r\nand the CHANGELOG for this version http://git.io/BaH8pQ.\r\n\r\n…\r\nDownloading dependencies\r\nUsing AFNetworking (2.5.3)\r\n…\r\nUsing iOS-Slide-Menu (1.4.6)\r\nGenerating Pods project\r\n2015-06-27 10:24:39.290 ruby[61361:5915470] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8123.33/IDEFoundation/Initialization/IDEInitialization.m:590\r\nDetails:  Assertion failed: _initializationCompletedSuccessfully\r\nFunction: BOOL IDEIsInitializedForUserInteraction()\r\nThread:   <NSThread: 0x7fe48b6d3010>{number = 1, name = main}\r\nHints: None\r\nBacktrace:\r\n  0  0x000000010ad6f047 -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)\r\n  1  0x000000010ad6e7d4 _DVTAssertionHandler (in DVTFoundation)\r\n  2  0x000000010ad6ea40 _DVTAssertionFailureHandler (in DVTFoundation)\r\n  3  0x000000010ad6e9a2 _DVTAssertionFailureHandler (in DVTFoundation)\r\n  4  0x000000010c1481a9 IDEIsInitializedForUserInteraction (in IDEFoundation)\r\n  5  0x00000001100b7a5d +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)\r\n  6  0x00000001100b95e2 +[PBXProject projectWithFile:errorHandler:] (in DevToolsCore)\r\n  7  0x00007fff9491cf44 ffi_call_unix64 (in libffi.dylib)\r\nzsh: abort      pod install\r\n```"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/123300896","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3747#issuecomment-123300896","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3747","id":123300896,"user":{"login":"siuying","id":8608,"avatar_url":"https://avatars.githubusercontent.com/u/8608?v=3","gravatar_id":"","url":"https://api.github.com/users/siuying","html_url":"https://github.com/siuying","followers_url":"https://api.github.com/users/siuying/followers","following_url":"https://api.github.com/users/siuying/following{/other_user}","gists_url":"https://api.github.com/users/siuying/gists{/gist_id}","starred_url":"https://api.github.com/users/siuying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siuying/subscriptions","organizations_url":"https://api.github.com/users/siuying/orgs","repos_url":"https://api.github.com/users/siuying/repos","events_url":"https://api.github.com/users/siuying/events{/privacy}","received_events_url":"https://api.github.com/users/siuying/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T13:14:39Z","updated_at":"2015-07-21T13:14:39Z","body":"@stevelaw the issue is tracked at https://github.com/CocoaPods/Xcodeproj/issues/286, I'm currently pinned at older version"}}