Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
[xdl] clean up *.bak files when building ipa (#2211)
Browse files Browse the repository at this point in the history
* [xdl] clean up *.bak files when building ipa

* [xdl] address code review suggestion
  • Loading branch information
dsokal committed Jun 2, 2020
1 parent 5c223e2 commit 413ac1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/xdl/src/detach/IosNSBundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ async function _cleanPropertyListBackupsAsync(
): Promise<void> {
if (context.build?.ios?.buildType !== 'client') {
await IosPlist.cleanBackupAsync(backupPath, 'EXShell', false);
// [dsokal] it's probably ok to clean up those two for client but no one knows if it's true for sure
await IosPlist.cleanBackupAsync(backupPath, 'EXSDKVersions', false);
await IosPlist.cleanBackupAsync(backupPath, 'EXBuildConstants', false);
}
await IosPlist.cleanBackupAsync(backupPath, 'Info', false);
// TODO: support this in user contexts as well
Expand Down

0 comments on commit 413ac1c

Please sign in to comment.