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: shorebird patch failed on iOS #2680

Closed
eseidel opened this issue Dec 13, 2024 · 3 comments
Closed

fix: shorebird patch failed on iOS #2680

eseidel opened this issue Dec 13, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@eseidel
Copy link
Contributor

eseidel commented Dec 13, 2024

From Discord:
https://discord.com/channels/1030243211995791380/1317137871122993263/1317137871122993263

When I try to generate a patch for iOS it gives the following error:

stderr: Unhandled exception:
PathNotFoundException: Cannot copy file to '/var/folders/5f/6wny_wld3t72rwkxysxbq3900000gn/T/zLYIkw/App.class_table.json', path = '/var/folders/5f/6wny_wld3t72rwkxysxbq3900000gn/T/2B8Qo3/Products/Applications/Runner.app/Frameworks/App.framework/App.class_table.json' (OS Error: No such file or directory, errno = 2)
#0 _File.throwIfError (dart:io/file_impl.dart:675:7)
#1 _File.copySync (dart:io/file_impl.dart:366:5)
#2 LinkCommand._generateOptimizedPatchSnapshot (package:aot_tools/src/commands/link_command.dart:307:39)
#3 LinkCommand.run (package:aot_tools/src/commands/link_command.dart:140:40)
#4 CommandRunner.runCommand (package:args/command_runner.dart:212:27)
#5 CommandRunner.run. (package:args/command_runner.dart:122:25)
#6 new Future.sync (dart:async/future.dart:313:27)
#7 CommandRunner.run (package:args/command_runner.dart:122:14)
#8 main. (file:///home/gha/.engine_checkout/engine/src/flutter/third_party/dart/pkg/aot_tools/bin/aot_tools.dart:9:57)
#9 _rootRun (dart:async/zone.dart:1399:13)
#10 _CustomZone.run (dart:async/zone.dart:1301:19)
#11 _runZoned (dart:async/zone.dart:1826:10)
#12 runZoned (dart:async/zone.dart:1763:10)
#13 LoggerOverrides.runZoned (package:aot_tools/src/logger.dart:28:18)
#14 runWithLogger (package:aot_tools/src/logger.dart:18:26)
#15 main (file:///home/gha/.engine_checkout/engine/src/flutter/third_party/dart/pkg/aot_tools/bin/aot_tools.dart:9:26)
#16 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:295:33)
#17 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

I'm using Flutter version 3.24.5
app_id: be4c7814-d407-480d-90c9-6979f7d4545a
release: 3.4.7

@eseidel eseidel added the bug Something isn't working label Dec 13, 2024
@eseidel
Copy link
Contributor Author

eseidel commented Dec 13, 2024

Release was created with "shorebird_version": "1.4.13".

Patch claims to have been created with the same version.

https://admin.shorebird.dev/apps/be4c7814-d407-480d-90c9-6979f7d4545a/releases/140363

@felangel
Copy link
Contributor

I believe this is fixed in the latest Shorebird CLI version (1.4.16).

@felangel
Copy link
Contributor

Closing for now but feel free to reopen if it's still an issue in the latest Shorebird CLI

@felangel felangel self-assigned this Dec 17, 2024
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
None yet
Development

No branches or pull requests

2 participants