fastlane / fastlane

๐Ÿš€ The easiest way to automate building and releasing your iOS and Android apps
https://fastlane.tools
MIT License
39.5k stars 5.7k forks source link

Deliver submits old build candidate if it is available #14041

Closed PkcDom23 closed 5 years ago

PkcDom23 commented 5 years ago

New Issue Checklist

Issue Description

Deliver still chooses the last available candidate build instead of waiting for processing the one being uploaded.

Deliver still chooses wrong build under certain circumstances. In my case, I transfer an app from one account to another (the app was in Rejected state, but not because of binary issues - the problem was submitting under our account, instead of customers account - we develop whitelabelled apps).

So Im not sure about other scenarios, but if you have an old binary that wasnt submitted, Deliver chooses that one for submitting without checking if the buildversion matches with what you are trying to deliver with Deliver.

After successful app transfer I uploaded a new build with fastlane, but deliver DID NOT wait for the new build to be processed, and instead submitted the one from rejected version. So it seems that deliver still chooses the last available candidate build instead of waiting for processing the one being uploaded. ]

Even though https://github.com/fastlane/fastlane/issues/13297 and https://github.com/fastlane/fastlane/issues/10945 are closed (and https://github.com/fastlane/fastlane/pull/13315 is merged), I experienced this bug as of today.

P.S. the transporter error received is just a warning that the app has different prefix (team_id from provisioning I believe?) than the account which uploads the app, nothing to do with the fact that deliver submits old build, because when there is no old build candidate, deliver submits correct build even with this warning.

Command executed

Fastlane didnt have any errors, just submitted old build candidate

Complete output when running fastlane, including the stack trace and command used
 INFO [2019-01-09 11:01:57.77]: --- Step: deliver ---
INFO [2019-01-09 11:01:57.77]: ---------------------
INFO [2019-01-09 11:01:57.99]: Successfully loaded 'fastlane/Deliverfile' ๐Ÿ“„

+-----------------------------------+--------------------------------------+
|              Detected Values from './fastlane/Deliverfile'               |
+-----------------------------------+--------------------------------------+
| force                             | true                                 |
| name                              | {"en-US"=>""}    |
| privacy_url                       | {"en-US"=>""}                        |
| release_notes                     | {"en-US"=>""}       |
| support_url                       | {"en-US"=>"-"}                  |
| screenshots_path                  | fastlane/screenshots                 |
| submit_for_review                 | true                                 |
| precheck_include_in_app_purchases | false                                |
| app_icon                          | fastlane/Logo.png                    |
| price_tier                        | 0                                    |
| copyright                         |      |
| primary_category                  |                               |
| automatic_release                 | true                                 |
| app_rating_config_path            | fastlane/ratings_config.json         |
| app_review_information            | {:first_name=>"",             |
|                                   | :last_name=>"",                |
|                                   | :phone_number=>"+",      |
|                                   | :email_address=>".,                            |
|                                   | :demo_user=>"",     |
|                                   | :demo_password=>"",       |
|                                   | :notes=>"."}             |
| description                       | {"en-US"=>""}                              |
| keywords                          | {"en-US"=>""}   |
+-----------------------------------+--------------------------------------+

INFO [2019-01-09 11:01:58.02]: Login to App Store Connect ()
Reading keychain entry, because either user or password were empty
Loading session from '/'
Looking for App Store Connect Team with ID
INFO [2019-01-09 11:02:01.84]: Login successful

+--------------------------------------+--------------------------------------+
|                           deliver 2.113.0 Summary                           |
+--------------------------------------+--------------------------------------+
| username                             |              |
| app_identifier                       |   |                                 |
| app_version                          | 2.0.0                                |
| team_id                              |                          |
| dev_portal_team_id                   |                    |
| ipa                                  | /                  |
| force                                | true                                 |
| metadata_path                        | ./fastlane/metadata                  |
| platform                             | ios                                  |
| edit_live                            | false                                |
| use_live_version                     | false                                |
| screenshots_path                     | fastlane/screenshots                 |
| skip_binary_upload                   | false                                |
| skip_screenshots                     | false                                |
| skip_metadata                        | false                                |
| skip_app_version_update              | false                                |
| overwrite_screenshots                | false                                |
| submit_for_review                    | true                                 |
| reject_if_possible                   | false                                |
| automatic_release                    | true                                 |
| phased_release                       | false                                |
| price_tier                           | 0                                    |
| app_rating_config_path               | fastlane/ratings_config.json         |
| run_precheck_before_submit           | true                                 |
| precheck_default_rule_level          | warn                                 |
| app_icon                             | fastlane/Logo.png                    |
| copyright                            |     |
| primary_category                     |                               |
| app_review_information.first_name    |                              |
| app_review_information.last_name     |                               |
| app_review_information.phone_number  |                    |
| app_review_information.email_addres  |          |
| app_review_information.demo_user     |                    |
| app_review_information.demo_passwor  |                              |
| d                                    |                                      |
| app_review_information.notes         |                |
| description.en-US                    | T              |
| name.en-US                           | Critz Tybee Run Fest                 |
| keywords.en-US                       | running,half,marathon                |
| release_notes.en-US                  |                |
| privacy_url.en-US                    |   |
| support_url.en-US                    |   |                          |
| ignore_language_directory_validatio  | false                                |
| n                                    |                                      |
| precheck_include_in_app_purchases    | false                                |
+--------------------------------------+--------------------------------------+

