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 52ec31d commit a8e860cCopy full SHA for a8e860c
packages/host/src/node/prebuilds/apple.ts
@@ -77,12 +77,13 @@ export async function createAppleFramework(libraryPath: string) {
77
// TODO: Consider copying the library instead of renaming it
78
await fs.promises.rename(libraryPath, newLibraryPath);
79
// Update the name of the library
80
- // TODO: Make this call async
81
- cp.spawnSync("install_name_tool", [
82
- "-id",
83
- `@rpath/${libraryName}.framework/${libraryName}`,
84
- newLibraryPath,
85
- ]);
+ await spawn(
+ "install_name_tool",
+ ["-id", `@rpath/${libraryName}.framework/${libraryName}`, newLibraryPath],
+ {
+ outputMode: "buffered",
+ },
86
+ );
87
return frameworkPath;
88
}
89
0 commit comments