{"action":"closed","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/13390","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/13390/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/13390/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/13390/events","html_url":"https://github.com/fastlane/fastlane/issues/13390","id":361782515,"node_id":"MDU6SXNzdWUzNjE3ODI1MTU=","number":13390,"title":"Unable to update gem?","user":{"login":"sgtsquiggs","id":3420325,"node_id":"MDQ6VXNlcjM0MjAzMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/3420325?v=4","gravatar_id":"","url":"https://api.github.com/users/sgtsquiggs","html_url":"https://github.com/sgtsquiggs","followers_url":"https://api.github.com/users/sgtsquiggs/followers","following_url":"https://api.github.com/users/sgtsquiggs/following{/other_user}","gists_url":"https://api.github.com/users/sgtsquiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/sgtsquiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgtsquiggs/subscriptions","organizations_url":"https://api.github.com/users/sgtsquiggs/orgs","repos_url":"https://api.github.com/users/sgtsquiggs/repos","events_url":"https://api.github.com/users/sgtsquiggs/events{/privacy}","received_events_url":"https://api.github.com/users/sgtsquiggs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-19T14:41:54Z","updated_at":"2018-09-25T15:35:03Z","closed_at":"2018-09-25T15:35:03Z","author_association":"CONTRIBUTOR","body":"### Question Checklist\r\n\r\n- [ ] Updated fastlane to the latest version - this is the issue\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### Question Subject\r\nUnable to update fastlane via `bundle update fastlane`\r\n\r\n#### Question Description\r\nI am currently unable to update fastlane via `bundle update fastlane`. I'm not sure why; this has worked fine in the past. I am not a regular ruby/gem/bundler user so this is out of my area of expertise.\r\n\r\n<details>\r\n<summary>Last attempt</summary>\r\n\r\n```\r\nFetching https://github.com/sebbbbbb/xcpretty.git\r\nFetching gem metadata from https://rubygems.org/.............\r\nFetching gem metadata from https://rubygems.org/..\r\nResolving dependencies.....\r\nUsing rake 12.3.0\r\nUsing CFPropertyList 2.3.6\r\nUsing concurrent-ruby 1.0.5\r\nUsing i18n 0.9.5\r\nUsing minitest 5.11.3\r\nUsing thread_safe 0.3.6\r\nUsing tzinfo 1.2.5\r\nUsing activesupport 4.2.10\r\nUsing public_suffix 2.0.5\r\nUsing addressable 2.5.2\r\nUsing atomos 0.1.3\r\nUsing babosa 1.0.2\r\nUsing curb 0.9.6\r\nFetching fastimage 2.1.4 (was 2.1.3)\r\nInstalling fastimage 2.1.4 (was 2.1.3)\r\nUsing bundler 1.16.0\r\nUsing colored 1.2\r\nUsing highline 1.7.10\r\nUsing commander-fastlane 4.4.6\r\nUsing dotenv 2.5.0\r\nUsing emoji_regex 0.1.1\r\nUsing excon 0.62.0\r\nUsing multipart-post 2.0.0\r\nUsing faraday 0.15.2\r\nUsing unf_ext 0.0.7.5\r\nUsing unf 0.1.4\r\nUsing domain_name 0.5.20180417\r\nUsing http-cookie 1.0.3\r\nUsing faraday-cookie_jar 0.0.6\r\nUsing faraday_middleware 0.12.2\r\nUsing gh_inspector 1.1.3\r\nUsing jwt 2.1.0\r\nUsing memoist 0.16.0\r\nUsing multi_json 1.13.1\r\nUsing os 1.0.0\r\nFetching signet 0.9.2 (was 0.9.1)\r\nInstalling signet 0.9.2 (was 0.9.1)\r\nUsing googleauth 0.6.6\r\nUsing httpclient 2.8.3\r\nUsing mime-types-data 3.2018.0812\r\nUsing mime-types 3.2.2\r\nUsing declarative 0.0.10\r\nUsing declarative-option 0.1.0\r\nUsing uber 0.1.0\r\nUsing representable 3.0.4\r\nUsing retriable 3.1.2\r\nFetching google-api-client 0.23.9 (was 0.23.8)\r\nInstalling google-api-client 0.23.9 (was 0.23.8)\r\nUsing json 2.1.0\r\nUsing mini_magick 4.5.1\r\nUsing multi_xml 0.6.0\r\nUsing plist 3.4.0\r\nUsing rubyzip 1.2.2\r\nUsing security 0.1.3\r\nUsing naturally 2.2.0\r\nUsing simctl 1.6.5\r\nUsing slack-notifier 2.3.2\r\nUsing terminal-notifier 1.8.0\r\nUsing unicode-display_width 1.4.0\r\nUsing terminal-table 1.8.0\r\nUsing tty-screen 0.6.5\r\nUsing tty-cursor 0.6.0\r\nUsing tty-spinner 0.8.0\r\nUsing word_wrap 1.0.0\r\nUsing claide 1.0.2\r\nUsing colored2 3.1.2\r\nUsing nanaimo 0.2.6\r\nUsing xcodeproj 1.6.0\r\nUsing rouge 2.0.7\r\nUsing xcpretty 0.2.8 from https://github.com/sebbbbbb/xcpretty.git (at master@cdb9f7a)\r\nUsing xcpretty-travis-formatter 1.0.0\r\nUsing fastlane 2.102.0\r\nUsing badge 0.9.1\r\nUsing clamp 0.6.5\r\nUsing fuzzy_match 2.0.4\r\nUsing nap 1.1.0\r\nUsing cocoapods-core 1.5.3\r\nUsing cocoapods-deintegrate 1.0.2\r\nUsing cocoapods-downloader 1.2.1\r\nUsing cocoapods-plugins 1.0.0\r\nUsing cocoapods-search 1.0.0\r\nUsing cocoapods-stats 1.0.0\r\nUsing netrc 0.11.0\r\nUsing cocoapods-trunk 1.3.0\r\nUsing cocoapods-try 1.1.0\r\nUsing escape 0.0.4\r\nUsing fourflusher 2.0.1\r\nUsing molinillo 0.6.5\r\nUsing ruby-macho 1.2.0\r\nUsing cocoapods 1.5.3\r\nUsing commander 4.4.4\r\nUsing mustermann 1.0.2\r\nUsing rack 2.0.5\r\nUsing rack-protection 2.0.0\r\nUsing tilt 2.0.8\r\nUsing sinatra 2.0.0\r\nUsing dubai 0.1.2\r\nUsing fastlane-plugin-appicon 0.13.0\r\nUsing fastlane-plugin-badge 1.1.0\r\nUsing fastlane-plugin-icon_versioning 1.3.0\r\nUsing fastlane-plugin-versioning 0.3.4\r\nUsing houston 2.2.4\r\nUsing mini_portile2 2.1.0\r\nUsing nokogiri 1.6.8.1\r\nUsing slather 2.4.4\r\nUsing stringer 0.0.1 from https://github.com/sgtsquiggs/stringer.git (at master@935150a)\r\nBundler attempted to update fastlane but its version stayed the same\r\nBundle updated!\r\n```\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>Gemfile</summary>\r\n\r\n```ruby\r\n# frozen_string_literal: true\r\nsource \"https://rubygems.org\"\r\n\r\ngit_source(:github) {|repo_name| \"https://github.com/#{repo_name}.git\" }\r\n\r\ngem 'cocoapods'\r\ngem 'slather'\r\ngem 'fastlane'\r\ngem 'xcpretty', :github => \"sebbbbbb/xcpretty\"\r\ngem 'stringer', :github => \"sgtsquiggs/stringer\"\r\ngem 'rake'\r\ngem 'houston'\r\ngem 'dubai'\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\r\n</details>\r\n\r\n<details>\r\n<summary>Gemfile.lock</summary>\r\n\r\n```\r\nGIT\r\n  remote: https://github.com/sebbbbbb/xcpretty.git\r\n  revision: cdb9f7a5c9c194b36f568eeb4c3076c183aa61c8\r\n  specs:\r\n    xcpretty (0.2.8)\r\n      rouge (~> 2.0.7)\r\n\r\nGIT\r\n  remote: https://github.com/sgtsquiggs/stringer.git\r\n  revision: 935150abee6ca3d1e0361c91765d8514daf96157\r\n  specs:\r\n    stringer (0.0.1)\r\n\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.3)\r\n    babosa (1.0.2)\r\n    badge (0.9.1)\r\n      curb (~> 0.9)\r\n      fastimage (>= 1.6)\r\n      fastlane (>= 2.0)\r\n      mini_magick (>= 4.5)\r\n    claide (1.0.2)\r\n    clamp (0.6.5)\r\n    cocoapods (1.5.3)\r\n      activesupport (>= 4.0.2, < 5)\r\n      claide (>= 1.0.2, < 2.0)\r\n      cocoapods-core (= 1.5.3)\r\n      cocoapods-deintegrate (>= 1.0.2, < 2.0)\r\n      cocoapods-downloader (>= 1.2.0, < 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.5)\r\n      nap (~> 1.0)\r\n      ruby-macho (~> 1.1)\r\n      xcodeproj (>= 1.5.7, < 2.0)\r\n    cocoapods-core (1.5.3)\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.2.1)\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 (4.4.4)\r\n      highline (~> 1.7.2)\r\n    commander-fastlane (4.4.6)\r\n      highline (~> 1.7.2)\r\n    concurrent-ruby (1.0.5)\r\n    curb (0.9.6)\r\n    declarative (0.0.10)\r\n    declarative-option (0.1.0)\r\n    domain_name (0.5.20180417)\r\n      unf (>= 0.0.5, < 1.0.0)\r\n    dotenv (2.5.0)\r\n    dubai (0.1.2)\r\n      commander (~> 4.1)\r\n      json\r\n      rubyzip (~> 1.0)\r\n      sinatra (>= 1.3, <= 2.0.0)\r\n      terminal-table (~> 1.4)\r\n    emoji_regex (0.1.1)\r\n    escape (0.0.4)\r\n    excon (0.62.0)\r\n    faraday (0.15.2)\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.4)\r\n    fastlane (2.102.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      emoji_regex (~> 0.1)\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.21.2, < 0.24.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.2.1, < 2.0.0)\r\n      security (= 0.1.3)\r\n      simctl (~> 1.6.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.7, < 2.0.0)\r\n      xcpretty (~> 0.2.8)\r\n      xcpretty-travis-formatter (>= 0.0.3)\r\n    fastlane-plugin-appicon (0.13.0)\r\n      json\r\n      mini_magick (~> 4.5.1)\r\n    fastlane-plugin-badge (1.1.0)\r\n      badge (~> 0.9.0)\r\n    fastlane-plugin-icon_versioning (1.3.0)\r\n      mini_magick (~> 4.5.1)\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.3)\r\n    google-api-client (0.23.9)\r\n      addressable (~> 2.5, >= 2.5.1)\r\n      googleauth (>= 0.5, < 0.7.0)\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      signet (~> 0.9)\r\n    googleauth (0.6.6)\r\n      faraday (~> 0.12)\r\n      jwt (>= 1.4, < 3.0)\r\n      memoist (~> 0.12)\r\n      multi_json (~> 1.11)\r\n      os (>= 0.9, < 2.0)\r\n      signet (~> 0.7)\r\n    highline (1.7.10)\r\n    houston (2.2.4)\r\n      commander (~> 4.4)\r\n      json\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    memoist (0.16.0)\r\n    mime-types (3.2.2)\r\n      mime-types-data (~> 3.2015)\r\n    mime-types-data (3.2018.0812)\r\n    mini_magick (4.5.1)\r\n    mini_portile2 (2.1.0)\r\n    minitest (5.11.3)\r\n    molinillo (0.6.5)\r\n    multi_json (1.13.1)\r\n    multi_xml (0.6.0)\r\n    multipart-post (2.0.0)\r\n    mustermann (1.0.2)\r\n    nanaimo (0.2.6)\r\n    nap (1.1.0)\r\n    naturally (2.2.0)\r\n    netrc (0.11.0)\r\n    nokogiri (1.6.8.1)\r\n      mini_portile2 (~> 2.1.0)\r\n    os (1.0.0)\r\n    plist (3.4.0)\r\n    public_suffix (2.0.5)\r\n    rack (2.0.5)\r\n    rack-protection (2.0.0)\r\n      rack\r\n    rake (12.3.0)\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.2)\r\n    rouge (2.0.7)\r\n    ruby-macho (1.2.0)\r\n    rubyzip (1.2.2)\r\n    security (0.1.3)\r\n    signet (0.9.2)\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    simctl (1.6.5)\r\n      CFPropertyList\r\n      naturally\r\n    sinatra (2.0.0)\r\n      mustermann (~> 1.0)\r\n      rack (~> 2.0)\r\n      rack-protection (= 2.0.0)\r\n      tilt (~> 2.0)\r\n    slack-notifier (2.3.2)\r\n    slather (2.4.4)\r\n      CFPropertyList (~> 2.2)\r\n      activesupport (>= 4.0.2, < 5)\r\n      clamp (~> 0.6)\r\n      nokogiri (>= 1.6, < 1.7)\r\n      xcodeproj (~> 1.4)\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    tilt (2.0.8)\r\n    tty-cursor (0.6.0)\r\n    tty-screen (0.6.5)\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.4.0)\r\n    word_wrap (1.0.0)\r\n    xcodeproj (1.6.0)\r\n      CFPropertyList (>= 2.3.3, < 4.0)\r\n      atomos (~> 0.1.3)\r\n      claide (>= 1.0.2, < 2.0)\r\n      colored2 (~> 3.1)\r\n      nanaimo (~> 0.2.6)\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  dubai\r\n  fastlane\r\n  fastlane-plugin-appicon\r\n  fastlane-plugin-badge\r\n  fastlane-plugin-icon_versioning\r\n  fastlane-plugin-versioning\r\n  houston\r\n  rake\r\n  slather\r\n  stringer!\r\n  xcpretty!\r\n\r\nBUNDLED WITH\r\n   1.16.0\r\n```\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>Pluginfile</summary>\r\n\r\n```ruby\r\ngem 'fastlane-plugin-badge'\r\ngem 'fastlane-plugin-appicon'\r\ngem 'fastlane-plugin-icon_versioning'\r\ngem 'fastlane-plugin-versioning'\r\n```\r\n\r\n</details>\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.6                                                  |\r\n| Ruby                        | 2.4.2                                                    |\r\n| Bundler?                    | true                                                     |\r\n| Git                         | git version 2.15.2 (Apple Git-101.1)                     |\r\n| Installation Source         | ~/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/bin/fastlane |\r\n| Host                        | Mac OS X 10.13.6 (17G65)                                 |\r\n| Ruby Lib Dir                | ~/.rbenv/versions/2.4.2/lib                              |\r\n| OpenSSL Version             | OpenSSL 1.0.2m  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.4.1                                                    |\r\n\r\n\r\n### System Locale\r\n\r\n| Variable | Value       |   |\r\n| -------- | ----------- | - |\r\n| LANG     | en_US.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\n\r\n```ruby\r\nfastlane_version \"2.64.0\"\r\n\r\ndefault_platform :ios\r\n\r\nopt_out_usage\r\n\r\nplatform :ios do\r\n  before_all do\r\n    setup_jenkins\r\n    ENV[\"BRANCH_NAME\"] = git_branch.dup.sub! 'origin/', ''\r\n\r\n    # let's define a few contants\r\n    PROJECT_NAME = ENV[\"PROJECT_NAME\"] || \"MemberPortal\"\r\n    TARGET_NAME = ENV[\"TARGET_NAME\"] || PROJECT_NAME\r\n    SOURCE_DIRECTORY = \"./#{PROJECT_NAME}\"\r\n    OUTPUT_DIRECTORY = \"./output\"\r\n    BUILD_DIRECTORY = \"./derivedData\"\r\n    WORKSPACE_PATH = \"./#{PROJECT_NAME}.xcworkspace\"\r\n    PROJECT_PATH = \"./#{PROJECT_NAME}.xcodeproj\"\r\n    SCHEME_NAME = PROJECT_NAME\r\n  end\r\n\r\n  desc \"Submit a new SIT build to TestFlight\"\r\n  lane :sit_testflight do |options|\r\n    config_it(configuration: \"SIT\")\r\n    match(type: \"appstore\")\r\n    # badge_it(color: \"yellow\", environment: \"SIT\")\r\n    build_it(configuration: \"SIT\", scheme: TARGET_NAME)\r\n    # skip distribution step - our test devices are linked to a \"developer\" with access to all builds\r\n    # upload_to_testflight(distribute_external: true, groups: [\"Mobile Team\"])\r\n    upload_to_testflight(skip_waiting_for_build_processing: true)\r\n  end\r\n\r\n  desc \"Submit a new UAT build to TestFlight\"\r\n  lane :uat_testflight do |options|\r\n    config_it(configuration: \"UAT\")\r\n    match(type: \"appstore\")\r\n    # badge_it(color: \"yellow\", environment: \"SIT\")\r\n    build_it(configuration: \"UAT\", scheme: TARGET_NAME)\r\n    upload_to_testflight(distribute_external: true, groups: [\"Mobile Team\", \"UAT\"])\r\n  end\r\n\r\n  desc \"Submit a new RELEASE build to TestFlight\"\r\n  lane :release_testflight do |options|\r\n    config_it(configuration: \"Release\")\r\n    # match(type: \"appstore\")\r\n    # badge_it(color: \"yellow\", environment: \"SIT\")\r\n    build_it(configuration: \"Release\", scheme: TARGET_NAME)\r\n    upload_to_testflight(distribute_external: true, groups: [\"Mobile Team\"])\r\n  end\r\n\r\n  desc \"Submit a new build of `Generic Demo` to TestFlight\"\r\n  lane :democare_testflight do |options|\r\n    demo_it(project: \"./MemberPortal.xcodeproj\", scheme: \"Demo\", app_identifier: \"com.zipari.memberportal.demo.generic\")\r\n  end\r\n\r\n  desc \"Submit a new build of `CapBlue Demo` to TestFlight\"\r\n  lane :capblue_demo_testflight do |options|\r\n    demo_it(project: \"./CapBlue.xcodeproj\", scheme: \"CapBlue\", app_identifier: \"com.zipari.memberportal.demo.cbc\")\r\n  end\r\n\r\n  desc \"Run tests\"\r\n  lane :test do\r\n    config_it(configuration: \"Debug\")\r\n    clear_derived_data(derived_data_path: BUILD_DIRECTORY)\r\n    match(type: \"development\")\r\n    scan(\r\n      workspace: WORKSPACE_PATH,\r\n      scheme: SCHEME_NAME,\r\n      configuration: \"Debug\",\r\n      device: \"iPhone 8\",\r\n      code_coverage: true,\r\n      derived_data_path: BUILD_DIRECTORY,\r\n      output_directory: OUTPUT_DIRECTORY,\r\n      clean: true\r\n    )\r\n  end\r\n\r\n  desc \"Gather metrics\"\r\n  lane :metrics do\r\n    config_it(configuration: \"Debug\")\r\n    require './tmpdir'\r\n    if File.file?(\"#{OUTPUT_DIRECTORY}/report.junit\")\r\n      FileUtils.cp(\"#{OUTPUT_DIRECTORY}/report.junit\", \"#{Dir.pwd}/report.junit\")\r\n    end\r\n    slather(\r\n      llvm_cov: true,\r\n      jenkins: true,\r\n      scheme: SCHEME_NAME,\r\n      source_directory: SOURCE_DIRECTORY,\r\n      build_directory: BUILD_DIRECTORY,\r\n      output_directory: OUTPUT_DIRECTORY,\r\n      binary_basename: PROJECT_NAME,\r\n      workspace: WORKSPACE_PATH,\r\n      proj: PROJECT_PATH\r\n    )\r\n    if File.file?(\"#{Dir.pwd}/report.junit\")\r\n      FileUtils.cp(\"#{Dir.pwd}/report.junit\", \"#{OUTPUT_DIRECTORY}/report.junit\")\r\n    end\r\n    sonar(\r\n      project_version: ENV[\"VERSION_NUMBER\"],\r\n      sonar_runner_args: ENV[\"BRANCH_NAME\"] == 'develop' ? \"\" : \"-Dsonar.branch.name=#{ENV[\"BRANCH_NAME\"]}\"\r\n    )\r\n  end\r\n\r\n  desc \"Increment build number\"\r\n  lane :increment_build do |options|\r\n    next_build_number = options[:build_number]\r\n    build_number = increment_build_number(build_number: next_build_number)\r\n    commit_version_bump(message: \"#{build_number}\")\r\n    add_git_tag(tag: \"#{build_number}\", message: \"\")\r\n    push_to_git_remote(tags: true)\r\n    ENV[\"BUILD_NUMBER\"] = build_number\r\n  end\r\n\r\n  desc \"Increment version number\"\r\n  lane :increment_version do |options|\r\n    version_number = increment_version_number(bump_type: options[:bump_type])\r\n    ENV[\"VERSION_NUMBER\"] = version_number\r\n  end\r\n\r\n  desc \"Update local certificates and profiles\"\r\n  lane :certificates do\r\n    app_dentifiers = [\"com.zipari.memberportal.horizon.internal\", \"com.zipari.memberportal.demo.generic\", \"com.zipari.memberportal.demo.cbc\"]\r\n    match(team_id: \"8REML8DFZP\", app_identifier: app_dentifiers, type: \"appstore\")\r\n    match(team_id: \"8REML8DFZP\", app_identifier: app_dentifiers, type: \"development\")\r\n    # match(team_id: \"LH8VYW67CX\", app_identifier: \"com.horizonblue.memberportal\", type: \"appstore\", readonly: true)\r\n  end\r\n\r\n  desc \"Generate Demo appicon\"\r\n  lane :appicon_demo do\r\n    appicon(\r\n      appicon_image_file: 'Demo/appicon.png',\r\n      appicon_devices: [:iphone],\r\n      appicon_path: 'Demo/Assets.xcassets'\r\n    )\r\n  end\r\n\r\n  # PRIVATE LANES\r\n\r\n  private_lane :config_it do |options|\r\n    get_build_and_version_numbers(target: TARGET_NAME, configuration: options[:configuration])\r\n    ENV[\"VERSION_NUMBER\"] = lane_context[SharedValues::VERSION_NUMBER]\r\n    ENV[\"BUILD_NUMBER\"] = lane_context[SharedValues::BUILD_NUMBER]\r\n    ENV[\"VERSION_BUILD_DISPLAY\"] = get_version_and_build_display\r\n  end\r\n\r\n  private_lane :match_it do |options|\r\n    match(\r\n      type: options[:type] || \"adhoc\",\r\n      force_for_new_devices: true,\r\n      app_identifier: options[:app_identifier]\r\n    )\r\n  end\r\n\r\n  private_lane :badge_it do |options|\r\n    glob = options[:glob] || UI.abort_with_message!(\"Must specify AppImage glob\")\r\n    color = options[:color] || \"red\"\r\n    add_badge(\r\n        shield: get_badge_text(color),\r\n        shield_gravity: \"North\",\r\n        no_badge: true,\r\n        glob: glob\r\n    )\r\n    environment = options[:environment]\r\n    if environment\r\n      add_badge(\r\n        shield: \"env-#{environment}-#{color}\",\r\n        shield_gravity: \"South\",\r\n        no_badge: true,\r\n        glob: glob\r\n      )\r\n    end\r\n  end\r\n\r\n  lane :test_badge do\r\n    ENV[\"BUILD_NUMBER\"] = get_build_number_from_plist(xcodeproj: \"./CapBlue.xcodeproj\")\r\n    ENV[\"VERSION_BUILD_DISPLAY\"] = get_version_and_build_display\r\n    badge_it(color: \"green\", environment: \"SIT\", glob: \"/CapBlue/Assets.xcassets/*.appiconset/*.{png,PNG}\")\r\n  end\r\n\r\n  private_lane :build_it do |options|\r\n    build_ios_app(\r\n      output_directory: OUTPUT_DIRECTORY,\r\n      scheme: options[:scheme] || TARGET_NAME,\r\n      configuration: options[:configuration] || UI.abort_with_message!(\"Must specify configuration\")\r\n    )\r\n  end\r\n\r\n  private_lane :testflight_it do |options|\r\n    upload_to_testflight(\r\n      team_id: options[:team_id],\r\n      app_identifier: options[:app_identifier],\r\n      distribute_external: true,\r\n      groups: options[:groups]\r\n    )\r\n  end\r\n\r\n  private_lane :demo_it do |options|\r\n    match_it(type: \"appstore\", app_identifier: options[:app_identifier])\r\n    build_it(project: options[:project], scheme: options[:scheme], configuration: \"Release\")\r\n    testflight_it(team_id: \"118922211\", app_identifier: options[:app_identifier], groups: [\"Mobile Team\", \"Sales\"])\r\n  end\r\n\r\n  # HELPER METHODS\r\n\r\n  def get_badge_text(color)\r\n    \"#{ENV[\"VERSION_NUMBER\"]}-#{ENV[\"BUILD_NUMBER\"]}-#{color}\"\r\n  end\r\n  \r\n  def get_version_and_build_display \r\n      \"#{ENV[\"VERSION_NUMBER\"]}_#{ENV[\"BUILD_NUMBER\"]}\"\r\n  end\r\nend\r\n\r\n```\r\n</details>\r\n\r\n<details><summary>`./fastlane/Appfile`</summary>\r\n\r\n```ruby\r\napp_identifier \"com.zipari.memberportal.demo.generic\"\r\napple_id \"mcrenshaw@zipari.com\"\r\nteam_id \"8REML8DFZP\"\r\nitc_team_id \"118922211\"\r\n\r\nfor_lane :sit_testflight do\r\n    app_identifier ENV[\"SIT_APP_ID\"]\r\n    team_id ENV[\"SIT_TEAM_ID\"]\r\n    itc_team_id ENV[\"SIT_ITC_TEAM_ID\"]\r\nend\r\n\r\nfor_lane :uat_testflight do\r\n    app_identifier ENV[\"UAT_APP_ID\"]\r\n    team_id ENV[\"UAT_TEAM_ID\"]\r\n    itc_team_id ENV[\"UAT_ITC_TEAM_ID\"]\r\nend\r\n\r\nfor_lane :release_testflight do\r\n    app_identifier ENV[\"RELEASE_APP_ID\"]\r\n    team_id ENV[\"RELEASE_TEAM_ID\"]\r\n    itc_team_id ENV[\"RELEASE_ITC_TEAM_ID\"]\r\nend\r\n```\r\n</details>\r\n\r\n### fastlane gems\r\n\r\n| Gem      | Version | Update-Status      |\r\n| -------- | ------- | ------------------ |\r\n| fastlane | 2.102.0 | 🚫 Update available |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n| Plugin                          | Version | Update-Status |\r\n| ------------------------------- | ------- | ------------- |\r\n| fastlane-plugin-badge           | 1.1.0   | ✅ Up-To-Date  |\r\n| fastlane-plugin-appicon         | 0.13.0  | ✅ Up-To-Date  |\r\n| fastlane-plugin-icon_versioning | 1.3.0   | ✅ Up-To-Date  |\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| bundler                         | 1.16.0       |\r\n| io-console                      | 0.4.6        |\r\n| rake                            | 12.3.0       |\r\n| CFPropertyList                  | 2.3.6        |\r\n| concurrent-ruby                 | 1.0.5        |\r\n| i18n                            | 0.9.5        |\r\n| minitest                        | 5.11.3       |\r\n| thread_safe                     | 0.3.6        |\r\n| tzinfo                          | 1.2.5        |\r\n| activesupport                   | 4.2.10       |\r\n| public_suffix                   | 2.0.5        |\r\n| addressable                     | 2.5.2        |\r\n| atomos                          | 0.1.3        |\r\n| babosa                          | 1.0.2        |\r\n| curb                            | 0.9.6        |\r\n| fastimage                       | 2.1.3        |\r\n| colored                         | 1.2          |\r\n| highline                        | 1.7.10       |\r\n| commander-fastlane              | 4.4.6        |\r\n| dotenv                          | 2.5.0        |\r\n| emoji_regex                     | 0.1.1        |\r\n| excon                           | 0.62.0       |\r\n| multipart-post                  | 2.0.0        |\r\n| faraday                         | 0.15.2       |\r\n| unf_ext                         | 0.0.7.5      |\r\n| unf                             | 0.1.4        |\r\n| domain_name                     | 0.5.20180417 |\r\n| http-cookie                     | 1.0.3        |\r\n| faraday-cookie_jar              | 0.0.6        |\r\n| faraday_middleware              | 0.12.2       |\r\n| gh_inspector                    | 1.1.3        |\r\n| jwt                             | 2.1.0        |\r\n| memoist                         | 0.16.0       |\r\n| multi_json                      | 1.13.1       |\r\n| os                              | 1.0.0        |\r\n| signet                          | 0.9.1        |\r\n| googleauth                      | 0.6.6        |\r\n| httpclient                      | 2.8.3        |\r\n| mime-types-data                 | 3.2018.0812  |\r\n| mime-types                      | 3.2.2        |\r\n| declarative                     | 0.0.10       |\r\n| declarative-option              | 0.1.0        |\r\n| uber                            | 0.1.0        |\r\n| representable                   | 3.0.4        |\r\n| retriable                       | 3.1.2        |\r\n| google-api-client               | 0.23.8       |\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.2        |\r\n| security                        | 0.1.3        |\r\n| naturally                       | 2.2.0        |\r\n| simctl                          | 1.6.5        |\r\n| slack-notifier                  | 2.3.2        |\r\n| terminal-notifier               | 1.8.0        |\r\n| unicode-display_width           | 1.4.0        |\r\n| terminal-table                  | 1.8.0        |\r\n| tty-screen                      | 0.6.5        |\r\n| tty-cursor                      | 0.6.0        |\r\n| tty-spinner                     | 0.8.0        |\r\n| word_wrap                       | 1.0.0        |\r\n| claide                          | 1.0.2        |\r\n| colored2                        | 3.1.2        |\r\n| nanaimo                         | 0.2.6        |\r\n| xcodeproj                       | 1.6.0        |\r\n| rouge                           | 2.0.7        |\r\n| xcpretty                        | 0.2.8        |\r\n| xcpretty-travis-formatter       | 1.0.0        |\r\n| badge                           | 0.9.1        |\r\n| clamp                           | 0.6.5        |\r\n| fuzzy_match                     | 2.0.4        |\r\n| nap                             | 1.1.0        |\r\n| cocoapods-core                  | 1.5.3        |\r\n| cocoapods-deintegrate           | 1.0.2        |\r\n| cocoapods-downloader            | 1.2.1        |\r\n| cocoapods-plugins               | 1.0.0        |\r\n| cocoapods-search                | 1.0.0        |\r\n| cocoapods-stats                 | 1.0.0        |\r\n| netrc                           | 0.11.0       |\r\n| cocoapods-trunk                 | 1.3.0        |\r\n| cocoapods-try                   | 1.1.0        |\r\n| escape                          | 0.0.4        |\r\n| fourflusher                     | 2.0.1        |\r\n| molinillo                       | 0.6.5        |\r\n| ruby-macho                      | 1.2.0        |\r\n| cocoapods                       | 1.5.3        |\r\n| commander                       | 4.4.4        |\r\n| mustermann                      | 1.0.2        |\r\n| rack                            | 2.0.5        |\r\n| rack-protection                 | 2.0.0        |\r\n| tilt                            | 2.0.8        |\r\n| sinatra                         | 2.0.0        |\r\n| dubai                           | 0.1.2        |\r\n| fastlane-plugin-appicon         | 0.13.0       |\r\n| fastlane-plugin-badge           | 1.1.0        |\r\n| fastlane-plugin-icon_versioning | 1.3.0        |\r\n| fastlane-plugin-versioning      | 0.3.4        |\r\n| houston                         | 2.2.4        |\r\n| mini_portile2                   | 2.1.0        |\r\n| nokogiri                        | 1.6.8.1      |\r\n| slather                         | 2.4.4        |\r\n| stringer                        | 0.0.1        |\r\n</details>\r\n\r\n\r\n*generated on:* **2018-09-21**\r\n</details>"}}
{"actor":{"display_login":"sgtsquiggs"}}