{"action":"closed","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/13630","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/13630/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/13630/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/13630/events","html_url":"https://github.com/fastlane/fastlane/issues/13630","id":377097436,"node_id":"MDU6SXNzdWUzNzcwOTc0MzY=","number":13630,"title":"FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD not working","user":{"login":"jpghelfi","id":29050800,"node_id":"MDQ6VXNlcjI5MDUwODAw","avatar_url":"https://avatars2.githubusercontent.com/u/29050800?v=4","gravatar_id":"","url":"https://api.github.com/users/jpghelfi","html_url":"https://github.com/jpghelfi","followers_url":"https://api.github.com/users/jpghelfi/followers","following_url":"https://api.github.com/users/jpghelfi/following{/other_user}","gists_url":"https://api.github.com/users/jpghelfi/gists{/gist_id}","starred_url":"https://api.github.com/users/jpghelfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpghelfi/subscriptions","organizations_url":"https://api.github.com/users/jpghelfi/orgs","repos_url":"https://api.github.com/users/jpghelfi/repos","events_url":"https://api.github.com/users/jpghelfi/events{/privacy}","received_events_url":"https://api.github.com/users/jpghelfi/received_events","type":"User","site_admin":false},"labels":[{"id":389827016,"node_id":"MDU6TGFiZWwzODk4MjcwMTY=","url":"https://api.github.com/repos/fastlane/fastlane/labels/status:%20waiting-for-reply","name":"status: waiting-for-reply","color":"ededed","default":false},{"id":315718164,"node_id":"MDU6TGFiZWwzMTU3MTgxNjQ=","url":"https://api.github.com/repos/fastlane/fastlane/labels/tool:%20pilot","name":"tool: pilot","color":"c7def8","default":false},{"id":1131872944,"node_id":"MDU6TGFiZWwxMTMxODcyOTQ0","url":"https://api.github.com/repos/fastlane/fastlane/labels/topic:%20login","name":"topic: login","color":"d88065","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-11-03T22:03:30Z","updated_at":"2018-12-26T17:33:23Z","closed_at":"2018-12-26T17:33:23Z","author_association":"NONE","body":"### 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\nI'm trying to use FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD as an Env Variable in fastfile for my Developer Apple Account, but it's not working.\r\n\r\nMy Appstoreconnect account does not have TFA. The Developer Apple account (my clients account), does. I cannot remove it (I tried), all new Dev Account are set with TFA.\r\n\r\nIn my fastfile, on top of the lane upload_ipa is this:\r\n\r\n`ENV['FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD'] = 'xxxx-xxxx-xxxx-xxxx'`\r\n\r\nThis password was created in the Apple Dev Account.\r\n\r\nIf I use the dev account, as the appstore account, the only difference it at the beginning of the script, it asks for the 6 digit code.. whe it shoudn't, because I've already set the Specific Password\r\n\r\n`[18:53:54]: Login to App Store Connect (devapple_user@gmail.com)\r\nTwo Factor Authentication for account 'devapple_user@gmail.com' is enabled\r\nYour session cookie has been expired.\r\nPlease enter the 6 digit code: `\r\n\r\nI'm 100% certain the Apple Specific password is Valid.\r\n\r\n\r\nThis is the output when the appstoreconnect user is different from the devaccount user\r\n\r\n### Environment\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.6                                                        |\r\n| Ruby                        | 2.3.7                                                          |\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.6 (17G65)                                       |\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/Xcode92.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   | en_US.UTF-8 | ✅ |\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# For a list of all available plugins, check out\r\n#\r\n#     https://docs.fastlane.tools/plugins/available-plugins\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  lane :upload_ipa do\r\n  ENV['FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD'] = 'zfvy-szgm-wqqk-pvsx'\r\n    upload_to_testflight(skip_waiting_for_build_processing: true,\r\n    \tipa: 'Revista Palabras.ipa')\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.xxxx.revistapalabras\") # The bundle identifier of your app\r\napple_id(\"devapple_user@gmail.com\") # Your Apple email address\r\n\r\nitc_team_id(\"V733ZRD5A4\") # App Store Connect Team ID\r\nteam_id(\"V733ZRD5A4\") # Developer Portal Team ID\r\n\r\nENV['FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD'] = 'xxxx'\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.107.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| rouge                     | 2.0.7        |\r\n| xcpretty                  | 0.3.0        |\r\n| terminal-notifier         | 1.8.0        |\r\n| terminal-table            | 1.8.0        |\r\n| plist                     | 3.4.0        |\r\n| multipart-post            | 2.0.0        |\r\n| word_wrap                 | 1.0.0        |\r\n| public_suffix             | 2.0.5        |\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| http-cookie               | 1.0.3        |\r\n| faraday-cookie_jar        | 0.0.6        |\r\n| mini_magick               | 4.5.1        |\r\n| multi_json                | 1.13.1       |\r\n| multi_xml                 | 0.6.0        |\r\n| rubyzip                   | 1.2.2        |\r\n| security                  | 0.1.3        |\r\n| xcpretty-travis-formatter | 1.0.0        |\r\n| faraday_middleware        | 0.12.2       |\r\n| emoji_regex               | 0.1.1        |\r\n| tty-cursor                | 0.6.0        |\r\n| tty-screen                | 0.6.5        |\r\n| faraday                   | 0.15.3       |\r\n| json                      | 2.1.0        |\r\n| io-console                | 0.4.5        |\r\n| excon                     | 0.62.0       |\r\n| CFPropertyList            | 3.0.0        |\r\n| libxml-ruby               | 2.9.0        |\r\n| atomos                    | 0.1.3        |\r\n| claide                    | 1.0.2        |\r\n| colored2                  | 3.1.2        |\r\n| nanaimo                   | 0.2.6        |\r\n| xcodeproj                 | 1.7.0        |\r\n| jwt                       | 2.1.0        |\r\n| signet                    | 0.11.0       |\r\n| uber                      | 0.1.0        |\r\n| declarative               | 0.0.10       |\r\n| declarative-option        | 0.1.0        |\r\n| representable             | 3.0.4        |\r\n| addressable               | 2.5.2        |\r\n| httpclient                | 2.8.3        |\r\n| google-api-client         | 0.23.9       |\r\n| memoist                   | 0.16.0       |\r\n| googleauth                | 0.6.7        |\r\n| unf_ext                   | 0.0.7.5      |\r\n| unf                       | 0.1.4        |\r\n| domain_name               | 0.5.20180417 |\r\n| fastimage                 | 2.1.4        |\r\n| bundler                   | 1.16.4       |\r\n| unicode-display_width     | 1.4.0        |\r\n</details>\r\n\r\n\r\n*generated on:* **2018-11-03**\r\n</details></pre>\r\n</details>\r\n\r\n<details>\r\n  <pre>➜  Revista Palabras git:(master) ✗ bundle exec fastlane upload_ipa\r\n[✔] 🚀 \r\n[18:47:54]: ------------------------------\r\n[18:47:54]: --- Step: default_platform ---\r\n[18:47:54]: ------------------------------\r\n[18:47:54]: Driving the lane 'ios upload_ipa' 🚀\r\n[18:47:54]: ----------------------------------\r\n[18:47:54]: --- Step: upload_to_testflight ---\r\n[18:47:54]: ----------------------------------\r\n[18:47:54]: Login to App Store Connect (appstoreconnect_user@gmail.com)\r\n[18:47:57]: Login successful\r\n[18:47:58]: Ready to upload new build to TestFlight (App: 1441226948)...\r\n[18:48:04]: Fetching password for transporter from environment variable named `FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD`\r\n[18:48:04]: Going to upload updated app to App Store Connect\r\n[18:48:04]: This might take a few minutes. Please don't interrupt the script.\r\n[18:48:19]: [Transporter Error Output]: Your Apple ID or password was entered incorrectly. (-20101)\r\n-------------------------------------------------------------------------------------\r\nPlease provide your Apple Developer Program account credentials\r\nThe login information you enter will be stored in your macOS Keychain\r\nYou can also pass the password using the `FASTLANE_PASSWORD` environment variable\r\nSee more information about it on GitHub: https://github.com/fastlane/fastlane/tree/master/credentials_manager\r\n-------------------------------------------------------------------------------------\r\nUsername: devappleaccount_user@gmail.com\r\nThe login credentials for 'devappleaccount_user@gmail.com' seem to be wrong\r\nDo you want to re-enter your password? (y/n)\r\ny\r\nRemoving Keychain entry for user 'devappleaccount_user@gmail.com...\r\nkeychain: \"/Users/jp/Library/Keychains/login.keychain-db\"\r\nversion: 512\r\nclass: \"inet\"\r\nattributes:\r\n    0x00000007 <blob>=\"deliver.xxxx@gmail.com\"\r\n    0x00000008 <blob>=<NULL>\r\n    \"acct\"<blob>=\"devapple_user@gmail.com\"\r\n    \"atyp\"<blob>=\"dflt\"\r\n    \"cdat\"<timedate>=0x32303138313130333231323433385A00  \"20181103212438Z\\000\"\r\n    \"crtr\"<uint32>=<NULL>\r\n    \"cusi\"<sint32>=<NULL>\r\n    \"desc\"<blob>=<NULL>\r\n    \"icmt\"<blob>=<NULL>\r\n    \"invi\"<sint32>=<NULL>\r\n    \"mdat\"<timedate>=0x32303138313130333231323433385A00  \"20181103212438Z\\000\"\r\n    \"nega\"<sint32>=<NULL>\r\n    \"path\"<blob>=<NULL>\r\n    \"port\"<uint32>=0x00000000 \r\n    \"prot\"<blob>=<NULL>\r\n    \"ptcl\"<uint32>=0x00000000 \r\n    \"scrp\"<sint32>=<NULL>\r\n    \"sdmn\"<blob>=<NULL>\r\n    \"srvr\"<blob>=\"deliver.devapple_user@gmail.com\"\r\n    \"type\"<uint32>=<NULL>\r\npassword has been deleted.\r\n-------------------------------------------------------------------------------------\r\nPlease provide your Apple Developer Program account credentials\r\nThe login information you enter will be stored in your macOS Keychain\r\nYou can also pass the password using the `FASTLANE_PASSWORD` environment variable\r\nSee more information about it on GitHub: https://github.com/fastlane/fastlane/tree/master/credentials_manager\r\n-------------------------------------------------------------------------------------\r\nPassword (for devappleaccount_user@gmail.com): **********\r\n[18:48:34]: Please run this tool again to apply the new password\r\n[18:48:34]: [Transporter Error Output]: Error while processing package 1441226948.itmsp\r\n[18:48:34]: Transporter transfer failed.\r\n[18:48:34]: \r\n[18:48:34]: Your Apple ID or password was entered incorrectly. (-20101)\r\nError while processing package 1441226948.itmsp\r\n[18:48:34]: [iTMSTransporter] [2018-11-03 18:48:19 ART] <main> DBG-X:   parameter ErrorCode = -20101\r\n\r\n[18:48:34]: [iTMSTransporter] [2018-11-03 18:48:19 ART] <main> DBG-X:   parameter ErrorMessage = Your Apple ID or password was entered incorrectly. (-20101)\r\n\r\n[18:48:34]: [iTMSTransporter] [2018-11-03 18:48:19 ART] <main> DBG-X:   parameter Success = false\r\n\r\n[18:48:34]: [iTMSTransporter] [2018-11-03 18:48:19 ART] <main> ERROR: Your Apple ID or password was entered incorrectly. (-20101)\r\n\r\n[18:48:34]: [iTMSTransporter] [2018-11-03 18:48:19 ART] <main> ERROR: Error while processing package 1441226948.itmsp\r\n\r\n[18:48:34]: [iTMSTransporter] \r\n\r\n[18:48:34]: [iTMSTransporter] \r\n\r\n[18:48:34]: [iTMSTransporter] \r\n\r\n[18:48:34]: [iTMSTransporter] Package Summary:\r\n\r\n[18:48:34]: [iTMSTransporter]  \r\n\r\n[18:48:34]: [iTMSTransporter] 1 package(s) were not uploaded because they had problems:\r\n\r\n[18:48:35]: [iTMSTransporter] \t/var/folders/v7/057m71q50kqf5wxjh9glpm800000gp/T/d20181103-43766-g3qar1/1441226948.itmsp - Error Messages:\r\n\r\n[18:48:35]: [iTMSTransporter] \t\tYour Apple ID or password was entered incorrectly. (-20101)\r\n\r\n[18:48:35]: [iTMSTransporter] \t\tError while processing package 1441226948.itmsp\r\n\r\n[18:48:35]: [iTMSTransporter] [2018-11-03 18:48:19 ART] <main> DBG-X: Returning 1\r\n\r\n[18:48:35]: iTunes Transporter output above ^\r\n[18:48:35]: Your Apple ID or password was entered incorrectly. (-20101)\r\nError while processing package 1441226948.itmsp\r\n\\nError while processing package 1441226948.itmsppple ID or password was entered incorrectly. (-20101)\r\nThe call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.\r\n+------------------+----------------+\r\n|           Lane Context            |\r\n+------------------+----------------+\r\n| DEFAULT_PLATFORM | ios            |\r\n| PLATFORM_NAME    | ios            |\r\n| LANE_NAME        | ios upload_ipa |\r\n+------------------+----------------+\r\n[18:48:35]: Error uploading ipa file, for more information see above\r\n\r\n+------+----------------------+-------------+\r\n|             fastlane summary              |\r\n+------+----------------------+-------------+\r\n| Step | Action               | Time (in s) |\r\n+------+----------------------+-------------+\r\n| 1    | default_platform     | 0           |\r\n| 💥   | upload_to_testflight | 40          |\r\n+------+----------------------+-------------+\r\n\r\n[18:48:35]: fastlane finished with errors\r\n\r\n[!] Error uploading ipa file, for more information see above</pre>\r\n</details>\r\n"}}
{"actor":{"display_login":"fastlane-bot"}}