#concatenated dill error

1 messages · Page 1 of 1 (latest)

tropic delta
#

Failed to create snapshot: ../../third_party/dart/runtime/vm/kernel_loader.cc: 220: error: Trying to load a concatenated dill file at a time where that is not allowed

After hitting shorebird patch ios getting the above issue

twin river
#

Hi @tropic delta
This seems like a duplicate of https://github.com/shorebirdtech/shorebird/issues/1228

If you retry running the command do you consistently see the error? If so can you please make sure you're using the latest version of shorebird_cli (by running shorebird upgrade) and provide the full output of running shorebird patch ios --verbose? Thanks!

GitHub

Description This error occurred when trying to patch ios-alpha. Exception: Failed to create snapshot: ../../third_party/dart/runtime/vm/kernel_loader.cc: 221: error: Trying to load a concatenated d...

tropic delta
#

I was able to make a patch about 2-3 hours ago... but now getting the above exception

prime estuary
#

How about running shorebird cache clean ?

grave sparrow
idle lily
#

I believe the app.dill is located in the .dart_tool directory. If you delete that and try again, your patch should go through

#

(Not at my computer or else I could verify)

grave sparrow
#

concatenated dill error

idle lily
#

Yeah, so we look at all files matching the .dart_tool/flutter_build/*/app.dill path. We sometimes pick the wrong one, and I think that's what was happening here

#

If you just run rm -rf .dart_tool from your project's root directory and try running the patch command again, you should be good to go