-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deliver error for App containing an App Clip #17639
Comments
@EmDee There is not at the moment but I will see what we can do for adding that 😊 |
Awesome! Thanks for all your amazing work here! |
@joshdholtz It looks like the error only occurs the first time around. Subsequent uploads after I've added all the App Clips info in App Store Connect were successful. |
I'll take the last statement back. For today's upload I got the same error again. The "advanced App Clip experiences" are persisted correctly across updates, but the "standard App Clip" (screenshot, title and action) need to be set with each new app update. |
@fastlane-bot Nope, not fixed yet. |
I'm going to add this on my list this/next week to figure out! I have never made an app clip before so I will have to get a project created with that inside of it first 😇 |
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 Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with |
@fastlane-bot Not fixed yet, mr. bot |
I started looking at this error by using a sample app having App Clip. It looks like the app submission with metadata for App Clip updated "manually" just works on my end. I'm assuming as @EmDee mentioned #17639 (comment) this would be the case for now. (Let's hope this will be improved by WWDC 2021😇 ) Maybe we need to create additional behaviour in 🍎 has got "feature rich" app including App Clip I used this to test submission🙂 |
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 Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with This issue will be auto-closed if there is no reply within 1 month. |
@fastlane-bot not fixed. |
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 Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with This issue will be auto-closed if there is no reply within 1 month. |
@fastlane-bot Not fixed. |
I've created a PR to add App Clips support to spaceship. #19043 |
@fastlane-bot Not done. |
I think this is the crux of the issue, but to be clear it seems to be an shortcoming of the ASC API versus There are some app clips related endpoints which seem to allow for creating a new app clip default experience using previous release's as a template and then attaching that to the new version, but still figuring out how that could work in practice. |
I have a wip branch on my fork here. My goal is to add app clips default experience functionality. This not only fixes this error, but allows specifying app clip metadata (similar to how uploading normal app metadata works today). It contains enough functionality for app clips to allow the following:
I will create a PR and comment here once it passes integration with my own projects.
EDIT: Use the instructions in the PR #20300 to use/test until it's merged. deliver(
...
app_clip_default_experience_action: "PLAY",
app_clip_default_experience_subtitle: {
"en-US": "this is a test from fastlane",
"es-MX": "está es una prueba de fastlane"
},
app_clip_header_images_path: './fastlane/app-clip-header-images'
) and for the header images:
@gsavit I'll consider adding a |
@blesson3 Awesome to hear that! I will give your branch a try this week!
Maybe we should go with |
@blesson3 super cool, thanks!
This sounds right to me, I think, especially given that the default behavior in ASC UI seems to be to use previous. So in other words, |
For clarity:
As far as I can tell, the only thing Also: I can't find any functionality in the deliver command that's similar to the issue we're facing here. AFAIK screenshots are carried over by default between versions created by the ASC UI and API. There are three scenarios I can think of:
In the scenario where the app has an app clip, I think the app clip default experience metadata is required by ASC to submit the build for review (see screenshots in next comment). If that's the case, we either want to use the previous (or current if specified in ASC UI) version's metadata by default OR use fastlane's app clip metadata deliver options. This would solve the problem without an extra flag and would mimic the default behavior of the ASC UI by carrying over the metadata between versions. If neither the previous version has an app clip metadata nor the user specified metadata, the build submitted for review will fail that check anyway, so it may reasonable to have fastlane output a warning, but not fail outright. Is this a fair way of viewing this problem? My team and I are new to using app clips in ASC UI, so we may be missing something. |
This much is always true! But if you had a previously released version that also had the App Clip, creating your next version via the UI would copy over the previous metadata by default. Not illustrated by the screenshot because this is the first version, looks like.
This sounds okay to me, especially because...
You're right to flag the distinction between the cases. The screenshots overwrite flag is necessary because otherwise it's an additive operation, right (new screenshots uploaded will just join the preexisting ones)? Whereas App Clip metadata will always be overwritten/replaced by any new data passed. So the fix needed for App Clips is just correct handling of the default case, when no App Clip metadata is explicitly passed. |
Yep, I agree! I'll include with my implementation the default case where there is an app clip, but no app clip metadata specified with |
@blesson3 I've added your changes to our release script, which will run in about ~16h. Will report back if everything worked out. |
I've created a WIP PR #20300 for automating app clips default experience metadata. Please test using this PR instead of I'm in the process of implementing additional app clips related functionality on |
@EmDee If you've not already done so, use the
Pretty sure your setup from earlier will fail with the same error unless updated. I likely won't force push again today, so it should be safe-ish for your release tonight. |
I was already on |
Just a quick heads up: I've been unable to test these changes further, because ASC had trouble the last couple times processing the screenshots, therefore the |
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 Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with This issue will be auto-closed if there is no reply within 1 month. |
@fastlane-bot not done |
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 Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with This issue will be auto-closed if there is no reply within 1 month. |
@fastlane-bot not yet fixed |
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 Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with This issue will be auto-closed if there is no reply within 1 month. |
@fastlane-bot almost done! |
New Issue Checklist
Issue Description
Ran
deliver
this morning and got the following error:The request cannot be fulfilled because of the state of another resource. - Submit for review errors found. The provided entity is missing a required relationship - You must provide a value for the relationship 'appClipVersion' with this request
It looks like the upload fails due to the app having an
App Clip
target. Is there a way to define the meta data needed for App Clips (screenshot, title, App Clip experiences, domains, ...)?Command executed
Environment
I've redacted the
fastfile
andappfile
as I don't think it's relevant for this issue.🚫 fastlane environment 🚫
Stack
System Locale
fastlane files:
fastlane gems
Loaded fastlane plugins:
Loaded gems
generated on: 2020-11-20
The text was updated successfully, but these errors were encountered: