Closed TsplayerT closed 1 year ago
Hi @TsplayerT thank you for the question, AppStoreRelease Task using fastline for creating releases, so the schema is the same, and your file tree looks correct, but support URL now required option according to AppStore policy at least for production releases, and must lead to actual contact information, so the error you get is not from task or fastline, but from apple. As I see in fastline examples URL should be valid and available. So in your case, it may be that URL is not available
@DmitriiBobreshev I understand how it works, it really looks like an error returned by the Apple system API but I keep getting an error using a website URL that is live, using the https
protocol, with the certificates and domain updated and correct 😢
I tried using a URL something like this: https://mediawiki.org/
Can you tell me where you have an example repository using this Azure DevOps Pipelines task making continuous delivery of a Xamarin.iOS
application to the Apple store?
Hi @TsplayerT, unfortunately, we don't have an application which we are publishing to AppStore, so we don't have an example with releaseTrack: 'Production'
and metadata configuration, the only example that we have is how to deploy Xcode article, but this case for releaseTrack: 'TestFlight'
@TsplayerT are you able to set the "Support URL" manually on App Store Connect?
@max-zaytsev yes, I can set the URL manually by AppStoreConnect
@TsplayerT your example "https://example.com.br/" works fine for me. The issue is reproduced when there is a broken link like "htpp:/example" in folders with localization (en-US, es-MX, etc.) Please check that you have the same link (https://example.com.br/ ) in all support_url.txt files
@TsplayerT did you manage to resolve your issue?
@TsplayerT Closing this as it doesn't look like a problem with the task.
@max-zaytsev I managed to solve the problem by leaving only 1 file support_url.txt
and located in the default
folder.
I have a Xamarin.iOS application that I want to automate the release of new versions in the store. I use
Azure DevOps Pipelines
with themacos-12
agent (2.211.1) with this task (1.207.0):The problem is that when the support_url.txt file exists in the default metadata folder, the error occurs:
An attribute value is invalid. - The Support URL you entered is invalid. Check the URL and try again
Without this file, the error I believe to be expected occurs:
The provided entity is missing a required attribute - You must provide a value for the attribute 'supportUrl' with this request
More info
This is the run log
``` 2022-11-05T09:06:44.4298620Z ##[section]Starting: Distribute on AppStore 2022-11-05T09:06:44.4316380Z ============================================================================== 2022-11-05T09:06:44.4316890Z Task : Apple App Store Release 2022-11-05T09:06:44.4317280Z Description : Release an app to TestFlight or the Apple App Store 2022-11-05T09:06:44.4317600Z Version : 1.207.0 2022-11-05T09:06:44.4318080Z Author : Microsoft Corporation 2022-11-05T09:06:44.4318540Z Help : [More Information](https://marketplace.visualstudio.com/items?itemName=ms-vsclient.app-store) 2022-11-05T09:06:44.4319110Z ============================================================================== 2022-11-05T09:06:45.3555050Z Precheck will not check In-app purchases because Fastlane doesn't support it with the App Store Connect API Key. 2022-11-05T09:06:45.3591020Z [command]/usr/local/lib/ruby/gems/3.0.0/bin/fastlane deliver --force --precheck_include_in_app_purchases false --api_key_path /Users/runner/work/_temp/api_key.json -a br.com.company.app -i /Users/runner/work/1/s/Source/Mobile.iOS/bin/iPhone/Release/Mobile.iOS.ipa -j ios -m /Users/runner/work/1/s/Source/Mobile/Recurso/Metadata --skip_screenshots true -k 88SAC2QTFA --submit_for_review true --automatic_release true --submission_information {"add_id_info_uses_idfa": false} --verbose 2022-11-05T09:06:47.4885730Z [09:06:47]: [33mGet started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile[0m 2022-11-05T09:06:50.3493400Z INFO [2022-11-05 09:06:50.34]: Sending anonymous analytics information 2022-11-05T09:06:50.3594530Z INFO [2022-11-05 09:06:50.34]: Learn more at https://docs.fastlane.tools/#metrics 2022-11-05T09:06:50.3702710Z INFO [2022-11-05 09:06:50.34]: No personal or sensitive data is sent. 2022-11-05T09:06:50.3805370Z INFO [2022-11-05 09:06:50.34]: You can disable this by adding `opt_out_usage` at the top of your Fastfile 2022-11-05T09:06:50.3953920Z INFO [2022-11-05 09:06:50.39]: Creating authorization token for App Store Connect API 2022-11-05T09:06:51.6571060Z 2022-11-05T09:06:51.6616040Z +----------------------------------------------+--------------------------------------------------------------------------------------+ 2022-11-05T09:06:51.6617520Z | deliver 2.210.1 Summary | 2022-11-05T09:06:51.6618880Z +----------------------------------------------+--------------------------------------------------------------------------------------+ 2022-11-05T09:06:51.6619970Z | force | true | 2022-11-05T09:06:51.6622120Z | precheck_include_in_app_purchases | false | 2022-11-05T09:06:51.6623140Z | api_key_path | /Users/runner/work/_temp/api_key.json | 2022-11-05T09:06:51.6624300Z | app_identifier | br.com.company.app | 2022-11-05T09:06:51.6625320Z | ipa | /Users/runner/work/1/s/Source/Mobile.iOS/bin/iPhone/Release/Mobile.iOS.ipa | 2022-11-05T09:06:51.6626260Z | platform | ios | 2022-11-05T09:06:51.6627180Z | metadata_path | /Users/runner/work/1/s/Source/Mobile/Recurso/Metadata | 2022-11-05T09:06:51.6628120Z | skip_screenshots | true | 2022-11-05T09:06:51.6628980Z | team_id | 88SAC2QTFA | 2022-11-05T09:06:51.6630660Z | submit_for_review | true | 2022-11-05T09:06:51.6631550Z | automatic_release | true | 2022-11-05T09:06:51.6632460Z | submission_information.add_id_info_uses_idfa | false | 2022-11-05T09:06:51.6633380Z | screenshots_path | ./screenshots | 2022-11-05T09:06:51.6634270Z | app_version | 20221105.7 | 2022-11-05T09:06:51.6635130Z | edit_live | false | 2022-11-05T09:06:51.6635980Z | use_live_version | false | 2022-11-05T09:06:51.6636850Z | skip_binary_upload | false | 2022-11-05T09:06:51.6637700Z | skip_metadata | false | 2022-11-05T09:06:51.6638570Z | skip_app_version_update | false | 2022-11-05T09:06:51.6639840Z | overwrite_screenshots | false | 2022-11-05T09:06:51.6640710Z | sync_screenshots | false | 2022-11-05T09:06:51.6641560Z | verify_only | false | 2022-11-05T09:06:51.6642420Z | reject_if_possible | false | 2022-11-05T09:06:51.6643270Z | phased_release | false | 2022-11-05T09:06:51.6644120Z | reset_ratings | false | 2022-11-05T09:06:51.6645000Z | run_precheck_before_submit | true | 2022-11-05T09:06:51.6645890Z | precheck_default_rule_level | warn | 2022-11-05T09:06:51.6646900Z | ignore_language_directory_validation | false | 2022-11-05T09:06:51.6648200Z +----------------------------------------------+--------------------------------------------------------------------------------------+ 2022-11-05T09:06:51.6648940Z 2022-11-05T09:06:51.6650020Z INFO [2022-11-05 09:06:51.66]: Making sure the latest version on App Store Connect matches '20221105.7'... 2022-11-05T09:06:52.1301560Z INFO [2022-11-05 09:06:52.11]: Successfully set the version to '20221105.7' 2022-11-05T09:06:52.1354600Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/default/description.txt'... 2022-11-05T09:06:52.1362420Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/default/keywords.txt'... 2022-11-05T09:06:52.1367860Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/default/release_notes.txt'... 2022-11-05T09:06:52.1470030Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/default/support_url.txt'... 2022-11-05T09:06:52.1573310Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/default/promotional_text.txt'... 2022-11-05T09:06:52.1675740Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/en-US/description.txt'... 2022-11-05T09:06:52.1778140Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/en-US/keywords.txt'... 2022-11-05T09:06:52.1880340Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/en-US/release_notes.txt'... 2022-11-05T09:06:52.1982810Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/en-US/support_url.txt'... 2022-11-05T09:06:52.2085220Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/en-US/promotional_text.txt'... 2022-11-05T09:06:52.2187620Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/es-MX/description.txt'... 2022-11-05T09:06:52.2290130Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/es-MX/keywords.txt'... 2022-11-05T09:06:52.2317150Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/es-MX/release_notes.txt'... 2022-11-05T09:06:52.2342390Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/es-MX/support_url.txt'... 2022-11-05T09:06:52.2369550Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/es-MX/promotional_text.txt'... 2022-11-05T09:06:52.2394690Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/pt-BR/description.txt'... 2022-11-05T09:06:52.2416010Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/pt-BR/keywords.txt'... 2022-11-05T09:06:52.2421630Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/pt-BR/release_notes.txt'... 2022-11-05T09:06:52.2444610Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/pt-BR/support_url.txt'... 2022-11-05T09:06:52.2445960Z INFO [2022-11-05 09:06:52.12]: Loading '/Users/runner/work/1/s/Source/Mobile/Recurso/Metadata/pt-BR/promotional_text.txt'... 2022-11-05T09:06:52.2470640Z INFO [2022-11-05 09:06:52.12]: Detected languages: ["default", "en-US", "es-MX", "pt-BR"] 2022-11-05T09:06:57.1248180Z WARN [2022-11-05 09:06:57.12]: Will begin uploading metadata for '20221105.7' on App Store Connect 2022-11-05T09:06:57.1249950Z INFO [2022-11-05 09:06:57.12]: Uploading metadata to App Store Connect for version 2022-11-05T09:07:00.2844170Z INFO [2022-11-05 09:07:00.28]: Uploading metadata to App Store Connect for localized version 'en-US' 2022-11-05T09:07:00.3952510Z INFO [2022-11-05 09:07:00.28]: Uploading metadata to App Store Connect for localized version 'pt-BR' 2022-11-05T09:07:00.3990190Z INFO [2022-11-05 09:07:00.28]: Uploading metadata to App Store Connect for localized version 'es-MX' 2022-11-05T09:07:00.5784600Z #sample content of file support_url.txt
`https://example.com.br/`file tree
![error-appstorerelease-direc](https://user-images.githubusercontent.com/6465230/200124238-96c5c067-3975-4fea-86bb-9a89a2a369dc.png)Can you help me please? 😞