{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/12160","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/12160/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/12160/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/12160/events","html_url":"https://github.com/fastlane/fastlane/issues/12160","id":308256704,"number":12160,"title":"iTunes Connect Team Selection doesn't work","user":{"login":"Swolebrain","id":10286294,"avatar_url":"https://avatars0.githubusercontent.com/u/10286294?v=4","gravatar_id":"","url":"https://api.github.com/users/Swolebrain","html_url":"https://github.com/Swolebrain","followers_url":"https://api.github.com/users/Swolebrain/followers","following_url":"https://api.github.com/users/Swolebrain/following{/other_user}","gists_url":"https://api.github.com/users/Swolebrain/gists{/gist_id}","starred_url":"https://api.github.com/users/Swolebrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swolebrain/subscriptions","organizations_url":"https://api.github.com/users/Swolebrain/orgs","repos_url":"https://api.github.com/users/Swolebrain/repos","events_url":"https://api.github.com/users/Swolebrain/events{/privacy}","received_events_url":"https://api.github.com/users/Swolebrain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-24T12:12:38Z","updated_at":"2018-03-26T13:09:58Z","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\nWhen running fastlane init, fastlane correctly detects that my itunes connect account is tied to two teams (my personal one and my employer). I select my employer's team and it disregards my choice and selects my own team ID. It correctly selects the itc_team_id but uses my personal team for the team_id value in the appfile. I'm posting this again because I've noticed several people have this issue and you guys close it without resolving it. In addition, it's for some reason super difficult to figure out the iTunes Connect Team ID for a team you do not own.\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\nCommand was `fastlane init`. Here is the relevant bit of output:\r\n\r\n<details>\r\n  <pre>\r\nMultiple iTunes Connect teams found, please enter the number of the team you want to use: \r\n1) \"Prakash Hosalli\" (118977159)\r\n2) \"Victor Moreno\" (118546770)\r\n1\r\n[07:59:34]: ✅  Logging in with your Apple ID was successful\r\n[07:59:34]: Checking if the app 'ai.akila.health' exists in your Apple Developer Portal...\r\n[07:59:35]: It looks like the app 'ai.akila.health' isn't available on the Apple Developer Portal\r\n[07:59:35]: for the team ID 'MEB3******' on Apple ID 'marjvic@gmail.com'\r\n[07:59:35]: Do you want fastlane to create the App ID for you on the Apple Developer Portal? (y/n)\r\n  </pre>\r\n</details>\r\n\r\nMEB3****** is my personal team id. Even though I clearly selected 1 (Prakash team) fastlane looked through my own dev portal.\r\n\r\n### Environment\r\n\r\n<!-- Please run `fastlane env` and copy the output below. This will help us help you :+1:\r\nIf you used `--capture_output` option, please remove this block as it is already included there. -->\r\n\r\n<details>\r\n  <pre><details><summary>✅ fastlane environment ✅</summary>\r\n\r\n### Stack\r\n\r\n| Key                         | Value                                                          |\r\n| --------------------------- | -------------------------------------------------------------- |\r\n| OS                          | 10.13.3                                                        |\r\n| Ruby                        | 2.3.3                                                          |\r\n| Bundler?                    | false                                                          |\r\n| Git                         | git version 2.14.3 (Apple Git-98)                              |\r\n| Installation Source         | /usr/local/bin/fastlane                                        |\r\n| Host                        | Mac OS X 10.13.3 (17D102)                                      |\r\n| Ruby Lib Dir                | /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib |\r\n| OpenSSL Version             | LibreSSL 2.2.7                                                 |\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_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\n# This file contains the fastlane.tools configuration\r\n# You can find the documentation at https://docs.fastlane.tools\r\n#\r\n# For a list of all available actions, check out\r\n#\r\n#     https://docs.fastlane.tools/actions\r\n#\r\n\r\n# Uncomment the line if you want fastlane to automatically update itself\r\n# update_fastlane\r\n\r\ndefault_platform(:ios)\r\n\r\nplatform :ios do\r\n  desc \"Push a new beta build to TestFlight\"\r\n  lane :beta do\r\n    increment_build_number(xcodeproj: \"akila.xcodeproj\")\r\n    build_app(workspace: \"akila.xcworkspace\", scheme: \"akila\")\r\n    upload_to_testflight\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(\"ai.akila.health\") # The bundle identifier of your app\r\napple_id(\"marjvic@gmail.com\") # Your Apple email address\r\n\r\nitc_team_id(\"118977159\") # iTunes Connect Team ID\r\nteam_id(\"MEB344YGTK\") # Developer Portal Team ID\r\n\r\n# For more information about the Appfile, see:\r\n#     https://docs.fastlane.tools/advanced/#appfile\r\n\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.87.0  | ✅ Up-To-Date  |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n**No plugins Loaded**\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.0.0        |\r\n| slack-notifier            | 2.3.2        |\r\n| atomos                    | 0.1.2        |\r\n| claide                    | 1.0.2        |\r\n| colored2                  | 3.1.2        |\r\n| nanaimo                   | 0.2.4        |\r\n| xcodeproj                 | 1.5.7        |\r\n| rouge                     | 2.0.7        |\r\n| xcpretty                  | 0.2.8        |\r\n| terminal-notifier         | 1.8.0        |\r\n| unicode-display_width     | 1.3.0        |\r\n| terminal-table            | 1.8.0        |\r\n| public_suffix             | 2.0.5        |\r\n| addressable               | 2.5.2        |\r\n| multipart-post            | 2.0.0        |\r\n| word_wrap                 | 1.0.0        |\r\n| tty-cursor                | 0.5.0        |\r\n| tty-spinner               | 0.8.0        |\r\n| babosa                    | 1.0.2        |\r\n| colored                   | 1.2          |\r\n| highline                  | 1.7.10       |\r\n| commander-fastlane        | 4.4.6        |\r\n| unf                       | 0.1.4        |\r\n| domain_name               | 0.5.20170404 |\r\n| http-cookie               | 1.0.3        |\r\n| faraday-cookie_jar        | 0.0.6        |\r\n| gh_inspector              | 1.1.3        |\r\n| mini_magick               | 4.5.1        |\r\n| multi_xml                 | 0.6.0        |\r\n| rubyzip                   | 1.2.1        |\r\n| security                  | 0.1.3        |\r\n| xcpretty-travis-formatter | 1.0.0        |\r\n| dotenv                    | 2.2.1        |\r\n| bundler                   | 1.16.0       |\r\n| faraday_middleware        | 0.12.2       |\r\n| naturally                 | 2.1.0        |\r\n| simctl                    | 1.6.2        |\r\n| declarative               | 0.0.10       |\r\n| declarative-option        | 0.1.0        |\r\n| representable             | 3.0.4        |\r\n| mime-types-data           | 3.2016.0521  |\r\n| mime-types                | 3.1          |\r\n| little-plugger            | 1.1.4        |\r\n| logging                   | 2.2.2        |\r\n| jwt                       | 2.1.0        |\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| google-api-client         | 0.13.6       |\r\n| tty-screen                | 0.6.4        |\r\n| io-console                | 0.4.5        |\r\n| excon                     | 0.61.0       |\r\n| CFPropertyList            | 3.0.0        |\r\n| libxml-ruby               | 2.9.0        |\r\n| plist                     | 3.4.0        |\r\n| faraday                   | 0.14.0       |\r\n| fastimage                 | 2.1.1        |\r\n| json                      | 2.1.0        |\r\n</details>\r\n\r\n\r\n*generated on:* **2018-03-24**\r\n</details></pre>\r\n</details>\r\n\r\n\r\n*Please do not merely delete/lock this issue based on some minutia about the contribution guidelines.* Many people are clearly having issues with this. Although fastlane is an awesome tool and I've been using pilot for years, it would be *super helpful* if you could add documentation about how to find the correct values (in particular itc_team_id) to configure your appfile manually. I basically had to delete my fastlane folder and re-run fastlane init to be able to see my employer's itc_team_id (I'm hoping it's right) and make sure my Appfile was right."},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/376159856","html_url":"https://github.com/fastlane/fastlane/issues/12160#issuecomment-376159856","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/12160","id":376159856,"user":{"login":"joshdholtz","id":401294,"avatar_url":"https://avatars2.githubusercontent.com/u/401294?v=4","gravatar_id":"","url":"https://api.github.com/users/joshdholtz","html_url":"https://github.com/joshdholtz","followers_url":"https://api.github.com/users/joshdholtz/followers","following_url":"https://api.github.com/users/joshdholtz/following{/other_user}","gists_url":"https://api.github.com/users/joshdholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/joshdholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshdholtz/subscriptions","organizations_url":"https://api.github.com/users/joshdholtz/orgs","repos_url":"https://api.github.com/users/joshdholtz/repos","events_url":"https://api.github.com/users/joshdholtz/events{/privacy}","received_events_url":"https://api.github.com/users/joshdholtz/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T13:09:58Z","updated_at":"2018-03-26T13:09:58Z","author_association":"CONTRIBUTOR","body":"@Swolebrain \r\n\r\n1) Sorry about your previous issues getting ignored 💔 The amount of issues that can come in at times is overwhelming. We do our best but sometimes things get lost, skipped over, or diagnosed improperly. \r\n\r\n2) I am looking into this 👀 "}}
{"actor":{"display_login":"joshdholtz"}}