-
Notifications
You must be signed in to change notification settings - Fork 142
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: crash after try to patch ios (Crash occurred when compiling unknown function in AOT mode in unknown pass) #2541
Comments
For starters, can you share your app id, the release version, and the patch number where you saw this? |
2b9f7e47-5682-49ba-bf33-e0a7d977810e this is my app id. Thanks |
Thank you. |
Can you share the release version as well as the full patch command that you ran? Thanks! |
this is my full patch cmd :
and the release version is 3.2.14+71 Thanks |
@rizkijuliansyaham Out of curiosity, does this happen every time? If you create a new app using |
3.24.3 same error message here when build ipa, run on simulator no problem |
It's unsurprising that this would run on the simulator, as that isn't using shorebird at all. Does this command show you a path to a log file when it exits? If so, can you share it here? |
Failed to create snapshot: stdout: [Process.run] git rev-parse --verify HEAD (in /Users/-------/.shorebird/bin/cache) stdout: [Process.run] git remote prune origin (in /Users/-------/.shorebird/bin/cache) stdout: There's no mention of a log file. |
@Oladips can you share the output of |
shorebird doctor -v Logs: /Users/------/Library/Application Support/shorebird/logs • Gradle: unknown URL Reachability Network Speed ✓ Shorebird is up-to-date (85.6s) No issues detected! command: |
Thank you! Forgot to ask earlier: what is your app id? |
This is the app id: |
Hmm, it appears as though we don't have an app with that ID. Was it deleted, perhaps? |
No it wasn't, it has a flavor config |
Thank you! I'm not seeing anything obviously wrong—you seem to be running on the latest macOS and using a recent enough Xcode. Can you run |
I cleared my shorebird cache. my-app git:(v3) ✗ shorebird |
Then it goes long and at the end I see Aborting |
Very odd, it looks like something got corrupted with your shorebird installation. If you try reinstalling shorebird (usually this is |
This fixes it but I still get the same error Which release would you like to patch? 3.1.36+8 If you aren't sure why this command failed, re-run with the --verbose flag to see more information. You can also file an issue if you think this is a bug. Please include the following log file in your report: |
That looks like the artifacts are outdated. This error means that Can you also share the md5 of your gen_snapshot executable?
|
This is the md5: MD5 (/Users/----/.shorebird/bin/cache/flutter/5a6dc546e8ecd01fe3b9527f082ff2d6864374f9/bin/cache/artifacts/engine/ios-release/gen_snapshot_arm64) = b0e1d4c654e8ec7fefcae519fc54c0b9 Do you mean I should create a new app and try it with shorebird release/patch, I need clarification on this? At the moment, release works fine, no issues. |
Yeah I meant is this only happening in your current project or does it happen in a new empty Flutter project as well? |
This happens only in my current project, it's theonly one I have running on shorebird |
Sounds like we're using the wrong app.dill. Can you try removing your |
Can you share the contents of |
I can't find the aforementioned file in my build folder. |
Hmm are you able to make a minimal reproduction sample? If not I'm happy to jump on a call to debug. The easiest way is to ping us on Discord. |
Hi, sorry for the late reply, I am not able to make a reproduction sample. |
I am sorry for late respond. at new project my condition is same with @Oladips , new project running normally. |
Description
I have no issues with the iOS release, but when applying a patch for iOS, I encounter errors. However, debugging on the simulator runs smoothly without any problems
Steps To Reproduce
When I apply a patch, an error like this appears
Building patch with Flutter 3.24.3 (5a6dc546e8)... (711.2s)Exited with code -6
fyi, my storage space is still large. I dont get the point why this case show on me. Thanks.
Additional Context
this is my shorebird version
this is my shorebird doctor
this is my flutter doctor
The text was updated successfully, but these errors were encountered: