fastlane-old / deliver

Upload screenshots, metadata and your app to the App Store using a single command
https://fastlane.tools
2.24k stars 162 forks source link

deliver Fails to create new version #596

Closed ConfusedVorlon closed 8 years ago

ConfusedVorlon commented 8 years ago

1) about a fortnight ago, I submitted a new built to testflight (using deliver) this was build 5.20(83)

2) in the main listing, there is only the previous build 5.10 (no new build has been created)

3) I submit an update with fastlane deliver and the following:

deliver( skip_binary_upload: true, skip_screenshots: true, submit_for_review: true)

expected: -Deliver uses the most recently submitted build -5.20 (83) -Deliver creates a new release (5.20) -Deliver updates the metadata

actual Could not find a version to edit for app 'VLC Streamer Free', the app metadata is read-only currently

using deliver 1.10.3

If I manually create a new version (5.20) and re-run the command, then it submits manually.

But -oh, the horror. Having to manually log into iTunes connect. It feels like the pre-deliver dark ages ;)

ConfusedVorlon commented 8 years ago
Retina-iMac:fastlane rob$ fastlane submit --env free
[12:53:26]: -------------------------------------------------
[12:53:26]: --- Step: Verifying required fastlane version ---
[12:53:26]: -------------------------------------------------
[12:53:26]: fastlane version valid
[12:53:26]: ------------------------------
[12:53:26]: --- Step: default_platform ---
[12:53:26]: ------------------------------
[12:53:26]: Loading from './.env.free'
[12:53:26]: Driving the lane 'ios submit' 🚀
[12:53:26]: ---------------------
[12:53:26]: --- Step: deliver ---
[12:53:26]: ---------------------
[12:53:27]: Login to iTunes Connect (hobbyist@hobbyistsoftware.com)
[12:53:31]: Login successful

+--------------------+--------------------------------------+
|                  deliver 1.10.3 Summary                   |
+--------------------+--------------------------------------+
| username           | hobbyist@hobbyistsoftware.com        |
| app_identifier     | com.HobbyistSoftware.VLCStreamerFree |
| metadata_path      | ./fastlane/free/metadata/            |
| screenshots_path   | ./fastlane/free/screenshots/         |
| skip_binary_upload | true                                 |
| skip_screenshots   | true                                 |
| skip_metadata      | false                                |
| force              | false                                |
| submit_for_review  | true                                 |
| automatic_release  | false                                |
| copyright          | 2016 Hobbyist Software Ltd.          |
+--------------------+--------------------------------------+

[12:53:32]: Loading './fastlane/free/metadata/default/description.txt'...
[12:53:32]: Loading './fastlane/free/metadata/default/release_notes.txt'...
[12:53:32]: Loading './fastlane/free/metadata/primary_category.txt'...
[12:53:32]: Loading './fastlane/free/metadata/secondary_category.txt'...
[12:53:32]: Loading './fastlane/free/metadata/primary_first_sub_category.txt'...
[12:53:32]: Loading './fastlane/free/metadata/primary_second_sub_category.txt'...
[12:53:32]: Loading './fastlane/free/metadata/secondary_first_sub_category.txt'...
[12:53:32]: Loading './fastlane/free/metadata/secondary_second_sub_category.txt'...
[12:53:32]: Detected languages: ["default", "de-DE", "el", "en-US", "es-ES", "fr-FR", "it", "ms", "nl-NL", "pt-PT", "ru", "sv", "tr"]
[12:53:32]: Verifying the upload via the HTML file can be disabled by either adding
[12:53:32]: `force true` to your Deliverfile or using `deliver --force`
Does the Preview on path './Preview.html' look okay for you? (y/n)
y
[12:53:43]: HTML file confirmed...
[12:53:43]: Variable Dump:
[12:53:43]: {:DEFAULT_PLATFORM=>:ios, :ENVIRONMENT=>"free", :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios submit"}
[12:53:43]: Could not find a version to edit for app 'VLC Streamer Free', the app metadata is read-only currently

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | deliver                             | 17          |
+------+-------------------------------------+-------------+

[12:53:43]: fastlane finished with errors

[!] Could not find a version to edit for app 'VLC Streamer Free', the app metadata is read-only currently
KrauseFx commented 8 years ago

Did you define a app_version in your Deliverfile or Fastfile?

ConfusedVorlon commented 8 years ago

No - I didn't. I assumed that deliver would figure that out from the 'use the most recent build' approach. Is that incorrect?

ffittschen commented 8 years ago

@ConfusedVorlon @KrauseFx I just ran into the same issue. Adding app_version fixed it for me! Maybe the error message could be extended with this hint?

fastlane-bot commented 8 years ago

This issue was migrated to https://github.com/fastlane/fastlane/issues/1517. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo :rocket: