Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/metagen.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,11 @@ const sdks = {
macos: {
path: getSDKPath("macosx"),
frameworks: [...COMMON_FRAMEWORKS, ...MACOS_FRAMEWORKS],
// The generator leaves out declarations introduced after the target OS, so
// the target is the SDK itself; classes missing at runtime resolve to undefined.
targets: {
x86_64: "x86_64-apple-macos11.0",
arm64: "arm64-apple-macos11.0",
x86_64: `x86_64-apple-macos${getSDKVersion("macosx")}`,
arm64: `arm64-apple-macos${getSDKVersion("macosx")}`,
},
},
ios: {
Expand Down
Loading