INFO [2019-01-09 11:02:02.75]: Making sure the latest version on App Store Connect matches '2.0.0' from the ipa file...
INFO [2019-01-09 11:02:07.17]: Successfully set the version to '2.0.0'
[โœ”] Activating language en-US... 
INFO [2019-01-09 11:02:12.90]: Setting the app's age rating...
[โœ”] Uploading metadata to App Store Connect 
INFO [2019-01-09 11:02:14.78]: Successfully uploaded set of metadata to App Store Connect
INFO [2019-01-09 11:02:16.24]: Starting with the upload of screenshots...
[โœ”] Activating language en-US... 
INFO [2019-01-09 11:02:18.90]: Uploading 15 screenshots for language en-US
INFO [2019-01-09 11:02:18.90]: Uploading 'fastlane/screenshots/en-US/iOS-5.5-in_1.png'...
INFO [2019-01-09 11:02:30.96]: Uploading 'fastlane/screenshots/en-US/iOS-5.5-in_2.png'...
INFO [2019-01-09 11:02:40.12]: Uploading 'fastlane/screenshots/en-US/iOS-5.5-in_3.png'...
INFO [2019-01-09 11:02:43.91]: Uploading 'fastlane/screenshots/en-US/iOS-5.5-in_4.png'...
INFO [2019-01-09 11:02:47.73]: Uploading 'fastlane/screenshots/en-US/iOS-5.5-in_5.png'...
INFO [2019-01-09 11:02:52.35]: Uploading 'fastlane/screenshots/en-US/iOS-5.8-in_1.png'...
INFO [2019-01-09 11:03:03.15]: Uploading 'fastlane/screenshots/en-US/iOS-5.8-in_2.png'...
INFO [2019-01-09 11:03:11.54]: Uploading 'fastlane/screenshots/en-US/iOS-5.8-in_3.png'...
INFO [2019-01-09 11:03:15.33]: Uploading 'fastlane/screenshots/en-US/iOS-5.8-in_4.png'...
INFO [2019-01-09 11:03:21.08]: Uploading 'fastlane/screenshots/en-US/iOS-5.8-in_5.png'...
INFO [2019-01-09 11:03:25.55]: Uploading 'fastlane/screenshots/en-US/iOS-iPad-Pro_1.png'...
INFO [2019-01-09 11:03:43.61]: Uploading 'fastlane/screenshots/en-US/iOS-iPad-Pro_2.png'...
INFO [2019-01-09 11:04:02.56]: Uploading 'fastlane/screenshots/en-US/iOS-iPad-Pro_3.png'...
INFO [2019-01-09 11:04:09.48]: Uploading 'fastlane/screenshots/en-US/iOS-iPad-Pro_4.png'...
INFO [2019-01-09 11:04:14.94]: Uploading 'fastlane/screenshots/en-US/iOS-iPad-Pro_5.png'...
[โœ”] Saving changes 
INFO [2019-01-09 11:04:27.05]: Successfully uploaded screenshots to App Store Connect
INFO [2019-01-09 11:04:28.82]: Price Tier unchanged (tier 0)
INFO [2019-01-09 11:04:29.83]: Uploading app icon...
INFO [2019-01-09 11:04:35.38]: Uploading binary to App Store Connect
INFO [2019-01-09 11:04:37.32]: Wrote XML data to '/tmp/1281897445.itmsp'
INFO [2019-01-09 11:04:37.32]: Fetching password for transporter from environment variable named `FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD`
INFO [2019-01-09 11:04:37.32]: Going to upload updated app to App Store Connect
INFO [2019-01-09 11:04:37.32]: This might take a few minutes. Please don't interrupt the script.
DEBUG [2019-01-09 11:04:37.51]: /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 -jar /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/lib/itmstransporter-launcher.jar -m upload -u  -p YourPassword -f /tmp/1281897445.itmsp -t DAV -t Signiant -k 100000 2>&1
DEBUG [2019-01-09 11:04:45.29]: [Transporter]: INFO: Transporter is searching for new software components.
DEBUG [2019-01-09 11:04:47.11]: [Transporter]: INFO: Update check complete.
DEBUG [2019-01-09 11:04:50.31]: [Transporter]: INFO: Logging configured successfully.
DEBUG [2019-01-09 11:04:50.71]: [Transporter]: DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties
DEBUG [2019-01-09 11:04:50.85]: [Transporter]: DEBUG: Configuration refresh successful.
DEBUG [2019-01-09 11:04:50.86]: [Transporter]: DEBUG: Saving configuration to local path: /
DEBUG [2019-01-09 11:04:50.86]: [Transporter]: INFO: iTMSTransporter : iTunes Store Transporter [1.12.0]
DEBUG [2019-01-09 11:04:50.86]: [Transporter]: INFO: OS identifier: Mac OS X 10.13.6 (x86_64); jvm=25.71-b02; jre=1.8.0-u131-b11-iTMSTransporter-b02
DEBUG [2019-01-09 11:04:50.87]: [Transporter]: INFO: Memory: [JVM] 958M free, 981M total, 981M max [System] (Physical) 125M free, 8192M total (Swap) 1360M free, 5120M total
DEBUG [2019-01-09 11:04:50.87]: [Transporter]: INFO: Upload mode selected.
DEBUG [2019-01-09 11:04:50.89]: [Transporter]: INFO: Examining the package at: /tmp/1281897445.itmsp
DEBUG [2019-01-09 11:04:50.89]: [Transporter]: INFO: Ensuring that package has well formed metadata file...
DEBUG [2019-01-09 11:04:50.89]: [Transporter]: DEBUG: Getting case-sensitive metadata xml filename...
DEBUG [2019-01-09 11:04:50.89]: [Transporter]: INFO: Gathering the list of valid files from the package ...
DEBUG [2019-01-09 11:04:50.89]: [Transporter]: DEBUG:   6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa will be verified by Apple's web service to determine if it is a valid file.
DEBUG [2019-01-09 11:04:50.90]: [Transporter]: DEBUG:   metadata.xml will be verified by Apple's web service to determine if it is a valid file.
DEBUG [2019-01-09 11:04:50.90]: [Transporter]: INFO: Finished gathering the list of valid files from the package.
DEBUG [2019-01-09 11:04:50.90]: [Transporter]: DEBUG:   Case-sensitive metadata filename is: metadata.xml
DEBUG [2019-01-09 11:04:50.92]: [Transporter]: INFO: Performing authentication of package 1281897445.itmsp ...
DEBUG [2019-01-09 11:04:51.00]: [Transporter]: DBG-X: Memory: [JVM] 948M free, 981M total, 981M max [System] (Physical) 126M free, 8192M total (Swap) 1360M free, 5120M total
DEBUG [2019-01-09 11:04:51.00]: [Transporter]: DBG-X: Memory: [JVM] 948M free, 981M total, 981M max [System] (Physical) 126M free, 8192M total (Swap) 1360M free, 5120M total
DEBUG [2019-01-09 11:04:51.00]: [Transporter]: DBG-X: Using operation named: authenticateForSession
DEBUG [2019-01-09 11:04:51.02]: [Transporter]: DBG-X: Apple's web service operation input parameters:
DEBUG [2019-01-09 11:04:51.02]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter
DEBUG [2019-01-09 11:04:51.02]: [Transporter]: DBG-X:   parameter BaseVersion = 1.9.6
DEBUG [2019-01-09 11:04:51.02]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.13.6 (x86_64); jvm=25.71-b02; jre=1.8.0-u131-b11-iTMSTransporter-b02
DEBUG [2019-01-09 11:04:51.02]: [Transporter]: DBG-X:   parameter StatisticsClientStartDateTimeZoneISO = 2019-01-09T11:04:51+01:00
DEBUG [2019-01-09 11:04:51.02]: [Transporter]: DBG-X:   parameter StatisticsPreviousCallDurationInSecs = 0.630641799
DEBUG [2019-01-09 11:04:51.02]: [Transporter]: DBG-X:   parameter TransporterArguments = -m upload -u -p **hidden value** -f /tmp/1281897445.itmsp -t DAV -t Signiant -k 100000
DEBUG [2019-01-09 11:04:51.02]: [Transporter]: DBG-X:   parameter Version = 1.12.0
DEBUG [2019-01-09 11:04:51.02]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = upload
DEBUG [2019-01-09 11:04:51.02]: [Transporter]: INFO: id = 20190109110451-809
DEBUG [2019-01-09 11:04:51.03]: [Transporter]: INFO: iTMSTransporter Correlation Key: dd9a9491-97ff-43b4xxxxx
DEBUG [2019-01-09 11:04:51.79]: [Transporter]: DBG-X: Apple's web service operation return value:
DEBUG [2019-01-09 11:04:51.80]: [Transporter]: DBG-X:   parameter SharedSecret = **hidden value**
DEBUG [2019-01-09 11:04:51.80]: [Transporter]: DBG-X:   parameter MultipartUploadsEnabled = true
DEBUG [2019-01-09 11:04:51.80]: [Transporter]: DBG-X:   parameter EnableJWTForAllCalls = false
DEBUG [2019-01-09 11:04:51.80]: [Transporter]: DBG-X:   parameter TxHeaders = {jenga=true}
DEBUG [2019-01-09 11:04:51.80]: [Transporter]: DBG-X:   parameter SessionExpiration = 2019-01-13T10:04:51.593Z
DEBUG [2019-01-09 11:04:51.80]: [Transporter]: DBG-X:   parameter SessionId = CK2pDBIQyZn4K82bR8ywQw/OuTWQKg==
DEBUG [2019-01-09 11:04:51.80]: [Transporter]: DBG-X:   parameter StreamingSettings = {LogStreamingEnabled=true, MultipartUploadsEnabled=true, AssetDescriptionStreamingEnabled=false}
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X: Deflated 484 bytes to 424
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X: Using operation named: validateMetadata
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X: Apple's web service operation input parameters:
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X:   parameter BaseVersion = 1.9.6
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X:   parameter Files = [6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa, metadata.xml]
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X:   parameter Metadata = 
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X:   parameter MetadataChecksum = c518fc964c311b1a5d99f247a2892331
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X:   parameter MetadataCompressed = (suppressed)
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X:   parameter MetadataInfo = {app_platform=ios, primary_bundle_identifier=, device_id=, bundle_identifier=, packageVersion=software5.4, apple_id=, asset_types=[bundle], bundle_version=, bundle_short_version_string=}
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.13.6 (x86_64); jvm=25.71-b02; jre=1.8.0-u131-b11-iTMSTransporter-b02
DEBUG [2019-01-09 11:04:51.85]: [Transporter]: DBG-X:   parameter PackageName = 1281897445.itmsp
DEBUG [2019-01-09 11:04:51.86]: [Transporter]: DBG-X:   parameter PackageSize = 26863722
DEBUG [2019-01-09 11:04:51.86]: [Transporter]: DBG-X:   parameter StatisticsClientStartDateTimeZoneISO = 2019-01-09T11:04:51+01:00
DEBUG [2019-01-09 11:04:51.86]: [Transporter]: DBG-X:   parameter Throttle = 100000
DEBUG [2019-01-09 11:04:51.86]: [Transporter]: DBG-X:   parameter TransporterArguments = -m upload -u appmanager@mylaps.com -p **hidden value** -f /tmp/1281897445.itmsp -t DAV -t Signiant -k 100000
DEBUG [2019-01-09 11:04:51.86]: [Transporter]: DBG-X:   parameter Version = 1.12.0
DEBUG [2019-01-09 11:04:51.86]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = upload
DEBUG [2019-01-09 11:04:51.86]: [Transporter]: INFO: id = 20190109110451-024
DEBUG [2019-01-09 11:04:51.86]: [Transporter]: INFO: iTMSTransporter Correlation Key: dd9a9491-97ff-43b4-84ab-503c71b3eea7
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X: Apple's web service operation return value:
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X:   parameter EnableJWTForAllCalls = false
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X:   parameter SessionExpiration = 2019-01-13T10:04:53.211Z
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X:   parameter MinimumFileSizeThresholdForCheckum = 104857600
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X:   parameter SoftwareMediaDescriptionFormat = binary
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X:   parameter SoftwareMediaDescriptionThresholds = {in-app-purchase-content={extensions=[pkg], size=100000000}, ccats={extensions=[pdf], size=100000000}, product-archive={extensions=[pkg], size=100000000}, developer-id-package={extensions=[zip, pkg, dmg], size=100000000}, bundle={extensions=[zip, ipa], size=100000000}, large-icon={extensions=[jpg, png, jpeg], size=100000000}}
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X:   parameter Success = true
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X:   parameter StreamingSettings = {LogStreamingEnabled=true, MultipartUploadsEnabled=true, AssetDescriptionStreamingEnabled=false}
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X:   parameter FilesToUpload = [metadata.xml, 6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa]
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X:   parameter AssetsToDescribe = [{Role=source, Filename=6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa, ShouldDescribeAsset=true, UTI=com.apple.ipa}]
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X:   parameter CPUToken = 55a3e1e9-02d6-402b-b4c4-4a28692e9556/1547028294132
DEBUG [2019-01-09 11:04:54.25]: [Transporter]: DBG-X:   parameter Checksums = {6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa=2449f982f55cf62dc0424cb5ebc999d8}
DEBUG [2019-01-09 11:04:54.26]: [Transporter]: DBG-X:   parameter FileSizes = {6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa=26863238}
DEBUG [2019-01-09 11:04:54.26]: [Transporter]: DBG-X:   parameter ProviderNameForToken =
DEBUG [2019-01-09 11:04:54.26]: [Transporter]: INFO: The list of files requested for upload by Apple is: [metadata.xml, 6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa].  These are the files that will be uploaded.
DEBUG [2019-01-09 11:04:54.26]: [Transporter]: INFO: Starting media analysis of assets
DEBUG [2019-01-09 11:04:55.42]: [Transporter]: DEBUG: Handling asset: filename=6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa,uti=com.apple.ipa,role=source,describe=true
DEBUG [2019-01-09 11:04:55.42]: [Transporter]: DEBUG: Using container type tool name and version: iOS App Describer:1.26
DEBUG [2019-01-09 11:04:55.42]: [Transporter]: DEBUG: Using path: /tmp/1281897445.itmsp/6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa
DEBUG [2019-01-09 11:05:06.65]: [Transporter]: DBG-X: description length:0
DEBUG [2019-01-09 11:05:06.65]: [Transporter]: DBG-X: Asset description: 
DEBUG [2019-01-09 11:05:06.66]: [Transporter]: DEBUG: Asset successfully described: com.apple.jingle.leghorn.software.AbstractSoftwareDescriber$1@6f8f8a80
DEBUG [2019-01-09 11:05:06.83]: [Transporter]: DBG-X: Deflated 629 bytes to 383
DEBUG [2019-01-09 11:05:06.83]: [Transporter]: INFO: Asset media analysis has completed
DEBUG [2019-01-09 11:05:06.84]: [Transporter]: DBG-X: Memory: [JVM] 898M free, 981M total, 981M max [System] (Physical) 127M free, 8192M total (Swap) 1364M free, 5120M total
DEBUG [2019-01-09 11:05:06.84]: [Transporter]: DBG-X: Using operation named: lookupTransportDiagnostic
DEBUG [2019-01-09 11:05:06.84]: [Transporter]: DBG-X: Apple's web service operation input parameters:
DEBUG [2019-01-09 11:05:06.84]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter
DEBUG [2019-01-09 11:05:06.84]: [Transporter]: DBG-X:   parameter BaseVersion = 1.9.6
DEBUG [2019-01-09 11:05:06.84]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.13.6 (x86_64); jvm=25.71-b02; jre=1.8.0-u131-b11-iTMSTransporter-b02
DEBUG [2019-01-09 11:05:06.84]: [Transporter]: DBG-X:   parameter StatisticsClientStartDateTimeZoneISO = 2019-01-09T11:05:06+01:00
DEBUG [2019-01-09 11:05:06.84]: [Transporter]: DBG-X:   parameter TransporterArguments = -m upload -u -p **hidden value** -f /tmp/1281897445.itmsp -t DAV -t Signiant -k 100000
DEBUG [2019-01-09 11:05:06.84]: [Transporter]: DBG-X:   parameter Version = 1.12.0
DEBUG [2019-01-09 11:05:06.84]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = upload
DEBUG [2019-01-09 11:05:06.84]: [Transporter]: INFO: id = 20190109110506-884
DEBUG [2019-01-09 11:05:06.86]: [Transporter]: INFO: iTMSTransporter Correlation Key: dd9a9491-97ff-43b4-84ab-503c71b3eea7
DEBUG [2019-01-09 11:05:29.18]: [Transporter]: DBG-X: Apple's web service operation return value:
DEBUG [2019-01-09 11:05:29.18]: [Transporter]: DBG-X:   parameter AsperaLoggingLevel = OFF
DEBUG [2019-01-09 11:05:29.18]: [Transporter]: DBG-X:   parameter EnableJWTForAllCalls = false
DEBUG [2019-01-09 11:05:29.18]: [Transporter]: DBG-X:   parameter SigniantLoggingLevel = OFF
DEBUG [2019-01-09 11:05:29.18]: [Transporter]: DBG-X:   parameter SessionExpiration = 2019-01-13T10:05:07.965Z
DEBUG [2019-01-09 11:05:29.18]: [Transporter]: DBG-X:   parameter StreamingSettings = {LogStreamingEnabled=true, MultipartUploadsEnabled=true, AssetDescriptionStreamingEnabled=false}
DEBUG [2019-01-09 11:05:29.91]: [Transporter]: DBG-X: WebDAV status: 401
DEBUG [2019-01-09 11:05:29.92]: [Transporter]: DEBUG: Using token file path /Users/Bob/.itmstransporter/UploadTokens/builds-mac-mini.mylapsnl.mylapsroot.local_43NJL3YWA4_1281897445.itmsp.token
DEBUG [2019-01-09 11:05:29.92]: [Transporter]: DEBUG: Attempting exclusive file lock on token file
DEBUG [2019-01-09 11:05:29.92]: [Transporter]: DEBUG: Set token: 55a3e1e9-02d6-402b-b4c4-4a28692e9556/1547028294132
DEBUG [2019-01-09 11:05:29.92]: [Transporter]: DBG-X: Memory: [JVM] 891M free, 981M total, 981M max [System] (Physical) 237M free, 8192M total (Swap) 1370M free, 5120M total
DEBUG [2019-01-09 11:05:29.92]: [Transporter]: DBG-X: Deflated 484 bytes to 424
DEBUG [2019-01-09 11:05:29.92]: [Transporter]: DBG-X: Using operation named: validateAssets
DEBUG [2019-01-09 11:05:29.92]: [Transporter]: DBG-X: Apple's web service operation input parameters:
DEBUG [2019-01-09 11:05:29.92]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter
DEBUG [2019-01-09 11:05:29.92]: [Transporter]: DBG-X:   parameter BaseVersion = 1.9.6
DEBUG [2019-01-09 11:05:29.92]: [Transporter]: DBG-X:   parameter CPUToken = 55a3e1e9-02d6-402b-b4c4-4a28692e9556/1547028294132
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter Files = [6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa, metadata.xml]
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter MetadataChecksum = c518fc964c311b1a5d99f247a2892331
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter MetadataCompressed = (suppressed)
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter MetadataInfo = {app_platform=ios, primary_bundle_identifier=, device_id=, bundle_identifier=, packageVersion=software5.4, apple_id=1281897445, asset_types=[bundle], bundle_version=, bundle_short_version_string=}
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.13.6 (x86_64); jvm=25.71-b02; jre=1.8.0-u131-b11-iTMSTransporter-b02
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter PackageName = 1281897445.itmsp
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter PackageSize = 26863722
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter RequestUUID = 47dc6de0-77ee-4aba-b50d-4ee4e53ac15a
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter StatisticsClientStartDateTimeZoneISO = 2019-01-09T11:05:29+01:00
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter StreamingInfoList = [file: 9fd16f5f-3f88-42fb-8a7d-fa2135b3962f4638452231781328113.swinfo.plist.gz, content-length: 104370, content-type: application/binary, MD5: 072126d22a5eb6f381468f43c6c08ed7]
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter Throttle = 100000
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter Transport = DAV
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter TransporterArguments = -m upload -u appmanager@mylaps.com -p **hidden value** -f /tmp/1281897445.itmsp -t DAV -t Signiant -k 100000
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter Version = 1.12.0
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = upload
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: INFO: id = 20190109110529-856
DEBUG [2019-01-09 11:05:29.93]: [Transporter]: INFO: iTMSTransporter Correlation Key: dd9a9491-97ff-43b4-84ab-503c71b3eea7
DEBUG [2019-01-09 11:05:50.14]: [Transporter]: DBG-X: Apple's web service operation return value:
DEBUG [2019-01-09 11:05:50.14]: [Transporter]: DBG-X:   parameter EnableJWTForAllCalls = false
DEBUG [2019-01-09 11:05:50.14]: [Transporter]: DBG-X:   parameter SessionExpiration = 2019-01-13T10:05:31.606Z
DEBUG [2019-01-09 11:05:50.14]: [Transporter]: DBG-X:   parameter MinimumFileSizeThresholdForCheckum = 104857600
DEBUG [2019-01-09 11:05:50.14]: [Transporter]: DBG-X:   parameter SoftwareMediaDescriptionFormat = binary
DEBUG [2019-01-09 11:05:50.14]: [Transporter]: DBG-X:   parameter SoftwareMediaDescriptionThresholds = {in-app-purchase-content={extensions=[pkg], size=100000000}, ccats={extensions=[pdf], size=100000000}, product-archive={extensions=[pkg], size=100000000}, developer-id-package={extensions=[zip, pkg, dmg], size=100000000}, bundle={extensions=[zip, ipa], size=100000000}, large-icon={extensions=[jpg, png, jpeg], size=100000000}}
DEBUG [2019-01-09 11:05:50.14]: [Transporter]: DBG-X:   parameter ResumeFlag = false
DEBUG [2019-01-09 11:05:50.14]: [Transporter]: DBG-X:   parameter Success = true
DEBUG [2019-01-09 11:05:50.14]: [Transporter]: DBG-X:   parameter StreamingSettings = {LogStreamingEnabled=true, MultipartUploadsEnabled=true, AssetDescriptionStreamingEnabled=false}
DEBUG [2019-01-09 11:05:50.14]: [Transporter]: DBG-X:   parameter ProviderName = 43NJL3YWA4
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X:   parameter FilesToUpload = [metadata.xml, 6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa]
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X:   parameter AssetsToDescribe = [{Role=source, Filename=6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa, ShouldDescribeAsset=true, UTI=com.apple.ipa}]
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X:   parameter CPUToken = 4656f8d2-7fbf-41f2-a62f-f77be6f4ea96/1547028335998
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X:   parameter Checksums = {6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa=2449f982f55cf62dc0424cb5ebc999d8}
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X:   parameter SigniantLoggingLevel = INFO
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X:   parameter WebDavServerName = https://itmsdav.apple.com:443
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X:   parameter FileSizes = {6c9ff9c8fe1e080e5266ce365481adca16470e5e671beb29173558289163e0ba.ipa=26863238}
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X:   parameter NewPackageName = 1281897445-20190109020536-980.itmsp
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X:   parameter Warnings = [WARNING ITMS-90076: "Potential Loss of Keychain Access. The previous version of software has an application-identifier value of [''] and the new version of software being submitted has an application-identifier of ['']. This will result in a loss of keychain access.", WARNING ITMS-90725: "SDK Version Issue. This app was built with the iOS 11.2 SDK. Starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later."]
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X:   parameter ProviderNameForToken =
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X:   parameter WebDavFolderPath = /6//uploading
DEBUG [2019-01-09 11:05:50.15]: [Transporter]: DBG-X: JSON-START>>{"dev-id-results":{"upload_id":"47dc6de0-77ee-4aba-b50d-4ee4e53ac15a"}}<)
INFO [2019-01-09 11:06:06.14]: โœ…  Passed: Incorrect, or missing copyright date
INFO [2019-01-09 11:06:08.48]: โœ…  Passed: No broken urls
INFO [2019-01-09 11:06:08.48]: precheck ๐Ÿ‘ฎโ€โ™€๏ธ ๐Ÿ‘ฎ  finished without detecting any potential problems ๐Ÿ›ซ
INFO [2019-01-09 11:06:09.55]: Selecting the latest build...
INFO [2019-01-09 11:06:11.13]: Selecting build 1.0.2 (41017)...
INFO [2019-01-09 11:06:12.58]: Successfully selected build
INFO [2019-01-09 11:06:12.58]: Submitting the app for review...
INFO [2019-01-09 11:06:20.09]: Successfully submitted the app for review!
INFO [2019-01-09 11:06:20.09]: Successfully generated documentation at path '/fastlane/README.md'

