Skip to content
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

fix: Failed to link AOT files Shorebird 1.1.6+Flutter 3.22.0 #2119

Closed
fiercepark opened this issue May 17, 2024 · 3 comments
Closed

fix: Failed to link AOT files Shorebird 1.1.6+Flutter 3.22.0 #2119

fiercepark opened this issue May 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@fiercepark
Copy link

fiercepark commented May 17, 2024

App ID: fffe598e-ecdf-4b28-80ba-5cc06d843f48

Description

✓ Fetching apps (0.5s)
✓ Building patch with Flutter 3.22.0 (6d047e4019) (208.0s)
✓ Fetching releases (0.5s)
✓ Fetching xcarchive artifact (0.4s)
✓ Downloading xcarchive (31.8s)
✓ Verifying patch can be applied to release (1.3s)
✓ Fetching xcarchive artifact (0.5s)
✓ Downloading release artifact (12.3s)
✓ Extracting release artifact (0.7s)
**✗ Failed to link AOT files: Exception: Failed to link: Can't load Kernel binary: Invalid kernel binary: Indicated size is invalid.

Steps To Reproduce**

  1. run shorebird release ios -- --release
  2. Modify some code(dart)
  3. run shorebird patch ios --staging
  4. See error

shorebird doctor

Shorebird 1.1.6 • git@github.com:shorebirdtech/shorebird.git
Flutter 3.22.0 • revision 6d047e401941206daf11740c523ffa3364a2385b
Engine • revision c600950be82dcdad6a46da46bcc6e73773ca3907

✓ Shorebird is up-to-date (2.8s)
✓ Flutter install is correct (0.6s)
✓ AndroidManifest.xml files contain INTERNET permission (34ms)
✓ Has access to storage.googleapis.com (0.3s)
✓ shorebird.yaml found in pubspec.yaml assets (16ms)
@fiercepark fiercepark added the bug Something isn't working label May 17, 2024
@eseidel
Copy link
Contributor

eseidel commented May 17, 2024

Fascinating. I've not seen this before.

@eseidel
Copy link
Contributor

eseidel commented May 23, 2024

I wonder if this is a variant of #1444?

If that's the case, a flutter clean should fix the problem.

@fiercepark
Copy link
Author

fiercepark commented May 27, 2024

  • shorebird cache clean
  • flutter clean
  • re-release ipa
  • re-run shorebird patch ios
  • OK

It works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants