We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2a2c5 commit eb8ac71Copy full SHA for eb8ac71
packages/host/src/node/cli/apple.ts
@@ -92,9 +92,12 @@ export async function updateInfoPlist({
92
}
93
94
const contents = await readInfoPlist(infoPlistPath);
95
- if (contents.CFBundleExecutable === oldLibraryName) {
96
- contents.CFBundleExecutable = newLibraryName;
97
- }
+ assert.equal(
+ contents.CFBundleExecutable,
+ oldLibraryName,
98
+ "Unexpected CFBundleExecutable value in Info.plist",
99
+ );
100
+ contents.CFBundleExecutable = newLibraryName;
101
await fs.promises.writeFile(infoPlistPath, plist.build(contents), "utf-8");
102
103
0 commit comments