{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/6248","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/6248/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/6248/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/6248/events","html_url":"https://github.com/fastlane/fastlane/issues/6248","id":178661939,"number":6248,"title":"Match fails to authenticate git user","user":{"login":"tiferrei","id":8849915,"avatar_url":"https://avatars.githubusercontent.com/u/8849915?v=3","gravatar_id":"","url":"https://api.github.com/users/tiferrei","html_url":"https://github.com/tiferrei","followers_url":"https://api.github.com/users/tiferrei/followers","following_url":"https://api.github.com/users/tiferrei/following{/other_user}","gists_url":"https://api.github.com/users/tiferrei/gists{/gist_id}","starred_url":"https://api.github.com/users/tiferrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiferrei/subscriptions","organizations_url":"https://api.github.com/users/tiferrei/orgs","repos_url":"https://api.github.com/users/tiferrei/repos","events_url":"https://api.github.com/users/tiferrei/events{/privacy}","received_events_url":"https://api.github.com/users/tiferrei/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-22T16:42:25Z","updated_at":"2016-09-22T21:51:24Z","closed_at":"2016-09-22T21:51:23Z","body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nmatch fails to authenticate with details, even though I have already saved the credentials on the keychain\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\nbundle exec fastlane ios build\r\n[17:34:56]: -----------------------------\r\n[17:34:56]: --- Step: update_fastlane ---\r\n[17:34:56]: -----------------------------\r\n[17:34:56]: Looking for updates for credentials_manager, fastlane_core, spaceship, cert, deliver, frameit, gym, sigh, match, pem, pilot, produce, scan, screengrab, snapshot, supply, fastlane...\r\n[17:34:56]: It seems that your Gem directory is not writable by your current User.\r\n[17:34:56]: Fastlane would need sudo rights to update itself, however, running 'sudo fastlane' is not recommended.\r\n[17:34:56]: If you still want to use this action, please read the Actions.md documentation on a guide how to set this up.\r\n[17:34:56]: -------------------------------------------------\r\n[17:34:56]: --- Step: Verifying required fastlane version ---\r\n[17:34:56]: -------------------------------------------------\r\n[17:34:56]: fastlane version valid\r\n[17:34:56]: ------------------------------\r\n[17:34:56]: --- Step: default_platform ---\r\n[17:34:56]: ------------------------------\r\n[17:34:56]: Driving the lane 'ios build' 🚀\r\n[17:34:56]: -----------------------------------------------------------------------------------\r\n[17:34:56]: --- Step: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer ---\r\n[17:34:56]: -----------------------------------------------------------------------------------\r\n[17:34:56]: $ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer\r\n[17:34:56]: -------------------\r\n[17:34:56]: --- Step: match ---\r\n[17:34:56]: -------------------\r\n\r\n+-----------------------+-----------------------------------------------------+\r\n|                           Summary for match 0.8.0                           |\r\n+-----------------------+-----------------------------------------------------+\r\n| app_identifier        | com.tiferrei.GL-Dash                                |\r\n| readonly              | true                                                |\r\n| git_url               | https://code.tiferrei.com/GL-Dash/Code-Singning.git |\r\n| type                  | development                                         |\r\n| username              | me@tiferrei.com                                     |\r\n| git_branch            | master                                              |\r\n| keychain_name         | login.keychain                                      |\r\n| team_id               | X69WG8TQF9                                          |\r\n| verbose               | false                                               |\r\n| force                 | false                                               |\r\n| shallow_clone         | false                                               |\r\n| force_for_new_devices | false                                               |\r\n| skip_docs             | false                                               |\r\n+-----------------------+-----------------------------------------------------+\r\n\r\n[17:34:56]: Cloning remote git repo...\r\nCloning into '/var/folders/4_/bdt34jtn1_92sb8z_z_0ybz40000gn/T/d20160922-89499-1q41l6'...\r\nfatal: could not read Username for 'https://code.tiferrei.com': terminal prompts disabled\r\n[17:35:04]: Exit status: 128\r\n[17:35:04]: 🔒  Successfully encrypted certificates repo\r\n[17:35:04]: -------------------\r\n[17:35:04]: --- Step: slack ---\r\n[17:35:04]: -------------------\r\n[17:35:05]: Successfully sent Slack notification\r\n[17:35:05]: Variable Dump:\r\n[17:35:05]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios build\"}\r\n[17:35:05]: Exit status: 128\r\n\r\n+------+---------------------------------------------------------------+-------------+\r\n|                                  fastlane summary                                  |\r\n+------+---------------------------------------------------------------+-------------+\r\n| Step | Action                                                        | Time (in s) |\r\n+------+---------------------------------------------------------------+-------------+\r\n| 1    | update_fastlane                                               | 0           |\r\n| 2    | Verifying required fastlane version                           | 0           |\r\n| 3    | default_platform                                              | 0           |\r\n| 4    | sudo xcode-select --switch /Applications/Xcode.app/Contents/D | 0           |\r\n| 5    | match                                                         | 8           |\r\n| 6    | slack                                                         | 0           |\r\n+------+---------------------------------------------------------------+-------------+\r\n\r\n[17:35:05]: fastlane finished with errors\r\n\r\n[!] Exit status: 128\r\nERROR: Build failed: exit status 1\r\n```\r\n\r\n### Configuration Files\r\n\r\nPlease copy the complete content of your `Fastfile` and any other configuration files you use below:\r\n\r\nFastfile:\r\n```ruby\r\n# If you want to automatically update fastlane if a new version is available:\r\nupdate_fastlane\r\n\r\n# This is the minimum version number required.\r\n# Update this, if you use features of a newer version\r\nfastlane_version \"1.89.0\"\r\n\r\ndefault_platform :ios\r\n\r\nplatform :ios do\r\n  before_all do\r\n    ENV[\"SLACK_URL\"] = \"https://hooks.slack.com/services/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\"\r\n    sh \"sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer\"\r\n    match(app_identifier: \"com.tiferrei.GL-Dash\", readonly: true)\r\n    sh \"pod install\"\r\n  end\r\n\r\n  desc \"Build and complie app.\"\r\n  lane :build do\r\n    xcodebuild(\r\n      workspace: \"GL Dash.xcworkspace\",\r\n      scheme: \"GL Dash\",\r\n      sdk: \"iphoneos10.0\"\r\n    )\r\n  end\r\n\r\n  desc \"Submit a new TestFlight Beta and send a notification to Slack.\"\r\n  lane :beta do\r\n    gym(\r\n      sdk: \"iphoneos10.0\",\r\n      use_legacy_build_api: true,\r\n      workspace: \"GL Dash.xcworkspace\",\r\n      configuration: \"Release\",\r\n      scheme: \"GL Dash\",\r\n      silent: true,\r\n      clean: true,\r\n      output_directory: \"Beta\", # Destination directory. Defaults to current directory.\r\n      output_name: \"GL-Dash.ipa\", # specify the name of the .ipa file to generate (including file extension)\r\n    )\r\n    pilot(\r\n      app_identifier: \"com.tiferrei.GL-Dash\",\r\n      changelog: \"Automated Beta version.\",\r\n      ipa: \"Beta/GL-Dash.ipa\",\r\n      distribute_external: true,\r\n    )\r\n    slack(\r\n      message: \"Beta build successfully released!\"\r\n    )\r\n  end\r\n\r\n  error do |lane, exception|\r\n    slack(message: exception.message, success: false)\r\n  end\r\nend\r\n```\r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`): 1.103.0\r\n\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)? Yes\r\n\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)? No\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/249038864","html_url":"https://github.com/fastlane/fastlane/issues/6248#issuecomment-249038864","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/6248","id":249038864,"user":{"login":"tiferrei","id":8849915,"avatar_url":"https://avatars.githubusercontent.com/u/8849915?v=3","gravatar_id":"","url":"https://api.github.com/users/tiferrei","html_url":"https://github.com/tiferrei","followers_url":"https://api.github.com/users/tiferrei/followers","following_url":"https://api.github.com/users/tiferrei/following{/other_user}","gists_url":"https://api.github.com/users/tiferrei/gists{/gist_id}","starred_url":"https://api.github.com/users/tiferrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiferrei/subscriptions","organizations_url":"https://api.github.com/users/tiferrei/orgs","repos_url":"https://api.github.com/users/tiferrei/repos","events_url":"https://api.github.com/users/tiferrei/events{/privacy}","received_events_url":"https://api.github.com/users/tiferrei/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T21:51:23Z","updated_at":"2016-09-22T21:51:23Z","body":"Fixed it by resetting the login keychain and import the items back. "}}
{"actor":{"display_login":"tiferrei"}}