{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/4936","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/4936/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/4936/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/4936/events","html_url":"https://github.com/fastlane/fastlane/issues/4936","id":157846379,"number":4936,"title":"Deliver does not work with multiple-team iTunes Connect account","user":{"login":"nicolasbraun","id":1089363,"avatar_url":"https://avatars.githubusercontent.com/u/1089363?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasbraun","html_url":"https://github.com/nicolasbraun","followers_url":"https://api.github.com/users/nicolasbraun/followers","following_url":"https://api.github.com/users/nicolasbraun/following{/other_user}","gists_url":"https://api.github.com/users/nicolasbraun/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasbraun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasbraun/subscriptions","organizations_url":"https://api.github.com/users/nicolasbraun/orgs","repos_url":"https://api.github.com/users/nicolasbraun/repos","events_url":"https://api.github.com/users/nicolasbraun/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasbraun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/deliver","name":"deliver","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"mfurtak","id":343134,"avatar_url":"https://avatars.githubusercontent.com/u/343134?v=3","gravatar_id":"","url":"https://api.github.com/users/mfurtak","html_url":"https://github.com/mfurtak","followers_url":"https://api.github.com/users/mfurtak/followers","following_url":"https://api.github.com/users/mfurtak/following{/other_user}","gists_url":"https://api.github.com/users/mfurtak/gists{/gist_id}","starred_url":"https://api.github.com/users/mfurtak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfurtak/subscriptions","organizations_url":"https://api.github.com/users/mfurtak/orgs","repos_url":"https://api.github.com/users/mfurtak/repos","events_url":"https://api.github.com/users/mfurtak/events{/privacy}","received_events_url":"https://api.github.com/users/mfurtak/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2016-06-01T08:04:31Z","updated_at":"2016-06-03T17:48:59Z","closed_at":"2016-06-03T17:46:07Z","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\nTrying to use deliver using and Apple Id which is on several team (10 for that matters).\r\nI am calling deliver passing my iTunes Connect accountId (numerical) in the `team_id` parameter and my Apple Developer Team Id in the `dev_portal_team_id`parameter (alphanumerical one).\r\n\r\nDespite #4746 Deliver fais with error : `our Apple ID account is attached to other iTunes providers. You will need to specify which provider you intend to submit content to by using the -itc_provider command.``\r\n\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\n¨¨¨\r\n00:02:34.049 [09:59:35]: ---------------------\r\n00:02:34.049 [09:59:35]: --- Step: deliver ---\r\n00:02:34.050 [09:59:35]: ---------------------\r\n00:02:34.066 [09:59:35]: Login to iTunes Connect (nicolas.braun@applidium.com)\r\n00:02:36.964 [09:59:37]: Login successful\r\n00:02:37.569 \r\n00:02:37.571 +--------------------+--------------------------------------------------+\r\n00:02:37.571 |                        deliver 1.12.0 Summary                         |\r\n00:02:37.572 +--------------------+--------------------------------------------------+\r\n00:02:37.572 | username           | nicolas.braun@applidium.com                      |\r\n00:02:37.572 | team_id            | ITUNES_TEAM_ID                                           |\r\n00:02:37.572 | dev_portal_team_id | APPLE_DEV_TEAM_ID                                       |\r\n00:02:37.573 | team_name          | NAME           |\r\n00:02:37.573 | app_identifier     | BUNDLE                                  |\r\n00:02:37.573 | submit_for_review  | false                                            |\r\n00:02:37.573 | automatic_release  | false                                            |\r\n00:02:37.573 | metadata_path      | fastlane/XX/metadata                           |\r\n00:02:37.573 | screenshots_path   | fastlane/XX/screenshots                        |\r\n00:02:37.574 | skip_screenshots   | true                                             |\r\n00:02:37.574 | skip_metadata      | true                                             |\r\n00:02:37.574 | force              | true                                             |\r\n00:02:37.574 | ipa                | /Users/slave/Jenkins/workspace/XX/XX.ipa |\r\n00:02:37.574 | app_version        | 6.6.3                                            |\r\n00:02:37.574 | skip_binary_upload | false                                            |\r\n00:02:37.575 +--------------------+--------------------------------------------------+\r\n00:02:37.575 \r\n00:02:37.575 [09:59:38]: Making sure the latest version on iTunes Connect matches '6.6.3' from the ipa file...\r\nINFO [2016-06-01 11:10:09.81]: Making sure the latest version on iTunes Connect matches '6.6.3' from the ipa file...\r\nINFO [2016-06-01 11:10:11.58]: '6.6.3' is the latest version on iTunes Connect\r\nINFO [2016-06-01 11:10:13.19]: Uploading binary to iTunes Connect\r\nINFO [2016-06-01 11:10:13.39]: Wrote XML data to '/tmp/507107090.itmsp'\r\nINFO [2016-06-01 11:10:13.39]: Going to upload updated app to iTunes Connect\r\nINFO [2016-06-01 11:10:13.39]: This might take a few minutes, please don't interrupt the script\r\nDEBUG [2016-06-01 11:10:13.47]: /Applications/Xcode.app/Contents/Applications/Application\\ Loader.app/Contents/itms/java/bin/java -Djava.ext.dirs=/Applications/Xcode.app/Contents/Applications/Application\\ Loader.app/Contents/itms/java/lib/ext -XX:NewSize=2m -Xms32m -Xmx1024m -Xms1024m -Djava.awt.headless=true -Dsun.net.http.retryPost=false -classpath /Applications/Xcode.app/Contents/Applications/Application\\ Loader.app/Contents/itms/lib/itmstransporter-launcher.jar com.apple.transporter.Application -m upload -u nicolas.braun@applidium.com -p YourPassword -f /tmp/507107090.itmsp -t Signiant -k 100000 2>&1\r\nDEBUG [2016-06-01 11:10:17.22]: [Transporter]: INFO: Transporter is searching for updated software components.\r\nDEBUG [2016-06-01 11:10:18.54]: [Transporter]: INFO: Transporter is up-to-date.\r\nDEBUG [2016-06-01 11:10:18.78]: [Transporter]: INFO: Logging configured successfully.\r\nDEBUG [2016-06-01 11:10:18.78]: [Transporter]: DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties\r\nDEBUG [2016-06-01 11:10:18.94]: [Transporter]: DEBUG: Configuration refresh successful.\r\nDEBUG [2016-06-01 11:10:18.95]: [Transporter]: DEBUG: Saving configuration to local path: /Users/nicolas.braun/.itmstransporter/Defaults.properties\r\nDEBUG [2016-06-01 11:10:18.95]: [Transporter]: INFO: iTMSTransporter : iTunes Store Transporter [1.8.8]\r\nDEBUG [2016-06-01 11:10:18.95]: [Transporter]: INFO: OS identifier: Mac OS X 10.11.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_05_12_09_52-b00\r\nDEBUG [2016-06-01 11:10:18.95]: [Transporter]: INFO: Memory: [JVM] 884M free, 982M total, 982M max [System] (Physical) 125M free, 8192M total (Swap) 1085M free, 4096M total\r\nDEBUG [2016-06-01 11:10:18.96]: [Transporter]: INFO: Upload mode selected.\r\nDEBUG [2016-06-01 11:10:18.97]: [Transporter]: INFO: Examining the package at: /tmp/507107090.itmsp\r\nDEBUG [2016-06-01 11:10:18.97]: [Transporter]: INFO: Ensuring that package has well formed metadata file...\r\nDEBUG [2016-06-01 11:10:18.97]: [Transporter]: DEBUG: Getting case-sensitive metadata xml filename...\r\nDEBUG [2016-06-01 11:10:18.97]: [Transporter]: INFO: Gathering the list of valid files from the package ...\r\nDEBUG [2016-06-01 11:10:18.97]: [Transporter]: DEBUG:   0483c647d731eed58fbfd8c44e78ebb3.ipa will be verified by Apple's web service to determine if it is a valid file.\r\nDEBUG [2016-06-01 11:10:18.97]: [Transporter]: DEBUG:   metadata.xml will be verified by Apple's web service to determine if it is a valid file.\r\nDEBUG [2016-06-01 11:10:18.97]: [Transporter]: INFO: Finished gathering the list of valid files from the package.\r\nDEBUG [2016-06-01 11:10:18.97]: [Transporter]: DEBUG:   Case-sensitive metadata filename is: metadata.xml\r\nDEBUG [2016-06-01 11:10:19.03]: [Transporter]: INFO: Performing authentication of package 507107090.itmsp ...\r\nDEBUG [2016-06-01 11:10:19.03]: [Transporter]: DBG-X: Memory: [JVM] 874M free, 982M total, 982M max [System] (Physical) 113M free, 8192M total (Swap) 1085M free, 4096M total\r\nDEBUG [2016-06-01 11:10:19.03]: [Transporter]: DBG-X: Memory: [JVM] 874M free, 982M total, 982M max [System] (Physical) 113M free, 8192M total (Swap) 1085M free, 4096M total\r\nDEBUG [2016-06-01 11:10:19.03]: [Transporter]: DBG-X: Using operation named: authenticateForSession\r\nDEBUG [2016-06-01 11:10:19.03]: [Transporter]: DBG-X: Apple's web service operation input parameters:\r\nDEBUG [2016-06-01 11:10:19.03]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter\r\nDEBUG [2016-06-01 11:10:19.03]: [Transporter]: DBG-X:   parameter BaseVersion = 1.8.8\r\nDEBUG [2016-06-01 11:10:19.03]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.11.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_05_12_09_52-b00\r\nDEBUG [2016-06-01 11:10:19.04]: [Transporter]: DBG-X:   parameter Password = **hidden value**\r\nDEBUG [2016-06-01 11:10:19.04]: [Transporter]: DBG-X:   parameter TransporterArguments = -m upload -u nicolas.braun@applidium.com -p **hidden value** -f /tmp/507107090.itmsp -t Signiant -k 100000\r\nDEBUG [2016-06-01 11:10:19.04]: [Transporter]: DBG-X:   parameter Username = nicolas.braun@applidium.com\r\nDEBUG [2016-06-01 11:10:19.04]: [Transporter]: DBG-X:   parameter Version = 1.8.8\r\nDEBUG [2016-06-01 11:10:19.04]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = upload\r\nDEBUG [2016-06-01 11:10:19.04]: [Transporter]: INFO: id = 20160601111019-547\r\nDEBUG [2016-06-01 11:10:19.82]: [Transporter]: DBG-X: Apple's web service operation return value:\r\nDEBUG [2016-06-01 11:10:19.82]: [Transporter]: DBG-X:   parameter SessionId = CIanDBIQPFVCjdDpQ1WZAyO49Rdp2Q==\r\nDEBUG [2016-06-01 11:10:19.82]: [Transporter]: DBG-X:   parameter SharedSecret = 56127ce5-828d-417d-a0cf-90a478a6133d\r\nDEBUG [2016-06-01 11:10:19.82]: [Transporter]: DBG-X: Deflated 451 bytes to 392\r\nDEBUG [2016-06-01 11:10:19.82]: [Transporter]: DBG-X: Using operation named: validateMetadata\r\nDEBUG [2016-06-01 11:10:19.82]: [Transporter]: DBG-X: Apple's web service operation input parameters:\r\nDEBUG [2016-06-01 11:10:19.82]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter\r\nDEBUG [2016-06-01 11:10:19.82]: [Transporter]: DBG-X:   parameter BaseVersion = 1.8.8\r\nDEBUG [2016-06-01 11:10:19.82]: [Transporter]: DBG-X:   parameter Files = [0483c647d731eed58fbfd8c44e78ebb3.ipa, metadata.xml]\r\nDEBUG [2016-06-01 11:10:19.82]: [Transporter]: DBG-X:   parameter Metadata = <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\nDEBUG [2016-06-01 11:10:19.83]: [Transporter]: DBG-X:   parameter MetadataChecksum = 350463776e957930299b68ba86622432\r\nDEBUG [2016-06-01 11:10:19.83]: [Transporter]: DBG-X:   parameter MetadataCompressed = (suppressed)\r\nDEBUG [2016-06-01 11:10:19.84]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.11.5 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_05_12_09_52-b00\r\nDEBUG [2016-06-01 11:10:19.84]: [Transporter]: DBG-X:   parameter PackageName = 507107090.itmsp\r\nDEBUG [2016-06-01 11:10:19.84]: [Transporter]: DBG-X:   parameter PackageSize = 30718048\r\nDEBUG [2016-06-01 11:10:19.84]: [Transporter]: DBG-X:   parameter Throttle = 100000\r\nDEBUG [2016-06-01 11:10:19.84]: [Transporter]: DBG-X:   parameter TransporterArguments = -m upload -u nicolas.braun@applidium.com -p **hidden value** -f /tmp/507107090.itmsp -t Signiant -k 100000\r\nDEBUG [2016-06-01 11:10:19.84]: [Transporter]: DBG-X:   parameter Username = nicolas.braun@applidium.com\r\nDEBUG [2016-06-01 11:10:19.84]: [Transporter]: DBG-X:   parameter Version = 1.8.8\r\nDEBUG [2016-06-01 11:10:19.84]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = upload\r\nDEBUG [2016-06-01 11:10:19.84]: [Transporter]: INFO: id = 20160601111019-608\r\nDEBUG [2016-06-01 11:10:33.56]: [Transporter]: DBG-X: Apple's web service operation return value:\r\nDEBUG [2016-06-01 11:10:33.56]: [Transporter]: DBG-X:   parameter ErrorMessage = Your Apple ID account is attached to other iTunes providers. You will need to specify which provider you intend to submit content to by using the -itc_provider command. Please contact us if you have questions or need help. (1627)\r\nDEBUG [2016-06-01 11:10:33.56]: [Transporter]: DBG-X:   parameter Errors = [Your Apple ID account is attached to other iTunes providers. You will need to specify which provider you intend to submit content to by using the -itc_provider command. Please contact us if you have questions or need help. (1627)]\r\nDEBUG [2016-06-01 11:10:33.56]: [Transporter]: DBG-X:   parameter ErrorCode = 1627\r\nDEBUG [2016-06-01 11:10:33.56]: [Transporter]: DBG-X:   parameter Success = false\r\nERROR [2016-06-01 11:10:33.56]: [Transporter Error Output]: Your Apple ID account is attached to other iTunes providers. You will need to specify which provider you intend to submit content to by using the -itc_provider command. Please contact us if you have questions or need help. (1627)\r\nDEBUG [2016-06-01 11:10:33.56]: [Transporter]: DBG-X: The error code is: 1627\r\nERROR [2016-06-01 11:10:33.77]: Transporter transfer failed.\r\n\r\n\r\n```\r\n\r\n### Configuration Files\r\n\r\nVery complicated Fastfile but here is an extract of the store lane\r\n\r\n\r\n```\r\nlane :store do |options|\r\n  update_fastlane\r\n  default_build_lane(options)\r\n  ENV[\"FASTLANE_PASSWORD\"] = ENV[\"APPLE_ID_ITUNES_CONNECT_PASSWORD\"] if ENV[\"APPLE_ID_ITUNES_CONNECT_PASSWORD\"]\r\n    deliver(\r\n      username: ENV[\"APPLE_ID_ITUNES_CONNECT\"],\r\n      team_id: ENV[\"TEAM_ID_ITC\"],\r\n      dev_portal_team_id: ENV[\"TEAM_ID\"],\r\n      team_name: ENV[\"TEAM_NAME\"],\r\n      app_identifier: ENV['APP_BUNDLE'],\r\n      submit_for_review: options[:review],\r\n      automatic_release: options[:autorelease],\r\n      metadata_path: metadata_path,\r\n      screenshots_path: screenshots_path,\r\n      skip_screenshots: !options[:screenshots],\r\n      skip_metadata: !options[:metadata],\r\n      force: true\r\n      )\r\n  end\r\nend\r\n```\r\n\r\n### Environment\r\n\r\nfastlane version : 1.92.0\r\ndeliver version : 1.12.0\r\n\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)?\r\n\r\nNo but my project has a gemfile that fastlane executes (`bundle install`) before updating itself\r\n\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)?\r\n\r\nRbenv."},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/223646667","html_url":"https://github.com/fastlane/fastlane/issues/4936#issuecomment-223646667","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/4936","id":223646667,"user":{"login":"mfurtak","id":343134,"avatar_url":"https://avatars.githubusercontent.com/u/343134?v=3","gravatar_id":"","url":"https://api.github.com/users/mfurtak","html_url":"https://github.com/mfurtak","followers_url":"https://api.github.com/users/mfurtak/followers","following_url":"https://api.github.com/users/mfurtak/following{/other_user}","gists_url":"https://api.github.com/users/mfurtak/gists{/gist_id}","starred_url":"https://api.github.com/users/mfurtak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfurtak/subscriptions","organizations_url":"https://api.github.com/users/mfurtak/orgs","repos_url":"https://api.github.com/users/mfurtak/repos","events_url":"https://api.github.com/users/mfurtak/events{/privacy}","received_events_url":"https://api.github.com/users/mfurtak/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T17:48:59Z","updated_at":"2016-06-03T17:48:59Z","body":"That's great news!\r\n\r\nUnfortunately that option had already been shipped out into the wild, and still has a matching option on the `pilot` side. Because we do our best not to make backwards-incompatible changes, we'll leave that option in, even though it is no longer connected to this particular feature.\r\n\r\nThanks for all your help!"}}
{"actor":{"display_login":"mfurtak"}}