+------+------------------+-------------+
|           fastlane summary            |
+------+------------------+-------------+
| Step | Action           | Time (in s) |
+------+------------------+-------------+
| 1    | default_platform | 0           |
| 2    | deliver          | 262         |
+------+------------------+-------------+

DEBUG [2019-01-09 11:06:20.10]: All plugins are up to date
INFO [2019-01-09 11:06:20.10]: fastlane.tools finished successfully ๐ŸŽ‰
DEBUG [2019-01-09 11:06:20.10]: All plugins are up to date
 

Environment

 
โœ… fastlane environment โœ… ### Stack | Key | Value | | --------------------------- | -------------------------------------------------------------- | | OS | 10.13.6 | | Ruby | 2.3.7 | | Bundler? | true | | Git | git version 2.14.3 (Apple Git-98) | | Installation Source | /usr/local/bin/fastlane | | Host | Mac OS X 10.13.6 (17G4015) | | Ruby Lib Dir | /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib | | OpenSSL Version | LibreSSL 2.2.7 | | Is contained | false | | Is homebrew | false | | Is installed via Fabric.app | false | | Xcode Path | /Applications/Xcode.app/Contents/Developer/ | | Xcode Version | 9.2 | ### System Locale | Variable | Value | | | -------- | ----------- | - | | LANG | en_US.UTF-8 | โœ… | | LC_ALL | en_US.UTF-8 | โœ… | | LANGUAGE | | | ### fastlane files:
`./fastlane/Fastfile` ```ruby # This file contains the fastlane.tools configuration # You can find the documentation at https://docs.fastlane.tools # # For a list of all available actions, check out # # https://docs.fastlane.tools/actions # # For a list of all available plugins, check out # # https://docs.fastlane.tools/plugins/available-plugins # # Uncomment the line if you want fastlane to automatically update itself #bundle exec update_fastlane default_platform(:ios) platform :ios do desc "Lane used for uploading renamed dsym file to appcenter" lane :upload_dsym_only do |options| appcenter_upload( api_token: ENV["APPCENTER_API_TOKEN"], owner_name: ENV["APPCENTER_OWNER_NAME"], app_name: "", upload_dsym_only: true, dsym: options[:dsymPath] ) end platform :ios do desc "Lane for updating apps under acc" lane :update_mylaps_app do |options| #UI.message(print(metadata_path)) produce( username: options[:username], app_identifier: options[:app_identifier], team_id: options[:team_id], skip_itc: "true", skip_devcenter: "true", enable_services: { push_notification: "on" } ) pem( username: options[:username], app_identifier: options[:app_identifier], active_days_limit: "270", p12_password: "", generate_p12: true, #force: true ) cert( username: options[:username], team_id: options[:team_id] ) sigh( username: options[:username], app_identifier: options[:app_identifier], #readonly: true, force: true ) deliver( username: options[:username], app_identifier: options[:app_identifier], app_version: options[:versionNumber], team_id: options[:team_id], ipa: options[:ipa], force: true ) end desc "Lane for updating .... account" lane :update_appmanager_app do |options| #UI.message(print(metadata_path)) produce( username: options[:username], app_name: options[:app_name], app_identifier: options[:app_identifier], team_id: options[:team_id], itc_team_id: options[:itc_provider], enable_services: { push_notification: "on" } ) pem( username: options[:username], app_identifier: options[:app_identifier], active_days_limit: "270", p12_password: "", generate_p12: true, #force: true ) cert( username: options[:username], team_id: options[:team_id], #dev_portal_team_id: options[:team_id] ) sigh( username: options[:username], app_identifier: options[:app_identifier], #readonly: true, force: true ) deliver( username: options[:username], app_identifier: options[:app_identifier], app_version: options[:versionNumber], team_id: options[:itc_provider], dev_portal_team_id: options[:team_id], ipa: options[:ipa], force: true ) end desc "Lane for creating new apps under an account managed by appmanager" lane :create_new_appmanager_app do |options| UI.message(options[:company]) produce( username: options[:username], app_name: options[:app_name], app_identifier: options[:app_identifier], team_id: options[:itc_provider], itc_team_id: options[:team_id], company_name: options[:company], enable_services: { push_notification: "on" } ) pem( username: options[:username], app_identifier: options[:app_identifier], active_days_limit: "270", p12_password: "nice push notification password", generate_p12: true, #force: true ) cert( username: options[:username], team_id: options[:itc_provider], #dev_portal_team_id: options[:team_id] keychain_password: "" ) sigh( username: options[:username], app_identifier: options[:app_identifier], #readonly: true, force: true ) end desc "Uploading deliverables for new apps under appmanager account" lane :upload_new_appmanager_app do |options| deliver( username: options[:username], app_identifier: options[:app_identifier], app_version: options[:versionNumber], team_id: options[:team_id], dev_portal_team_id: options[:itc_provider], ipa: options[:ipa], force: true ) end end end ```
**No Appfile found** ### fastlane gems | Gem | Version | Update-Status | | -------- | ------- | ------------- | | fastlane | 2.113.0 | โœ… Up-To-Date | ### Loaded fastlane plugins: | Plugin | Version | Update-Status | | ------------------------- | ------- | ------------- | | fastlane-plugin-appcenter | 0.1.7 | โœ… Up-To-Date |
Loaded gems | Gem | Version | | ------------------------- | ------------ | | did_you_mean | 1.0.0 | | bundler | 1.17.1 | | io-console | 0.4.5 | | CFPropertyList | 3.0.0 | | public_suffix | 2.0.5 | | addressable | 2.5.2 | | atomos | 0.1.3 | | babosa | 1.0.2 | | claide | 1.0.2 | | coderay | 1.1.2 | | colored | 1.2 | | colored2 | 3.1.2 | | highline | 1.7.10 | | commander-fastlane | 4.4.6 | | declarative | 0.0.10 | | declarative-option | 0.1.0 | | digest-crc | 0.4.1 | | unf_ext | 0.0.7.5 | | unf | 0.1.4 | | domain_name | 0.5.20180417 | | dotenv | 2.6.0 | | emoji_regex | 0.1.1 | | excon | 0.62.0 | | multipart-post | 2.0.0 | | faraday | 0.15.4 | | http-cookie | 1.0.3 | | faraday-cookie_jar | 0.0.6 | | faraday_middleware | 0.12.2 | | fastimage | 2.1.5 | | gh_inspector | 1.1.3 | | jwt | 2.1.0 | | memoist | 0.16.0 | | multi_json | 1.13.1 | | os | 1.0.0 | | signet | 0.11.0 | | googleauth | 0.6.7 | | httpclient | 2.8.3 | | mime-types-data | 3.2018.0812 | | mime-types | 3.2.2 | | uber | 0.1.0 | | representable | 3.0.4 | | retriable | 3.1.2 | | google-api-client | 0.23.9 | | google-cloud-env | 1.0.5 | | google-cloud-core | 1.2.7 | | google-cloud-storage | 1.15.0 | | json | 2.1.0 | | mini_magick | 4.5.1 | | multi_xml | 0.6.0 | | plist | 3.5.0 | | rubyzip | 1.2.2 | | security | 0.1.3 | | naturally | 2.2.0 | | simctl | 1.6.5 | | slack-notifier | 2.3.2 | | terminal-notifier | 1.8.0 | | unicode-display_width | 1.4.1 | | terminal-table | 1.8.0 | | tty-screen | 0.6.5 | | tty-cursor | 0.6.0 | | tty-spinner | 0.9.0 | | word_wrap | 1.0.0 | | nanaimo | 0.2.6 | | xcodeproj | 1.7.0 | | rouge | 2.0.7 | | xcpretty | 0.3.0 | | xcpretty-travis-formatter | 1.0.0 | | fastlane-plugin-appcenter | 0.1.7 | | method_source | 0.9.2 | | pry | 0.12.2 |
*generated on:* **2019-01-09**
joshdholtz commented 5 years ago

