Skip to content

Commit 172d7e8

Browse files
committed
Print module path on framework slicing failure
1 parent a48ce59 commit 172d7e8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/spotty-readers-go.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-native-node-api": patch
3+
---
4+
5+
Print module path on framework slicing failure

packages/host/src/node/cli/apple.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ export async function linkXcframework({
508508
});
509509
assert(
510510
framework,
511-
`Failed to find a framework slice matching: ${JSON.stringify(expectedSlice)}`,
511+
`Failed to find a framework slice of '${modulePath}' matching: ${JSON.stringify(expectedSlice)}`,
512512
);
513513

514514
const originalFrameworkPath = path.join(

0 commit comments

Comments
 (0)