Skip to content

Commit acd06f2

Browse files
kraenhansenCopilot
andauthored
Link Xcframework using plists files instead of re-creating them (#281)
* Update existing xcframework instead of re-creating it when linking * Add changeset * Support linking of both flat and versioned frameworks * Delete leftover magic files * Trigger CI again * Fix parsing of xcframework info and add tests * Use Versions/Current/Resources as suggested Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent 5156d35 commit acd06f2

File tree

5 files changed

+517
-339
lines changed

5 files changed

+517
-339
lines changed

.changeset/blue-parts-cheer.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+
Linking Node-API addons for Apple platforms is no longer re-creating Xcframeworks

package-lock.json

Lines changed: 6 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/host/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@
8383
"@expo/plist": "^0.4.7",
8484
"@react-native-node-api/cli-utils": "0.1.0",
8585
"pkg-dir": "^8.0.0",
86-
"read-pkg": "^9.0.1"
86+
"read-pkg": "^9.0.1",
87+
"zod": "^4.1.11"
8788
},
8889
"devDependencies": {
8990
"@babel/core": "^7.26.10",
9091
"@babel/types": "^7.27.0",
9192
"fswin": "^3.24.829",
92-
"node-api-headers": "^1.5.0",
93-
"zod": "^3.24.3"
93+
"node-api-headers": "^1.5.0"
9494
},
9595
"peerDependencies": {
9696
"@babel/core": "^7.26.10",

0 commit comments

Comments
 (0)