Skip to content

Commit 2286c36

Browse files
committed
Drive-by delete unused createPlistContent
1 parent e23bef1 commit 2286c36

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

packages/cmake-rn/src/platforms/apple.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -150,21 +150,6 @@ export const APPLE_ARCHITECTURES = {
150150
"arm64;x86_64-apple-visionos-sim": "arm64;x86_64",
151151
} satisfies Record<Triplet, AppleArchitecture>;
152152

153-
export function createPlistContent(values: Record<string, string>) {
154-
return [
155-
'<?xml version="1.0" encoding="UTF-8"?>',
156-
'<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">',
157-
'<plist version="1.0">',
158-
"<dict>",
159-
...Object.entries(values).flatMap(([key, value]) => [
160-
`<key>${key}</key>`,
161-
`<string>${value}</string>`,
162-
]),
163-
"</dict>",
164-
"</plist>",
165-
].join("\n");
166-
}
167-
168153
const xcframeworkExtensionOption = new Option(
169154
"--xcframework-extension",
170155
"Don't rename the xcframework to .apple.node",

0 commit comments

Comments
 (0)