{"action":"created","issue":{"url":"https://api.github.com/repos/jcampbell05/cocoapods-deploy/issues/3","repository_url":"https://api.github.com/repos/jcampbell05/cocoapods-deploy","labels_url":"https://api.github.com/repos/jcampbell05/cocoapods-deploy/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jcampbell05/cocoapods-deploy/issues/3/comments","events_url":"https://api.github.com/repos/jcampbell05/cocoapods-deploy/issues/3/events","html_url":"https://github.com/jcampbell05/cocoapods-deploy/issues/3","id":139601267,"number":3,"title":"Can't install dependencies if `pod setup` has not been run","user":{"login":"petercv","id":353795,"avatar_url":"https://avatars.githubusercontent.com/u/353795?v=3","gravatar_id":"","url":"https://api.github.com/users/petercv","html_url":"https://github.com/petercv","followers_url":"https://api.github.com/users/petercv/followers","following_url":"https://api.github.com/users/petercv/following{/other_user}","gists_url":"https://api.github.com/users/petercv/gists{/gist_id}","starred_url":"https://api.github.com/users/petercv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercv/subscriptions","organizations_url":"https://api.github.com/users/petercv/orgs","repos_url":"https://api.github.com/users/petercv/repos","events_url":"https://api.github.com/users/petercv/events{/privacy}","received_events_url":"https://api.github.com/users/petercv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-09T15:01:45Z","updated_at":"2016-03-09T15:16:27Z","closed_at":null,"body":"So I'm trying to integrate cocoapods-deploy in our CI environment. The CI environment runs in a blank slate OS X VM which does not have any pod specs because `pod setup` has never been run.\r\n\r\nInitially the installing of the pods looks fine, but than I run into the error below. Maybe we should simply make sure the VM has an old spec repository even though it might not be used. But for CI environments it would be really helpful to not have the need to have the spec repository checked out locally.\r\n```\r\n- Deploying Pods\r\n- Deploying google-cast-sdk 2.10.1\r\nFetching podspec for `google-cast-sdk` from `https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/google-cast-sdk/2.10.1/google-cast-sdk.podspec.json`\r\n- Deploying google-cast-sdk/Assets 2.10.1\r\nFetching podspec for `google-cast-sdk` from `https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/google-cast-sdk/2.10.1/google-cast-sdk.podspec.json`\r\n- Deploying google-cast-sdk/Core 2.10.1\r\nFetching podspec for `google-cast-sdk` from `https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/google-cast-sdk/2.10.1/google-cast-sdk.podspec.json`\r\n- Deploying Google-Mobile-Ads-SDK 7.1.0\r\nFetching podspec for `Google-Mobile-Ads-SDK` from `https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/Google-Mobile-Ads-SDK/7.1.0/Google-Mobile-Ads-SDK.podspec.json`\r\n- Deploying GoogleAds-IMA-iOS-SDK-For-AdMob 3.0.beta.16\r\nFetching podspec for `GoogleAds-IMA-iOS-SDK-For-AdMob` from `https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/GoogleAds-IMA-iOS-SDK-For-AdMob/3.0.beta.16/GoogleAds-IMA-iOS-SDK-For-AdMob.podspec.json`\r\n- Deploying GoogleAnalytics-iOS-SDK 3.10\r\nFetching podspec for `GoogleAnalytics-iOS-SDK` from `https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/GoogleAnalytics-iOS-SDK/3.10/GoogleAnalytics-iOS-SDK.podspec.json`\r\n- Deploying GoogleAnalytics-iOS-SDK/Core 3.10\r\nFetching podspec for `GoogleAnalytics-iOS-SDK` from `https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/GoogleAnalytics-iOS-SDK/3.10/GoogleAnalytics-iOS-SDK.podspec.json`\r\nAnalyzing dependencies\r\nGoogleAnalytics-iOS-SDK/Core (= 3.10)\r\nGoogle-Mobile-Ads-SDK (~> 7.0)\r\ngoogle-cast-sdk/Core (= 2.10.1)\r\ngoogle-cast-sdk/Assets (= 2.10.1)\r\ngoogle-cast-sdk/Core\r\nGoogleAnalytics-iOS-SDK/Core (= 3.10)\r\nGoogle-Mobile-Ads-SDK (~> 7.0)\r\ngoogle-cast-sdk/Core (= 2.10.1)\r\ngoogle-cast-sdk/Assets (= 2.10.1)\r\ngoogle-cast-sdk/Core (= 2.10.1)\r\ngoogle-cast-sdk/Assets (= 2.10.1)\r\ngoogle-cast-sdk/Core\r\nDownloading dependencies\r\nInstalling Google-Mobile-Ads-SDK (7.1.0)\r\nInstalling GoogleAds-IMA-iOS-SDK-For-AdMob (3.0.beta.16)\r\nInstalling GoogleAnalytics-iOS-SDK (3.10)\r\nInstalling google-cast-sdk (2.10.1)\r\nGenerating Pods project\r\nIntegrating client project\r\n```\r\n\r\n### Command\r\n\r\n```\r\n/usr/local/bin/pod deploy\r\n```\r\n\r\n### Report\r\n\r\n* What did you do?\r\n\r\n* What did you expect to happen?\r\n\r\n* What happened instead?\r\n\r\n\r\n### Stack\r\n\r\n```\r\nCocoaPods : 0.39.0\r\nRuby : ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]\r\nRubyGems : 2.0.14\r\nHost : Mac OS X 10.11.3 (15D21)\r\nXcode : 7.2.1 (7C1002)\r\nGit : git version 2.5.4 (Apple Git-61)\r\nRuby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib\r\nRepositories :\r\n```\r\n\r\n### Plugins\r\n\r\n```\r\ncocoapods-deploy : 0.0.2\r\ncocoapods-plugins : 0.4.2\r\ncocoapods-search : 0.1.0\r\ncocoapods-stats : 0.6.2\r\ncocoapods-trunk : 0.6.4\r\ncocoapods-try : 0.5.1\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\nsource 'https://github.com/CocoaPods/Specs.git'\r\nxcodeproj 'Project/Project.xcodeproj'\r\nplatform :ios, '6.0'\r\npod 'Google-Mobile-Ads-SDK', '~> 7.1'\r\npod 'GoogleAnalytics-iOS-SDK', '~> 3.0'\r\n\r\n# To make sure ads play in the background. see: https://developers.google.com/interactive-media-ads/docs/sdks/ios/background_ad_playback\r\npod 'GoogleAds-IMA-iOS-SDK-For-AdMob', '~> 3.0.beta.13'\r\n\r\npod 'google-cast-sdk', '~> 2.10.1'\r\n```\r\n\r\n### Error\r\n\r\n```\r\nErrno::ENOENT - No such file or directory - /Users/user/.cocoapods/repos/master\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.39.0/lib/cocoapods-core/source.rb:41:in `chdir'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.39.0/lib/cocoapods-core/source.rb:41:in `url'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-stats-0.6.2/lib/cocoapods_plugin.rb:4:in `validates?'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-stats-0.6.2/lib/cocoapods_plugin.rb:25:in `block in <module:CocoaPodsStats>'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/hooks_manager.rb:117:in `call'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/hooks_manager.rb:117:in `block (3 levels) in run'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface.rb:140:in `message'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/hooks_manager.rb:111:in `block (2 levels) in run'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/hooks_manager.rb:109:in `each'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/hooks_manager.rb:109:in `block in run'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface.rb:140:in `message'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/hooks_manager.rb:108:in `run'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb:481:in `run_plugins_post_install_hooks'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb:462:in `perform_post_install_actions'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb:113:in `install!'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-deploy-0.0.2/lib/cocoapods-deploy/command/deploy.rb:160:in `run_install_with_update'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-deploy-0.0.2/lib/cocoapods-deploy/command/deploy.rb:148:in `run'\r\n/Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:312:in `run'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command.rb:47:in `run'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/bin/pod:44:in `<top (required)>'\r\n/usr/local/bin/pod:23:in `load'\r\n/usr/local/bin/pod:23:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/jcampbell05/cocoapods-deploy/issues/comments/194339357","html_url":"https://github.com/jcampbell05/cocoapods-deploy/issues/3#issuecomment-194339357","issue_url":"https://api.github.com/repos/jcampbell05/cocoapods-deploy/issues/3","id":194339357,"user":{"login":"jcampbell05","id":1484989,"avatar_url":"https://avatars.githubusercontent.com/u/1484989?v=3","gravatar_id":"","url":"https://api.github.com/users/jcampbell05","html_url":"https://github.com/jcampbell05","followers_url":"https://api.github.com/users/jcampbell05/followers","following_url":"https://api.github.com/users/jcampbell05/following{/other_user}","gists_url":"https://api.github.com/users/jcampbell05/gists{/gist_id}","starred_url":"https://api.github.com/users/jcampbell05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcampbell05/subscriptions","organizations_url":"https://api.github.com/users/jcampbell05/orgs","repos_url":"https://api.github.com/users/jcampbell05/repos","events_url":"https://api.github.com/users/jcampbell05/events{/privacy}","received_events_url":"https://api.github.com/users/jcampbell05/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T15:16:27Z","updated_at":"2016-03-09T15:16:27Z","body":"I'll have a look into this.\r\n\r\nWe use this in our Travis CI so it uses a clean VM each run, so the idea with this plugin is you shouldn't need that repository at all, only a `Podfile` and a `Podfile.lock`. "}}