diff --git a/packages/shorebird_cli/lib/src/code_push_client_wrapper.dart b/packages/shorebird_cli/lib/src/code_push_client_wrapper.dart index dbe50b4b..6b99a0ff 100644 --- a/packages/shorebird_cli/lib/src/code_push_client_wrapper.dart +++ b/packages/shorebird_cli/lib/src/code_push_client_wrapper.dart @@ -4,9 +4,7 @@ // cspell:words xcarchive codesigned xcframework import 'dart:io'; -import 'dart:isolate'; -import 'package:archive/archive_io.dart'; import 'package:collection/collection.dart'; import 'package:crypto/crypto.dart'; import 'package:equatable/equatable.dart'; @@ -814,11 +812,7 @@ aar artifact already exists, continuing...''', }) async { final createArtifactProgress = logger.progress('Uploading artifacts'); final appFrameworkDirectory = Directory(appFrameworkPath); - await Isolate.run( - () => ZipFileEncoder().zipDirectory(appFrameworkDirectory), - ); - final zippedAppFrameworkFile = File('$appFrameworkPath.zip'); - + final zippedAppFrameworkFile = await appFrameworkDirectory.zipToTempFile(); try { await codePushClient.createReleaseArtifact( appId: appId, diff --git a/packages/shorebird_cli/lib/src/commands/release/ios_framework_releaser.dart b/packages/shorebird_cli/lib/src/commands/release/ios_framework_releaser.dart index 6af6fa3f..bc1b4432 100644 --- a/packages/shorebird_cli/lib/src/commands/release/ios_framework_releaser.dart +++ b/packages/shorebird_cli/lib/src/commands/release/ios_framework_releaser.dart @@ -35,7 +35,10 @@ class IosFrameworkReleaser extends Releaser { /// The directory where the release artifacts are stored. Directory get releaseDirectory => Directory( - p.join(shorebirdEnv.getShorebirdProjectRoot()!.path, 'release'), + p.join( + shorebirdEnv.getShorebirdProjectRoot()!.path, + 'release', + ), ); @override