Skip to content

Commit

Permalink
Also skip Assets.car as a mismatch is OK
Browse files Browse the repository at this point in the history
  • Loading branch information
jhohiselkeeper committed Mar 16, 2022
1 parent 151f979 commit 885fbde
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ export const makeUniversalApp = async (opts: MakeUniversalOpts): Promise<void> =
if (x64Sha !== arm64Sha) {
d('SHA for file', file.relativePath, `does not match across builds ${x64Sha}!=${arm64Sha}`);
// The MainMenu.nib files generated by Xcode13 are deterministic in effect but not deterministic in generated sequence
if (path.basename(path.dirname(file.relativePath)) === 'MainMenu.nib') {
// Same for Assets.car
if (
path.basename(path.dirname(file.relativePath)) === 'MainMenu.nib' ||
path.basename(path.dirname(file.relativePath)) === 'Assets.car'
) {
// The mismatch here is OK so we just move on to the next one
continue;
}
Expand Down

0 comments on commit 885fbde

Please sign in to comment.