Skip to content

Commit

Permalink
fix: delete build/ios/ipa folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Dec 12, 2023
1 parent 91325ce commit 58ec371
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 0.10.4

# Fix:
- Delete build/ios/ipa folder before iOS build

# 0.10.3

# Fix:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ class FlutterBuildPlugin extends ImpaktfullCliPlugin {
String? splitDebugInfoPath = '.build/debug-info',
int? buildNr,
}) async {
final buildDirectory = extension.getBuildDirectory();
if (buildDirectory.existsSync()) {
buildDirectory.deleteSync(recursive: true);
}
await processRunner.runProcess([
if (ImpaktfullCliEnvironment.instance.isFvmProject) ...[
'fvm',
Expand Down Expand Up @@ -94,7 +98,6 @@ class FlutterBuildPlugin extends ImpaktfullCliPlugin {
'--build-number=$buildNr',
],
]);
final buildDirectory = extension.getBuildDirectory();
final files = buildDirectory.listSync();
final result = files.where((element) =>
path.extension(element.path) == '.${extension.fileExtension}');
Expand Down

0 comments on commit 58ec371

Please sign in to comment.