{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/11962","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/11962/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/11962/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/11962/events","html_url":"https://github.com/fastlane/fastlane/issues/11962","id":301467107,"number":11962,"title":"Add 'gem \"cocoapods\"' to your Gemfile and restart fastlane","user":{"login":"ppamorim","id":5521682,"avatar_url":"https://avatars2.githubusercontent.com/u/5521682?v=4","gravatar_id":"","url":"https://api.github.com/users/ppamorim","html_url":"https://github.com/ppamorim","followers_url":"https://api.github.com/users/ppamorim/followers","following_url":"https://api.github.com/users/ppamorim/following{/other_user}","gists_url":"https://api.github.com/users/ppamorim/gists{/gist_id}","starred_url":"https://api.github.com/users/ppamorim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppamorim/subscriptions","organizations_url":"https://api.github.com/users/ppamorim/orgs","repos_url":"https://api.github.com/users/ppamorim/repos","events_url":"https://api.github.com/users/ppamorim/events{/privacy}","received_events_url":"https://api.github.com/users/ppamorim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-01T16:20:01Z","updated_at":"2018-03-01T19:17:59Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for helping _fastlane_! Before you submit your issue, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->\r\n\r\n### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n- [x] I read [docs.fastlane.tools](https://docs.fastlane.tools)\r\n- [x] I searched for [existing GitHub issues](https://github.com/fastlane/fastlane/issues)\r\n\r\n### Issue Description\r\n\r\nI am getting error during build for iOS using cocoapods, even on a fresh install this problem  happens.\r\nThe error result returns `Add 'gem \"cocoapods\"' to your Gemfile and restart fastlane`.\r\nShould I add `gem \"cocoapods\"` on my Gemfile? I never did this and I have been using this script/config for more than a year, why I should do it? Could this create any problem?\r\n\r\nThese don't solve: https://github.com/fastlane/fastlane/issues/8904 and https://github.com/fastlane/fastlane/issues/10239\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n<!-- You can use: `--capture_output` as the last commandline argument to get that collected for you -->\r\n\r\n<!-- The output of `--capture_output` could contain sensitive data such as application ids, certificate ids, or email addreses, Please make sure you double check the output and replace anything sensitive you don't wish to submit in the issue -->\r\n\r\n<details>\r\n  <pre>\r\n: -----------------------------------\r\n: --- Step: clean_cocoapods_cache ---\r\n: -----------------------------------\r\n: Missing gem 'cocoapods', please add the following to your local Gemfile:\r\n: \r\n: ▸ gem \"cocoapods\"\r\n: \r\n+-----------------------------+--------+\r\n|             Lane Context             |\r\n+-----------------------------+--------+\r\n| DEFAULT_PLATFORM            | ios    |\r\n| PLATFORM_NAME               |        |\r\n| LANE_NAME                   | test   |\r\n| GIT_REPO_WAS_CLEAN_ON_START | true   |\r\n+-----------------------------+--------+\r\n: Add 'gem \"cocoapods\"' to your Gemfile and restart fastlane\r\n</pre>\r\nGemfile\r\n<pre>\r\n# Autogenerated by fastlane\r\n#\r\n# Ensure this file is checked in to source control!\r\n\r\nsource \"https://rubygems.org\"\r\n\r\ngem 'fastlane'\r\ngem 'cocoapods' //Adding this seems to solve the problem, but sounds incorrect.\r\n\r\nplugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')\r\neval_gemfile(plugins_path) if File.exist?(plugins_path)\r\n\r\n</pre>\r\nGemfile.lock\r\n<pre>\r\nGEM\r\n  remote: https://rubygems.org/\r\n  specs:\r\n    CFPropertyList (2.3.6)\r\n    activesupport (4.2.10)\r\n      i18n (~> 0.7)\r\n      minitest (~> 5.1)\r\n      thread_safe (~> 0.3, >= 0.3.4)\r\n      tzinfo (~> 1.1)\r\n    addressable (2.5.2)\r\n      public_suffix (>= 2.0.2, < 4.0)\r\n    atomos (0.1.2)\r\n    babosa (1.0.2)\r\n    claide (1.0.2)\r\n    cocoapods (1.4.0)\r\n      activesupport (>= 4.0.2, < 5)\r\n      claide (>= 1.0.2, < 2.0)\r\n      cocoapods-core (= 1.4.0)\r\n      cocoapods-deintegrate (>= 1.0.2, < 2.0)\r\n      cocoapods-downloader (>= 1.1.3, < 2.0)\r\n      cocoapods-plugins (>= 1.0.0, < 2.0)\r\n      cocoapods-search (>= 1.0.0, < 2.0)\r\n      cocoapods-stats (>= 1.0.0, < 2.0)\r\n      cocoapods-trunk (>= 1.3.0, < 2.0)\r\n      cocoapods-try (>= 1.1.0, < 2.0)\r\n      colored2 (~> 3.1)\r\n      escape (~> 0.0.4)\r\n      fourflusher (~> 2.0.1)\r\n      gh_inspector (~> 1.0)\r\n      molinillo (~> 0.6.4)\r\n      nap (~> 1.0)\r\n      ruby-macho (~> 1.1)\r\n      xcodeproj (>= 1.5.4, < 2.0)\r\n    cocoapods-core (1.4.0)\r\n      activesupport (>= 4.0.2, < 6)\r\n      fuzzy_match (~> 2.0.4)\r\n      nap (~> 1.0)\r\n    cocoapods-deintegrate (1.0.2)\r\n    cocoapods-downloader (1.1.3)\r\n    cocoapods-plugins (1.0.0)\r\n      nap\r\n    cocoapods-search (1.0.0)\r\n    cocoapods-stats (1.0.0)\r\n    cocoapods-trunk (1.3.0)\r\n      nap (>= 0.8, < 2.0)\r\n      netrc (~> 0.11)\r\n    cocoapods-try (1.1.0)\r\n    colored (1.2)\r\n    colored2 (3.1.2)\r\n    commander-fastlane (4.4.6)\r\n      highline (~> 1.7.2)\r\n    concurrent-ruby (1.0.5)\r\n    declarative (0.0.10)\r\n    declarative-option (0.1.0)\r\n    domain_name (0.5.20170404)\r\n      unf (>= 0.0.5, < 1.0.0)\r\n    dotenv (2.2.1)\r\n    escape (0.0.4)\r\n    excon (0.60.0)\r\n    faraday (0.14.0)\r\n      multipart-post (>= 1.2, < 3)\r\n    faraday-cookie_jar (0.0.6)\r\n      faraday (>= 0.7.4)\r\n      http-cookie (~> 1.0.0)\r\n    faraday_middleware (0.12.2)\r\n      faraday (>= 0.7.4, < 1.0)\r\n    fastimage (2.1.1)\r\n    fastlane (2.83.0)\r\n      CFPropertyList (>= 2.3, < 4.0.0)\r\n      addressable (>= 2.3, < 3.0.0)\r\n      babosa (>= 1.0.2, < 2.0.0)\r\n      bundler (>= 1.12.0, < 2.0.0)\r\n      colored\r\n      commander-fastlane (>= 4.4.6, < 5.0.0)\r\n      dotenv (>= 2.1.1, < 3.0.0)\r\n      excon (>= 0.45.0, < 1.0.0)\r\n      faraday (~> 0.9)\r\n      faraday-cookie_jar (~> 0.0.6)\r\n      faraday_middleware (~> 0.9)\r\n      fastimage (>= 2.1.0, < 3.0.0)\r\n      gh_inspector (>= 1.1.2, < 2.0.0)\r\n      google-api-client (>= 0.13.1, < 0.14.0)\r\n      highline (>= 1.7.2, < 2.0.0)\r\n      json (< 3.0.0)\r\n      mini_magick (~> 4.5.1)\r\n      multi_json\r\n      multi_xml (~> 0.5)\r\n      multipart-post (~> 2.0.0)\r\n      plist (>= 3.1.0, < 4.0.0)\r\n      public_suffix (~> 2.0.0)\r\n      rubyzip (>= 1.1.0, < 2.0.0)\r\n      security (= 0.1.3)\r\n      slack-notifier (>= 2.0.0, < 3.0.0)\r\n      terminal-notifier (>= 1.6.2, < 2.0.0)\r\n      terminal-table (>= 1.4.5, < 2.0.0)\r\n      tty-screen (>= 0.6.3, < 1.0.0)\r\n      tty-spinner (>= 0.8.0, < 1.0.0)\r\n      word_wrap (~> 1.0.0)\r\n      xcodeproj (>= 1.5.2, < 2.0.0)\r\n      xcpretty (>= 0.2.4, < 1.0.0)\r\n      xcpretty-travis-formatter (>= 0.0.3)\r\n    fastlane-plugin-versioning (0.3.4)\r\n    fourflusher (2.0.1)\r\n    fuzzy_match (2.0.4)\r\n    gh_inspector (1.1.2)\r\n    google-api-client (0.13.6)\r\n      addressable (~> 2.5, >= 2.5.1)\r\n      googleauth (~> 0.5)\r\n      httpclient (>= 2.8.1, < 3.0)\r\n      mime-types (~> 3.0)\r\n      representable (~> 3.0)\r\n      retriable (>= 2.0, < 4.0)\r\n    googleauth (0.6.2)\r\n      faraday (~> 0.12)\r\n      jwt (>= 1.4, < 3.0)\r\n      logging (~> 2.0)\r\n      memoist (~> 0.12)\r\n      multi_json (~> 1.11)\r\n      os (~> 0.9)\r\n      signet (~> 0.7)\r\n    highline (1.7.10)\r\n    http-cookie (1.0.3)\r\n      domain_name (~> 0.5)\r\n    httpclient (2.8.3)\r\n    i18n (0.9.5)\r\n      concurrent-ruby (~> 1.0)\r\n    json (2.1.0)\r\n    jwt (2.1.0)\r\n    little-plugger (1.1.4)\r\n    logging (2.2.2)\r\n      little-plugger (~> 1.1)\r\n      multi_json (~> 1.10)\r\n    memoist (0.16.0)\r\n    mime-types (3.1)\r\n      mime-types-data (~> 3.2015)\r\n    mime-types-data (3.2016.0521)\r\n    mini_magick (4.5.1)\r\n    minitest (5.10.1)\r\n    molinillo (0.6.4)\r\n    multi_json (1.13.1)\r\n    multi_xml (0.6.0)\r\n    multipart-post (2.0.0)\r\n    nanaimo (0.2.3)\r\n    nap (1.1.0)\r\n    netrc (0.11.0)\r\n    os (0.9.6)\r\n    plist (3.4.0)\r\n    public_suffix (2.0.5)\r\n    representable (3.0.4)\r\n      declarative (< 0.1.0)\r\n      declarative-option (< 0.2.0)\r\n      uber (< 0.2.0)\r\n    retriable (3.1.1)\r\n    rouge (2.0.7)\r\n    ruby-macho (1.1.0)\r\n    rubyzip (1.2.1)\r\n    security (0.1.3)\r\n    signet (0.8.1)\r\n      addressable (~> 2.3)\r\n      faraday (~> 0.9)\r\n      jwt (>= 1.5, < 3.0)\r\n      multi_json (~> 1.10)\r\n    slack-notifier (2.3.2)\r\n    terminal-notifier (1.8.0)\r\n    terminal-table (1.8.0)\r\n      unicode-display_width (~> 1.1, >= 1.1.1)\r\n    thread_safe (0.3.6)\r\n    tty-cursor (0.5.0)\r\n    tty-screen (0.6.4)\r\n    tty-spinner (0.8.0)\r\n      tty-cursor (>= 0.5.0)\r\n    tzinfo (1.2.5)\r\n      thread_safe (~> 0.1)\r\n    uber (0.1.0)\r\n    unf (0.1.4)\r\n      unf_ext\r\n    unf_ext (0.0.7.5)\r\n    unicode-display_width (1.3.0)\r\n    word_wrap (1.0.0)\r\n    xcodeproj (1.5.6)\r\n      CFPropertyList (~> 2.3.3)\r\n      atomos (~> 0.1.2)\r\n      claide (>= 1.0.2, < 2.0)\r\n      colored2 (~> 3.1)\r\n      nanaimo (~> 0.2.3)\r\n    xcpretty (0.2.8)\r\n      rouge (~> 2.0.7)\r\n    xcpretty-travis-formatter (1.0.0)\r\n      xcpretty (~> 0.2, >= 0.0.7)\r\n\r\nPLATFORMS\r\n  ruby\r\n\r\nDEPENDENCIES\r\n  cocoapods\r\n  fastlane\r\n  fastlane-plugin-versioning\r\n\r\nBUNDLED WITH\r\n   1.16.1\r\n\r\n</pre>\r\n</details>\r\n\r\n### Environment\r\n\r\n<details><summary>✅ fastlane environment ✅</summary>\r\n\r\n### Stack\r\n\r\n| Key                         | Value                                       |\r\n| --------------------------- | ------------------------------------------- |\r\n| OS                          | 10.13.2                                     |\r\n| Ruby                        | 2.4.1                                       |\r\n| Bundler?                    | true                                        |\r\n| Git                         | git version 2.14.3 (Apple Git-98)           |\r\n| Installation Source         | ~/.rvm/gems/ruby-2.4.1/bin/fastlane         |\r\n| Host                        | Mac OS X 10.13.2 (17C88)                    |\r\n| Ruby Lib Dir                | ~/.rvm/rubies/ruby-2.4.1/lib                |\r\n| OpenSSL Version             | OpenSSL 1.1.0g  2 Nov 2017                  |\r\n| Is contained                | false                                       |\r\n| Is homebrew                 | false                                       |\r\n| Is installed via Fabric.app | false                                       |\r\n| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/ |\r\n| Xcode Version               | 9.2                                         |\r\n\r\n\r\n### System Locale\r\n\r\n| Variable | Value       |   |\r\n| -------- | ----------- | - |\r\n| LANG     | en_IE.UTF-8 | ✅ |\r\n| LC_ALL   |             |   |\r\n| LANGUAGE |             |   |\r\n\r\n\r\n### fastlane files:\r\n\r\n<details><summary>`./fastlane/Fastfile`</summary>\r\nPrivate...\r\n</details>\r\n\r\n<details><summary>`./fastlane/Appfile`</summary>\r\nPrivate...\r\n</details>\r\n\r\n### fastlane gems\r\n\r\n| Gem      | Version | Update-Status |\r\n| -------- | ------- | ------------- |\r\n| fastlane | 2.83.0  | ✅ Up-To-Date  |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n| Plugin                     | Version | Update-Status |\r\n| -------------------------- | ------- | ------------- |\r\n| fastlane-plugin-versioning | 0.3.4   | ✅ Up-To-Date  |\r\n\r\n\r\n<details><summary><b>Loaded gems</b></summary>\r\n\r\n| Gem                        | Version      |\r\n| -------------------------- | ------------ |\r\n| did_you_mean               | 1.1.0        |\r\n| executable-hooks           | 1.4.2        |\r\n| bundler-unload             | 1.0.2        |\r\n| rubygems-bundler           | 1.4.4        |\r\n| bundler                    | 1.16.1       |\r\n| io-console                 | 0.4.6        |\r\n| CFPropertyList             | 2.3.6        |\r\n| public_suffix              | 2.0.5        |\r\n| addressable                | 2.5.2        |\r\n| atomos                     | 0.1.2        |\r\n| babosa                     | 1.0.2        |\r\n| claide                     | 1.0.2        |\r\n| colored                    | 1.2          |\r\n| colored2                   | 3.1.2        |\r\n| highline                   | 1.7.10       |\r\n| commander-fastlane         | 4.4.6        |\r\n| declarative                | 0.0.10       |\r\n| declarative-option         | 0.1.0        |\r\n| unf_ext                    | 0.0.7.5      |\r\n| unf                        | 0.1.4        |\r\n| domain_name                | 0.5.20170404 |\r\n| dotenv                     | 2.2.1        |\r\n| excon                      | 0.60.0       |\r\n| multipart-post             | 2.0.0        |\r\n| faraday                    | 0.14.0       |\r\n| http-cookie                | 1.0.3        |\r\n| faraday-cookie_jar         | 0.0.6        |\r\n| faraday_middleware         | 0.12.2       |\r\n| fastimage                  | 2.1.1        |\r\n| gh_inspector               | 1.1.2        |\r\n| jwt                        | 2.1.0        |\r\n| little-plugger             | 1.1.4        |\r\n| multi_json                 | 1.13.1       |\r\n| logging                    | 2.2.2        |\r\n| memoist                    | 0.16.0       |\r\n| os                         | 0.9.6        |\r\n| signet                     | 0.8.1        |\r\n| googleauth                 | 0.6.2        |\r\n| httpclient                 | 2.8.3        |\r\n| mime-types-data            | 3.2016.0521  |\r\n| mime-types                 | 3.1          |\r\n| uber                       | 0.1.0        |\r\n| representable              | 3.0.4        |\r\n| retriable                  | 3.1.1        |\r\n| google-api-client          | 0.13.6       |\r\n| json                       | 2.1.0        |\r\n| mini_magick                | 4.5.1        |\r\n| multi_xml                  | 0.6.0        |\r\n| plist                      | 3.4.0        |\r\n| rubyzip                    | 1.2.1        |\r\n| security                   | 0.1.3        |\r\n| slack-notifier             | 2.3.2        |\r\n| terminal-notifier          | 1.8.0        |\r\n| unicode-display_width      | 1.3.0        |\r\n| terminal-table             | 1.8.0        |\r\n| tty-screen                 | 0.6.4        |\r\n| tty-cursor                 | 0.5.0        |\r\n| tty-spinner                | 0.8.0        |\r\n| word_wrap                  | 1.0.0        |\r\n| nanaimo                    | 0.2.3        |\r\n| xcodeproj                  | 1.5.6        |\r\n| rouge                      | 2.0.7        |\r\n| xcpretty                   | 0.2.8        |\r\n| xcpretty-travis-formatter  | 1.0.0        |\r\n| fastlane-plugin-versioning | 0.3.4        |\r\n</details>\r\n\r\n\r\n*generated on:* **2018-03-01**\r\n</details>"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/369699766","html_url":"https://github.com/fastlane/fastlane/issues/11962#issuecomment-369699766","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/11962","id":369699766,"user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars2.githubusercontent.com/u/869950?v=4","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T19:17:59Z","updated_at":"2018-03-01T19:17:59Z","author_association":"OWNER","body":"Yep, please do that, you already have a Gemfile, right?"}}
{"actor":{"display_login":"KrauseFx"}}