fastlane: Cannot update languages - could not find an editable version for 'IOS'
New Issue Checklist
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read docs.fastlane.tools
- I searched for existing GitHub issues
Issue Description
- Started with
fastlane deliver initfor new project. - After
fastlane deliver --forceand partial progress I gets:
[!] Cannot update languages - could not find an editable version for ‘IOS’
Let’s a full log below:
[17:47:07]: Login to App Store Connect (...)
[17:47:10]: Login successful
+--------------------------------------+---------------------------+
| deliver 2.154.0 Summary |
+--------------------------------------+---------------------------+
| force | true |
| screenshots_path | ./fastlane/screenshots |
| metadata_path | ./fastlane/metadata |
| username | ... |
| app_identifier | ... |
| platform | ios |
| edit_live | false |
| use_live_version | false |
| skip_binary_upload | false |
| skip_screenshots | false |
| skip_metadata | false |
| skip_app_version_update | false |
| overwrite_screenshots | false |
| submit_for_review | false |
| reject_if_possible | false |
| automatic_release | false |
| phased_release | false |
| reset_ratings | false |
| team_id | ... |
| dev_portal_team_id | ... |
| run_precheck_before_submit | true |
| precheck_default_rule_level | warn |
| ignore_language_directory_validation | false |
| precheck_include_in_app_purchases | true |
+--------------------------------------+---------------------------+
[17:47:15]: Loading './fastlane/metadata/en-US/description.txt'...
[17:47:15]: Loading './fastlane/metadata/en-US/keywords.txt'...
[17:47:15]: Loading './fastlane/metadata/en-US/release_notes.txt'...
[17:47:15]: Loading './fastlane/metadata/en-US/support_url.txt'...
[17:47:15]: Loading './fastlane/metadata/en-US/marketing_url.txt'...
[17:47:15]: Loading './fastlane/metadata/en-US/promotional_text.txt'...
[17:47:15]: Loading './fastlane/metadata/en-US/name.txt'...
[17:47:15]: Loading './fastlane/metadata/en-US/subtitle.txt'...
[17:47:15]: Loading './fastlane/metadata/en-US/privacy_url.txt'...
[17:47:15]: Loading './fastlane/metadata/en-US/apple_tv_privacy_policy.txt'...
[17:47:15]: Loading './fastlane/metadata/copyright.txt'...
[17:47:15]: Loading './fastlane/metadata/primary_category.txt'...
[17:47:15]: Loading './fastlane/metadata/secondary_category.txt'...
[17:47:15]: Loading './fastlane/metadata/primary_first_sub_category.txt'...
[17:47:15]: Loading './fastlane/metadata/primary_second_sub_category.txt'...
[17:47:15]: Loading './fastlane/metadata/secondary_first_sub_category.txt'...
[17:47:15]: Loading './fastlane/metadata/secondary_second_sub_category.txt'...
[17:47:15]: Loading './fastlane/metadata/review_information/first_name.txt'...
[17:47:15]: Loading './fastlane/metadata/review_information/last_name.txt'...
[17:47:15]: Loading './fastlane/metadata/review_information/phone_number.txt'...
[17:47:15]: Loading './fastlane/metadata/review_information/email_address.txt'...
[17:47:15]: Loading './fastlane/metadata/review_information/demo_user.txt'...
[17:47:15]: Loading './fastlane/metadata/review_information/demo_password.txt'...
[17:47:15]: Loading './fastlane/metadata/review_information/notes.txt'...
[!] Cannot update languages - could not find an editable version for 'IOS'
AppStoreConnect app language is en-US.
Thanks in advance, Maciej
Command executed
Complete output when running fastlane, including the stack trace and command used
Environment
### fastlane gems
| Gem | Version | Update-Status |
|---|---|---|
| fastlane | 2.154.0 | ✅ Up-To-Date |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
| Gem | Version |
|---|---|
| did_you_mean | 1.4.0 |
| slack-notifier | 2.3.2 |
| atomos | 0.1.3 |
| claide | 1.0.3 |
| colored2 | 3.1.2 |
| nanaimo | 0.2.6 |
| xcodeproj | 1.14.0 |
| rouge | 2.0.7 |
| xcpretty | 0.3.0 |
| terminal-notifier | 2.0.0 |
| unicode-display_width | 1.6.0 |
| terminal-table | 1.8.0 |
| plist | 3.5.0 |
| public_suffix | 2.0.5 |
| addressable | 2.7.0 |
| multipart-post | 2.0.0 |
| word_wrap | 1.0.0 |
| tty-screen | 0.7.0 |
| tty-cursor | 0.7.0 |
| tty-spinner | 0.9.2 |
| babosa | 1.0.3 |
| colored | 1.2 |
| highline | 1.7.10 |
| commander-fastlane | 4.4.6 |
| unf_ext | 0.0.7.6 |
| unf | 0.1.4 |
| domain_name | 0.5.20190701 |
| http-cookie | 1.0.3 |
| faraday-cookie_jar | 0.0.6 |
| faraday | 1.0.1 |
| faraday_middleware | 1.0.0 |
| gh_inspector | 1.1.3 |
| json | 2.1.0 |
| mini_magick | 4.9.5 |
| rubyzip | 2.3.0 |
| security | 0.1.3 |
| xcpretty-travis-formatter | 1.0.0 |
| naturally | 2.2.0 |
| simctl | 1.6.7 |
| jwt | 2.1.0 |
| uber | 0.1.0 |
| declarative-option | 0.1.0 |
| representable | 3.0.4 |
| retriable | 3.1.2 |
| mini_mime | 1.0.2 |
| httpclient | 2.8.3 |
| google-api-client | 0.38.0 |
| google-cloud-core | 1.4.1 |
| google-cloud-storage | 1.25.0 |
| CFPropertyList | 3.0.2 |
| excon | 0.76.0 |
| fastimage | 2.2.0 |
| dotenv | 2.7.6 |
| bundler | 2.1.4 |
| declarative | 0.0.20 |
| multi_json | 1.14.1 |
| signet | 0.14.0 |
| os | 1.0.1 |
| memoist | 0.16.2 |
| googleauth | 0.13.0 |
| google-cloud-env | 1.3.3 |
| rake | 13.0.1 |
| digest-crc | 0.6.1 |
| emoji_regex | 3.0.0 |
| aws-eventstream | 1.1.0 |
| aws-sigv4 | 1.2.1 |
| aws-partitions | 1.350.0 |
| jmespath | 1.4.0 |
| aws-sdk-core | 3.104.3 |
| aws-sdk-kms | 1.36.0 |
| aws-sdk-s3 | 1.75.0 |
| forwardable | 1.3.1 |
| logger | 1.3.0 |
| stringio | 0.0.2 |
| ipaddr | 1.2.2 |
| openssl | 2.1.2 |
| ostruct | 0.1.0 |
| strscan | 1.0.0 |
| date | 2.0.0 |
| fileutils | 1.4.1 |
| io-console | 0.4.7 |
| zlib | 1.0.0 |
| libxml-ruby | 3.1.0 |
| rexml | 3.1.9 |
| psych | 3.1.0 |
| mutex_m | 0.1.0 |
| webrick | 1.4.2 |
generated on: 2020-08-04
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 18
- Comments: 37 (15 by maintainers)
Hey fam! I wasn’t able to reproduce this exact case when running in my test projects but I think I have a fix for this in #17235 👇
If somebody is able to test this out and see if it works that would be ❤️
Testing Steps
Update
Gemfileand runbundle install,bundle update fastlane, orbundle updateI think I will update the description to read as
Don’t created or update the app version that is being prepared for submissionThat reads much better 😇
I’m having the same issue. I have over 300+ apps to update and fastlane is stopping with this error after a few apps. Very frustrating.
I’m getting the same issue here. I confirmed that the error is intermittent, but it’s causing about 50% of all of my builds to occasionally fail on this step, so it’s really slowing down our build process. Does anyone have a fix for this?
For the record, we’re also experiencing the same behavior on the same version even with an explicit app version being specified. For us, a follow-up attempt resulted in success without the need for manual intervention.
I am having the same issue on 2.156.1
I tried adding the following to the
deliveraction but both failed:app_version: lane_context[SharedValues::LATEST_VERSION]app_version: get_version_number(target: target)Neither of the above worked for me. However, whenever I get this error, a rerun usually fixes the error. This happens on about 30% of our builds.
Having the same issue with 2.156.1.
confirmed. having same issue with
v2.152.0The pull request #17235 that closed this issue was merged and released as part of fastlane 2.160.0 🚀 Please let us know if the functionality works as expected as a reply here. If it does not, please open a new issue. Thanks!
@joshdholtz It’s not clear what
skip_app_version_updatedoes. I suspect it’s there to prevent the change of an already set value at the store, should be this?@ppamorim Thanks for the feedback! It looks like you have
skip_app_version_update: true… I think that is the reason its not creating the new version for you 🤔@joshdholtz Feels like this is not working, take a look:
Fastlane:
Build:
No build 1.3.4 created:
My script to request the review is:
On App Store Connect, there is no 1.3.4 version created (as it used in the past), seems like Fastlane is not creating the release anymore.
EDIT:
Found a workaround, seems that Fastlane is not doing this anymore:
I had to create the versions manually and then run the script. Now all the apps are being sent to review. Not nice since I need to do a bit of manual work.
@rogerluan Everything is sync but the data on the App Store Connect API backend needs some time to process (from what I’ve experienced) so that could be what is happening here.
Hello, I’m here starting my workday now! It seems like there could be a race condition. I’ve experience a few things like this before with our latest App Store Connect API migrations. I fixed it in another place but I will add in a retry loop that this morning that hopefully fixes this!
I’ll work on the fix now and get a branch out for you all to try!
@rogerluan Thanks for the ping! ❤️
@joshdholtz I quickly debugged this and my guts tell me this is a race condition between “new app version creation” and “reading the app versions” - either on our end or Apple’s. Hopefully it’s on our end. Do you know if this line executes synchronously or async? https://github.com/rogerluan/fastlane/blame/master/spaceship/lib/spaceship/connect_api/tunes/tunes.rb#L760
A next testing step would be to create a standalone script that simply creates a new app version and then subsequently reads “latest editable app version” to see if they match. If the call above happens sync, then maybe Apple’s API doesn’t refresh the results when a new version is created in a timely manner. Or there’s caching involved - I don’t know enough about fastlane’s architecture to know what it does under the hood to perform those web requests.
This seems to be affecting many people, we’d all appreciate if you could take a deeper dive into this 🙏 count me in to help debugging or testing, I’ll help as much as I can 💪
I faced this error too. Simply retrying worked just fine, with no changes.
Got this error too. Working fine by creating manually the new version on iTunes Connect.