@PkcDom23 Heyyyy ๐Ÿ‘‹ What version/build of your app are you trying to submit and what version/build of your app is it actually submitting? By looking at your output it looks like its trying to submit 2.0.0. Would you happen to send over a screenshot of the "Activity" page from App Store Connect expanded with all of the versions and builds that it is showing you?

PkcDom23 commented 5 years ago

Hello! Sure thing, here you go:

image

Hope it helps.

Deliver submitted the 41017 (appstore version 1.0.2) version (uploaded to appstore in november, but the whole update was rejected, but not because of invalid binary, so the build stayed in there as a candidate) Yet deliver uploaded the 41018 (appstore version 2.0.0), but just did not wait for it to process, and submitted the 41017 build to the appstore 2.0.0 version instead.

joshdholtz commented 5 years ago

@PkcDom23 Thank you! That formation helps clear up some things on my side ๐Ÿ˜Š And yes yes, that is definitely a problem ๐Ÿค”

So we now need to figure out why deliver is doing this ๐Ÿ˜ฑ

INFO [2019-01-09 11:06:09.55]: Selecting the latest build...
INFO [2019-01-09 11:06:11.13]: Selecting build 1.0.2 (41017)...
INFO [2019-01-09 11:06:12.58]: Successfully selected build

I'll work on investigating what could be causing this error ๐Ÿค”

fastlane-bot commented 5 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:

PkcDom23 commented 5 years ago

Bug is still present, pls dont close

seanrogs commented 5 years ago

We're experiencing this issue also, for about a month now. Here's the output from one of our jobs:

+--------------------------------------+------------------------+
|                    deliver 2.117.1 Summary                    |
+--------------------------------------+------------------------+
...
| app_version                          | 1.11.19                |
| build_number                         | 7                      |
...
+--------------------------------------+------------------------+

[10:28:13]: Making sure the latest version on App Store Connect matches '1.11.19' from the ipa file...
[10:28:22]: Successfully set the version to '1.11.19'
...
[10:30:48]: Selecting existing build-number: 7
[10:30:51]: Selecting build 1.11.18 (7)...
[10:30:56]: Successfully selected build
[10:30:56]: Submitting the app for review...
[10:31:20]: Successfully submitted the app for review!

Actually after pasting that and looking back at our logs, it seems like it always chooses the previous version number but for the same build number. So I've uploaded 1.11.19 (7) but it instead selects 1.11.18 (7). Although that doesn't seem to match @PkcDom23 's experience, so maybe this is a different issue.

fastlane-bot commented 5 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:

fastlane-bot commented 5 years ago

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem :+1: