peachsim 0.1.2190 → 0.1.2191
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +65 -132
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +58 -130
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +65 -132
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +7 -5
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +7 -2
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +7 -5
- package/dist-lib/native-app-identity-project.cjs +6 -4
- package/dist-lib/native-app-identity-project.mjs +6 -4
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +65 -132
- package/dist-lib/swift-compile.cjs +14 -117
- package/dist-lib/swift-compile.mjs +14 -117
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +57 -129
- package/dist-lib/vite.cjs +4 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +3 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/kotlin-host.ts +6 -1
- package/src/swift-compile.ts +21 -114
- package/src/swift-host.ts +12 -8
- package/src/swift-interface-bodies.ts +7 -1
- package/src/swift-objc-standin.ts +46 -8
- package/src/swift-packages.ts +1 -0
- package/src/xcode-project.ts +6 -4
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2191 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "e7cf8a143d47ff86b4ee2db4a8266e96b100926104990dba795321bc5923df3e", "home-paths.ts": "f5583b61f8bdd81823b3b29ff519a48daf9993719f194ddb7de22218472e90f9", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "e7cf8a143d47ff86b4ee2db4a8266e96b100926104990dba795321bc5923df3e", "home-paths.ts": "f5583b61f8bdd81823b3b29ff519a48daf9993719f194ddb7de22218472e90f9", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "86f79e98323ec065e0e5195324c75ca608f490efbd95dcc25c53d5aa0b9aecc9", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -43105,7 +43105,7 @@ function swiftInterfaceWithoutBodies(text6, keepDefaults = false) {
|
|
|
43105
43105
|
continue;
|
|
43106
43106
|
}
|
|
43107
43107
|
const char = text6[i];
|
|
43108
|
-
if (char === "=" && parens > 0 && text6[i - 1] === " " && text6[i + 1] === " ") {
|
|
43108
|
+
if (!keepDefaults && char === "=" && parens > 0 && text6[i - 1] === " " && text6[i + 1] === " ") {
|
|
43109
43109
|
out = out.trimEnd();
|
|
43110
43110
|
i = skipExpression(text6, i + 1);
|
|
43111
43111
|
continue;
|
|
@@ -45242,10 +45242,11 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
45242
45242
|
"-module-cache-path",
|
|
45243
45243
|
moduleCache,
|
|
45244
45244
|
"-minimum-access-level",
|
|
45245
|
-
// symbol graphs hide public underscored names at the public threshold
|
|
45246
|
-
//
|
|
45247
|
-
//
|
|
45248
|
-
|
|
45245
|
+
// symbol graphs hide public underscored names at the public threshold,
|
|
45246
|
+
// including a function with an underscored parameter. clang headers
|
|
45247
|
+
// remain the declaration boundary, and a swift overlay names its
|
|
45248
|
+
// underscored and spi declarations.
|
|
45249
|
+
"internal",
|
|
45249
45250
|
...surface.interface ? ["-include-spi-symbols"] : [],
|
|
45250
45251
|
"-skip-synthesized-members",
|
|
45251
45252
|
"-omit-extension-block-symbols",
|
|
@@ -45344,6 +45345,13 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
45344
45345
|
writeHeaders();
|
|
45345
45346
|
}
|
|
45346
45347
|
const ownHeaders = new Set(headerFiles(headersDir).map((name3) => import_node_path33.default.basename(name3)));
|
|
45348
|
+
const functionPointers = new Set(
|
|
45349
|
+
[...originals.values()].flatMap(
|
|
45350
|
+
(text6) => [...text6.matchAll(/\btypedef\b[^;{}]*?\(\s*\*\s*(\w+)\s*\)\s*\(/g)].map(
|
|
45351
|
+
(match) => match[1]
|
|
45352
|
+
)
|
|
45353
|
+
)
|
|
45354
|
+
);
|
|
45347
45355
|
const graphs = import_node_fs36.default.readdirSync(out).filter((name3) => name3.endsWith(".symbols.json")).sort().map((name3) => {
|
|
45348
45356
|
const graph = JSON.parse(import_node_fs36.default.readFileSync(import_node_path33.default.join(out, name3), "utf8"));
|
|
45349
45357
|
return {
|
|
@@ -45351,6 +45359,22 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
45351
45359
|
symbols: graph.symbols.filter((symbol2) => {
|
|
45352
45360
|
const header = /^c:([^@]+\.h)@/.exec(symbol2.identifier.precise)?.[1];
|
|
45353
45361
|
return !header || ownHeaders.has(header);
|
|
45362
|
+
}).map((symbol2) => {
|
|
45363
|
+
if (symbol2.kind.identifier !== "swift.typealias" || !symbol2.identifier.precise.startsWith("c:") || !functionPointers.has(symbol2.pathComponents.at(-1) ?? ""))
|
|
45364
|
+
return symbol2;
|
|
45365
|
+
const fragments = symbol2.declarationFragments ?? [];
|
|
45366
|
+
const equals = fragments.findIndex(
|
|
45367
|
+
(fragment) => fragment.spelling.includes("=")
|
|
45368
|
+
);
|
|
45369
|
+
const arrow = fragments.findLastIndex(
|
|
45370
|
+
(fragment) => fragment.spelling.includes("->")
|
|
45371
|
+
);
|
|
45372
|
+
return {
|
|
45373
|
+
...symbol2,
|
|
45374
|
+
declarationFragments: fragments.map(
|
|
45375
|
+
(fragment, index) => index > equals && index < arrow && fragment.kind === "typeIdentifier" && functionPointers.has(fragment.spelling) ? { ...fragment, spelling: `@escaping ${fragment.spelling}` } : fragment
|
|
45376
|
+
)
|
|
45377
|
+
};
|
|
45354
45378
|
})
|
|
45355
45379
|
};
|
|
45356
45380
|
});
|
|
@@ -54712,6 +54736,9 @@ function emitSwiftPackageManifest(args) {
|
|
|
54712
54736
|
' publicHeadersPath: "include",'
|
|
54713
54737
|
] : native?.flags ? [` sources: ${JSON.stringify(native.sources)},`] : target.sources !== void 0 ? [` sources: ${JSON.stringify(target.sources)},`] : [],
|
|
54714
54738
|
...!native?.clang && target.publicHeadersPath !== void 0 ? [` publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)},`] : [],
|
|
54739
|
+
// swiftpm appends the root package's name after a target's own flags
|
|
54740
|
+
// unless the target opts out of package access
|
|
54741
|
+
...!clang && target.swiftFlags?.includes("-package-name") ? [" packageAccess: false,"] : [],
|
|
54715
54742
|
// the native backend supplies dependency module maps without their
|
|
54716
54743
|
// compiled modules. textual c++ includes keep those dependencies usable.
|
|
54717
54744
|
` ${clang ? nativeSettings : swiftSettings}${link}`,
|
|
@@ -55674,7 +55701,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
55674
55701
|
for (const file of Object.keys(input.files)) {
|
|
55675
55702
|
if (!file.endsWith(".swift")) continue;
|
|
55676
55703
|
const target = bySourcePath.find(
|
|
55677
|
-
(candidate) => candidate.path === "." || file.startsWith(`${candidate.path}/`)
|
|
55704
|
+
(candidate) => (candidate.path === "." || file.startsWith(`${candidate.path}/`)) && (candidate.sources === void 0 || candidate.sources.some((source) => {
|
|
55705
|
+
const selected = import_node_path51.default.posix.join(candidate.path, source);
|
|
55706
|
+
return file === selected || file.startsWith(`${selected}/`);
|
|
55707
|
+
}))
|
|
55678
55708
|
);
|
|
55679
55709
|
const excluded = target?.exclude?.some(
|
|
55680
55710
|
(name3) => file === import_node_path51.default.posix.join(target.path, name3)
|
|
@@ -55727,7 +55757,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
55727
55757
|
const targetEntries = (target) => {
|
|
55728
55758
|
const prefix = target.path === "." ? "" : `${target.path}/`;
|
|
55729
55759
|
return Object.entries(input.files).filter(
|
|
55730
|
-
([file]) => file.startsWith(prefix) && !target.
|
|
55760
|
+
([file]) => file.startsWith(prefix) && (target.sources === void 0 || !(file.endsWith(".swift") || isSwiftNativeTranslationUnit(file)) || target.sources.some((source) => {
|
|
55761
|
+
const selected = import_node_path51.default.posix.join(prefix, source);
|
|
55762
|
+
return file === selected || file.startsWith(`${selected}/`);
|
|
55763
|
+
})) && !target.exclude?.some(
|
|
55731
55764
|
(excluded) => file === `${prefix}${excluded}` || file.startsWith(`${prefix}${excluded}/`)
|
|
55732
55765
|
) && !targets.some(
|
|
55733
55766
|
(candidate) => candidate.name !== target.name && candidate.path !== "." && candidate.path.startsWith(prefix) && file.startsWith(`${candidate.path}/`)
|
|
@@ -55882,8 +55915,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
55882
55915
|
)) {
|
|
55883
55916
|
const include2 = match[1];
|
|
55884
55917
|
const producer = /(?:^|\/)([^/]+)-Swift\.h$/.exec(include2)?.[1];
|
|
55885
|
-
if (producer &&
|
|
55886
|
-
producers2.add(producer);
|
|
55918
|
+
if (producer && swiftTargets.has(producer)) producers2.add(producer);
|
|
55887
55919
|
const local = [
|
|
55888
55920
|
import_node_path51.default.posix.join(import_node_path51.default.posix.dirname(file), include2),
|
|
55889
55921
|
`${includes}${include2}`,
|
|
@@ -58247,7 +58279,7 @@ var init_swift_compile = __esm({
|
|
|
58247
58279
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
58248
58280
|
MULTI_MANIFEST_VERSION = 68;
|
|
58249
58281
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
58250
|
-
compilerSourceDigest = true ? "
|
|
58282
|
+
compilerSourceDigest = true ? "9d8d3ae2b2d5324ea93c50de702176f964cf229949899cccbeb49f982845e24b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
58251
58283
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
58252
58284
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
58253
58285
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -58410,117 +58442,6 @@ var init_swift_compile = __esm({
|
|
|
58410
58442
|
"NSFileErrorMinimum",
|
|
58411
58443
|
"NSFormattingErrorMaximum",
|
|
58412
58444
|
"NSFormattingErrorMinimum",
|
|
58413
|
-
"NSFoundationVersionNumber",
|
|
58414
|
-
"NSFoundationVersionNumber10_0",
|
|
58415
|
-
"NSFoundationVersionNumber10_1",
|
|
58416
|
-
"NSFoundationVersionNumber10_10",
|
|
58417
|
-
"NSFoundationVersionNumber10_10_1",
|
|
58418
|
-
"NSFoundationVersionNumber10_10_2",
|
|
58419
|
-
"NSFoundationVersionNumber10_10_3",
|
|
58420
|
-
"NSFoundationVersionNumber10_10_4",
|
|
58421
|
-
"NSFoundationVersionNumber10_10_5",
|
|
58422
|
-
"NSFoundationVersionNumber10_10_Max",
|
|
58423
|
-
"NSFoundationVersionNumber10_11",
|
|
58424
|
-
"NSFoundationVersionNumber10_11_1",
|
|
58425
|
-
"NSFoundationVersionNumber10_11_2",
|
|
58426
|
-
"NSFoundationVersionNumber10_11_3",
|
|
58427
|
-
"NSFoundationVersionNumber10_11_4",
|
|
58428
|
-
"NSFoundationVersionNumber10_11_Max",
|
|
58429
|
-
"NSFoundationVersionNumber10_1_1",
|
|
58430
|
-
"NSFoundationVersionNumber10_1_2",
|
|
58431
|
-
"NSFoundationVersionNumber10_1_3",
|
|
58432
|
-
"NSFoundationVersionNumber10_1_4",
|
|
58433
|
-
"NSFoundationVersionNumber10_2",
|
|
58434
|
-
"NSFoundationVersionNumber10_2_1",
|
|
58435
|
-
"NSFoundationVersionNumber10_2_2",
|
|
58436
|
-
"NSFoundationVersionNumber10_2_3",
|
|
58437
|
-
"NSFoundationVersionNumber10_2_4",
|
|
58438
|
-
"NSFoundationVersionNumber10_2_5",
|
|
58439
|
-
"NSFoundationVersionNumber10_2_6",
|
|
58440
|
-
"NSFoundationVersionNumber10_2_7",
|
|
58441
|
-
"NSFoundationVersionNumber10_2_8",
|
|
58442
|
-
"NSFoundationVersionNumber10_3",
|
|
58443
|
-
"NSFoundationVersionNumber10_3_1",
|
|
58444
|
-
"NSFoundationVersionNumber10_3_2",
|
|
58445
|
-
"NSFoundationVersionNumber10_3_3",
|
|
58446
|
-
"NSFoundationVersionNumber10_3_4",
|
|
58447
|
-
"NSFoundationVersionNumber10_3_5",
|
|
58448
|
-
"NSFoundationVersionNumber10_3_6",
|
|
58449
|
-
"NSFoundationVersionNumber10_3_7",
|
|
58450
|
-
"NSFoundationVersionNumber10_3_8",
|
|
58451
|
-
"NSFoundationVersionNumber10_3_9",
|
|
58452
|
-
"NSFoundationVersionNumber10_4",
|
|
58453
|
-
"NSFoundationVersionNumber10_4_1",
|
|
58454
|
-
"NSFoundationVersionNumber10_4_10",
|
|
58455
|
-
"NSFoundationVersionNumber10_4_11",
|
|
58456
|
-
"NSFoundationVersionNumber10_4_2",
|
|
58457
|
-
"NSFoundationVersionNumber10_4_3",
|
|
58458
|
-
"NSFoundationVersionNumber10_4_4_Intel",
|
|
58459
|
-
"NSFoundationVersionNumber10_4_4_PowerPC",
|
|
58460
|
-
"NSFoundationVersionNumber10_4_5",
|
|
58461
|
-
"NSFoundationVersionNumber10_4_6",
|
|
58462
|
-
"NSFoundationVersionNumber10_4_7",
|
|
58463
|
-
"NSFoundationVersionNumber10_4_8",
|
|
58464
|
-
"NSFoundationVersionNumber10_4_9",
|
|
58465
|
-
"NSFoundationVersionNumber10_5",
|
|
58466
|
-
"NSFoundationVersionNumber10_5_1",
|
|
58467
|
-
"NSFoundationVersionNumber10_5_2",
|
|
58468
|
-
"NSFoundationVersionNumber10_5_3",
|
|
58469
|
-
"NSFoundationVersionNumber10_5_4",
|
|
58470
|
-
"NSFoundationVersionNumber10_5_5",
|
|
58471
|
-
"NSFoundationVersionNumber10_5_6",
|
|
58472
|
-
"NSFoundationVersionNumber10_5_7",
|
|
58473
|
-
"NSFoundationVersionNumber10_5_8",
|
|
58474
|
-
"NSFoundationVersionNumber10_6",
|
|
58475
|
-
"NSFoundationVersionNumber10_6_1",
|
|
58476
|
-
"NSFoundationVersionNumber10_6_2",
|
|
58477
|
-
"NSFoundationVersionNumber10_6_3",
|
|
58478
|
-
"NSFoundationVersionNumber10_6_4",
|
|
58479
|
-
"NSFoundationVersionNumber10_6_5",
|
|
58480
|
-
"NSFoundationVersionNumber10_6_6",
|
|
58481
|
-
"NSFoundationVersionNumber10_6_7",
|
|
58482
|
-
"NSFoundationVersionNumber10_6_8",
|
|
58483
|
-
"NSFoundationVersionNumber10_7",
|
|
58484
|
-
"NSFoundationVersionNumber10_7_1",
|
|
58485
|
-
"NSFoundationVersionNumber10_7_2",
|
|
58486
|
-
"NSFoundationVersionNumber10_7_3",
|
|
58487
|
-
"NSFoundationVersionNumber10_7_4",
|
|
58488
|
-
"NSFoundationVersionNumber10_8",
|
|
58489
|
-
"NSFoundationVersionNumber10_8_1",
|
|
58490
|
-
"NSFoundationVersionNumber10_8_2",
|
|
58491
|
-
"NSFoundationVersionNumber10_8_3",
|
|
58492
|
-
"NSFoundationVersionNumber10_8_4",
|
|
58493
|
-
"NSFoundationVersionNumber10_9",
|
|
58494
|
-
"NSFoundationVersionNumber10_9_1",
|
|
58495
|
-
"NSFoundationVersionNumber10_9_2",
|
|
58496
|
-
"NSFoundationVersionNumber_iOS_4_0",
|
|
58497
|
-
"NSFoundationVersionNumber_iOS_4_1",
|
|
58498
|
-
"NSFoundationVersionNumber_iOS_4_2",
|
|
58499
|
-
"NSFoundationVersionNumber_iOS_4_3",
|
|
58500
|
-
"NSFoundationVersionNumber_iOS_5_0",
|
|
58501
|
-
"NSFoundationVersionNumber_iOS_5_1",
|
|
58502
|
-
"NSFoundationVersionNumber_iOS_6_0",
|
|
58503
|
-
"NSFoundationVersionNumber_iOS_6_1",
|
|
58504
|
-
"NSFoundationVersionNumber_iOS_7_0",
|
|
58505
|
-
"NSFoundationVersionNumber_iOS_7_1",
|
|
58506
|
-
"NSFoundationVersionNumber_iOS_8_0",
|
|
58507
|
-
"NSFoundationVersionNumber_iOS_8_1",
|
|
58508
|
-
"NSFoundationVersionNumber_iOS_8_2",
|
|
58509
|
-
"NSFoundationVersionNumber_iOS_8_3",
|
|
58510
|
-
"NSFoundationVersionNumber_iOS_8_4",
|
|
58511
|
-
"NSFoundationVersionNumber_iOS_8_x_Max",
|
|
58512
|
-
"NSFoundationVersionNumber_iOS_9_0",
|
|
58513
|
-
"NSFoundationVersionNumber_iOS_9_1",
|
|
58514
|
-
"NSFoundationVersionNumber_iOS_9_2",
|
|
58515
|
-
"NSFoundationVersionNumber_iOS_9_3",
|
|
58516
|
-
"NSFoundationVersionNumber_iOS_9_4",
|
|
58517
|
-
"NSFoundationVersionNumber_iOS_9_x_Max",
|
|
58518
|
-
"NSFoundationVersionNumber_iPhoneOS_2_0",
|
|
58519
|
-
"NSFoundationVersionNumber_iPhoneOS_2_1",
|
|
58520
|
-
"NSFoundationVersionNumber_iPhoneOS_2_2",
|
|
58521
|
-
"NSFoundationVersionNumber_iPhoneOS_3_0",
|
|
58522
|
-
"NSFoundationVersionNumber_iPhoneOS_3_1",
|
|
58523
|
-
"NSFoundationVersionNumber_iPhoneOS_3_2",
|
|
58524
58445
|
"NSFoundationVersionWithFileManagerResourceForkSupport",
|
|
58525
58446
|
"NSFreeHashTable",
|
|
58526
58447
|
"NSFreeMapTable",
|
|
@@ -61405,8 +61326,10 @@ function isIosAppTarget(ref, options = {}) {
|
|
|
61405
61326
|
},
|
|
61406
61327
|
options
|
|
61407
61328
|
);
|
|
61329
|
+
const platforms2 = settingList(get("SUPPORTED_PLATFORMS"));
|
|
61330
|
+
if (platforms2.length > 0) return platforms2.some(isIosPlatform);
|
|
61408
61331
|
const sdk = get("SDKROOT");
|
|
61409
|
-
return sdk === "
|
|
61332
|
+
return sdk === "" || isIosPlatform(sdk);
|
|
61410
61333
|
}
|
|
61411
61334
|
function isIosPlatform(name3) {
|
|
61412
61335
|
return name3.startsWith("iphoneos") || name3.startsWith("iphonesimulator");
|
|
@@ -64814,7 +64737,7 @@ var init_swift_standin_digest = __esm({
|
|
|
64814
64737
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
64815
64738
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
64816
64739
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
64817
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
64740
|
+
STANDIN_SOURCE_DIGEST = true ? "8bf9878abc11473e9367806d1a6ac0089e4451eefdc2a1e5830542f3e83e80cf" : standinSourceDigest();
|
|
64818
64741
|
}
|
|
64819
64742
|
});
|
|
64820
64743
|
|
|
@@ -65275,7 +65198,7 @@ var init_package_tree_digest = __esm({
|
|
|
65275
65198
|
|
|
65276
65199
|
// src/expo-native-prebuilt.ts
|
|
65277
65200
|
function expoNativeCompilerDigestValue() {
|
|
65278
|
-
return true ? "
|
|
65201
|
+
return true ? "b94cda9bfcf7bc33627ad755dd1d150970b3a3ad790430aa313cfc6d23d36831" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
65279
65202
|
}
|
|
65280
65203
|
function readSources(value) {
|
|
65281
65204
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -66266,6 +66189,7 @@ function resolveSwiftPackages(options) {
|
|
|
66266
66189
|
dir: target.dir,
|
|
66267
66190
|
files: files2,
|
|
66268
66191
|
exclude: target.exclude,
|
|
66192
|
+
...target.sources ? { sources: target.sources } : {},
|
|
66269
66193
|
packageDir: pkg.manifest.dir,
|
|
66270
66194
|
remote: pkg.remote,
|
|
66271
66195
|
iosDeployment: pkg.manifest.iosDeployment,
|
|
@@ -74712,9 +74636,13 @@ async function buildXcodeLayout(root) {
|
|
|
74712
74636
|
upcomingFeatures: target.packageUpcomingFeatures.filter(
|
|
74713
74637
|
(feature) => feature.configuration === null || feature.configuration === packageConfiguration
|
|
74714
74638
|
).map((feature) => feature.name),
|
|
74715
|
-
|
|
74716
|
-
|
|
74717
|
-
|
|
74639
|
+
// the flat build gives every module one package; swiftpm names each
|
|
74640
|
+
// module for its own package, which `@retroactive` and `package` read
|
|
74641
|
+
swiftFlags: ["-package-name", swiftPackageIdentity(target.packageDir)].concat(
|
|
74642
|
+
target.packageSwiftFlags.filter(
|
|
74643
|
+
(setting) => setting.configuration === null || setting.configuration === packageConfiguration
|
|
74644
|
+
).flatMap((setting) => setting.flags)
|
|
74645
|
+
),
|
|
74718
74646
|
linkedLibraries: target.packageLibraries.filter(
|
|
74719
74647
|
(library) => library.configuration === null || library.configuration === packageConfiguration
|
|
74720
74648
|
).map((library) => library.name),
|
|
@@ -75072,7 +75000,7 @@ function xcodeManifest(layout2) {
|
|
|
75072
75000
|
`let package = Package(name: "app", ${layout2.app.iosDeploymentTarget ? `platforms: [.iOS(${JSON.stringify(layout2.app.iosDeploymentTarget)})], ` : ""}dependencies: [${[...nativePaths].map(([name3, directory2]) => `.package(name: ${JSON.stringify(name3)}, path: ${JSON.stringify(directory2)})`).join(", ")}], targets: [`,
|
|
75073
75001
|
` .executableTarget(name: "${layout2.app.moduleName}", dependencies: [${[...appProducts, ...layout2.targets.map((target) => JSON.stringify(target.name)), ...sdkProducts].join(", ")}], path: "${XCODE_APP_DIR}", ${appSettings}),`,
|
|
75074
75002
|
...layout2.targets.map(
|
|
75075
|
-
(target) => target.systemLibrary ? ` .systemLibrary(name: "${target.name}", path: "${target.path}"),` : ` .target(name: "${target.name}", ${target.dependencies === void 0 ? "" : `dependencies: [${dependencies(target)}], `}path: "${target.path}", ${target.exclude.length > 0 ? `exclude: ${JSON.stringify(target.exclude)}, ` : ""}${target.resources ? "resources: [], " : ""}${target.publicHeadersPath === void 0 ? "" : `publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)}, `}${clangSettings(target)}${swiftManifestSettings(target)}${libraries(target)}),`
|
|
75003
|
+
(target) => target.systemLibrary ? ` .systemLibrary(name: "${target.name}", path: "${target.path}"),` : ` .target(name: "${target.name}", ${target.dependencies === void 0 ? "" : `dependencies: [${dependencies(target)}], `}path: "${target.path}", ${target.exclude.length > 0 ? `exclude: ${JSON.stringify(target.exclude)}, ` : ""}${target.sources === void 0 ? "" : `sources: ${JSON.stringify(target.sources)}, `}${target.resources ? "resources: [], " : ""}${target.publicHeadersPath === void 0 ? "" : `publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)}, `}${clangSettings(target)}${swiftManifestSettings(target)}${libraries(target)}),`
|
|
75076
75004
|
),
|
|
75077
75005
|
"])",
|
|
75078
75006
|
""
|
|
@@ -85070,7 +84998,7 @@ var init_nitro_superset = __esm({
|
|
|
85070
84998
|
init_nitroContract();
|
|
85071
84999
|
init_swift_standin_digest();
|
|
85072
85000
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
85073
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
85001
|
+
NITRO_COMPILER_DIGEST = true ? "e99385128dd9d84fea68a577e53c7a4a93a855f8f3e0b00b584eba31e08b599f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
85074
85002
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
85075
85003
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
85076
85004
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -96905,6 +96833,7 @@ async function compileKotlin(input, origin) {
|
|
|
96905
96833
|
[
|
|
96906
96834
|
...common,
|
|
96907
96835
|
"-nowarn",
|
|
96836
|
+
"-Xpartial-linkage-loglevel=error",
|
|
96908
96837
|
`-Xinclude=${import_node_path123.default.join(work, "klib")}`,
|
|
96909
96838
|
"-Xir-produce-js",
|
|
96910
96839
|
"-ir-output-dir",
|
|
@@ -97000,6 +96929,10 @@ async function compileKotlin(input, origin) {
|
|
|
97000
96929
|
import_node_path123.default.join(work, "java-abi", `Spec${index}.kt`),
|
|
97001
96930
|
spec.file
|
|
97002
96931
|
);
|
|
96932
|
+
output2 = output2.replace(
|
|
96933
|
+
/^error: <app> @ (.+\.kt:\d+:\d+): (.*)$/gm,
|
|
96934
|
+
"$1: error: $2"
|
|
96935
|
+
);
|
|
97003
96936
|
throw new Error(
|
|
97004
96937
|
`kotlin compile failed:
|
|
97005
96938
|
${output2.trim() || (error instanceof Error ? error.message : String(error))}`
|
|
@@ -97145,7 +97078,7 @@ var init_kotlin_host = __esm({
|
|
|
97145
97078
|
"__tests__",
|
|
97146
97079
|
"scripts"
|
|
97147
97080
|
]);
|
|
97148
|
-
BUILD_FORMAT =
|
|
97081
|
+
BUILD_FORMAT = 20;
|
|
97149
97082
|
builds = /* @__PURE__ */ new Map();
|
|
97150
97083
|
toolScans = /* @__PURE__ */ new Map();
|
|
97151
97084
|
BRIDGE_PARAMETERS = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2191 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -12477,7 +12477,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12477
12477
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12478
12478
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12479
12479
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12480
|
-
var compilerSourceDigest = true ? "
|
|
12480
|
+
var compilerSourceDigest = true ? "9d8d3ae2b2d5324ea93c50de702176f964cf229949899cccbeb49f982845e24b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12481
12481
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12482
12482
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
12483
12483
|
hash.update(`swift-compile
|
|
@@ -12886,6 +12886,9 @@ function emitSwiftPackageManifest(args) {
|
|
|
12886
12886
|
' publicHeadersPath: "include",'
|
|
12887
12887
|
] : native?.flags ? [` sources: ${JSON.stringify(native.sources)},`] : target.sources !== void 0 ? [` sources: ${JSON.stringify(target.sources)},`] : [],
|
|
12888
12888
|
...!native?.clang && target.publicHeadersPath !== void 0 ? [` publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)},`] : [],
|
|
12889
|
+
// swiftpm appends the root package's name after a target's own flags
|
|
12890
|
+
// unless the target opts out of package access
|
|
12891
|
+
...!clang && target.swiftFlags?.includes("-package-name") ? [" packageAccess: false,"] : [],
|
|
12889
12892
|
// the native backend supplies dependency module maps without their
|
|
12890
12893
|
// compiled modules. textual c++ includes keep those dependencies usable.
|
|
12891
12894
|
` ${clang ? nativeSettings : swiftSettings}${link}`,
|
|
@@ -13276,117 +13279,6 @@ var FOUNDATION_OVERLAY_GLOBALS = /* @__PURE__ */ new Set([
|
|
|
13276
13279
|
"NSFileErrorMinimum",
|
|
13277
13280
|
"NSFormattingErrorMaximum",
|
|
13278
13281
|
"NSFormattingErrorMinimum",
|
|
13279
|
-
"NSFoundationVersionNumber",
|
|
13280
|
-
"NSFoundationVersionNumber10_0",
|
|
13281
|
-
"NSFoundationVersionNumber10_1",
|
|
13282
|
-
"NSFoundationVersionNumber10_10",
|
|
13283
|
-
"NSFoundationVersionNumber10_10_1",
|
|
13284
|
-
"NSFoundationVersionNumber10_10_2",
|
|
13285
|
-
"NSFoundationVersionNumber10_10_3",
|
|
13286
|
-
"NSFoundationVersionNumber10_10_4",
|
|
13287
|
-
"NSFoundationVersionNumber10_10_5",
|
|
13288
|
-
"NSFoundationVersionNumber10_10_Max",
|
|
13289
|
-
"NSFoundationVersionNumber10_11",
|
|
13290
|
-
"NSFoundationVersionNumber10_11_1",
|
|
13291
|
-
"NSFoundationVersionNumber10_11_2",
|
|
13292
|
-
"NSFoundationVersionNumber10_11_3",
|
|
13293
|
-
"NSFoundationVersionNumber10_11_4",
|
|
13294
|
-
"NSFoundationVersionNumber10_11_Max",
|
|
13295
|
-
"NSFoundationVersionNumber10_1_1",
|
|
13296
|
-
"NSFoundationVersionNumber10_1_2",
|
|
13297
|
-
"NSFoundationVersionNumber10_1_3",
|
|
13298
|
-
"NSFoundationVersionNumber10_1_4",
|
|
13299
|
-
"NSFoundationVersionNumber10_2",
|
|
13300
|
-
"NSFoundationVersionNumber10_2_1",
|
|
13301
|
-
"NSFoundationVersionNumber10_2_2",
|
|
13302
|
-
"NSFoundationVersionNumber10_2_3",
|
|
13303
|
-
"NSFoundationVersionNumber10_2_4",
|
|
13304
|
-
"NSFoundationVersionNumber10_2_5",
|
|
13305
|
-
"NSFoundationVersionNumber10_2_6",
|
|
13306
|
-
"NSFoundationVersionNumber10_2_7",
|
|
13307
|
-
"NSFoundationVersionNumber10_2_8",
|
|
13308
|
-
"NSFoundationVersionNumber10_3",
|
|
13309
|
-
"NSFoundationVersionNumber10_3_1",
|
|
13310
|
-
"NSFoundationVersionNumber10_3_2",
|
|
13311
|
-
"NSFoundationVersionNumber10_3_3",
|
|
13312
|
-
"NSFoundationVersionNumber10_3_4",
|
|
13313
|
-
"NSFoundationVersionNumber10_3_5",
|
|
13314
|
-
"NSFoundationVersionNumber10_3_6",
|
|
13315
|
-
"NSFoundationVersionNumber10_3_7",
|
|
13316
|
-
"NSFoundationVersionNumber10_3_8",
|
|
13317
|
-
"NSFoundationVersionNumber10_3_9",
|
|
13318
|
-
"NSFoundationVersionNumber10_4",
|
|
13319
|
-
"NSFoundationVersionNumber10_4_1",
|
|
13320
|
-
"NSFoundationVersionNumber10_4_10",
|
|
13321
|
-
"NSFoundationVersionNumber10_4_11",
|
|
13322
|
-
"NSFoundationVersionNumber10_4_2",
|
|
13323
|
-
"NSFoundationVersionNumber10_4_3",
|
|
13324
|
-
"NSFoundationVersionNumber10_4_4_Intel",
|
|
13325
|
-
"NSFoundationVersionNumber10_4_4_PowerPC",
|
|
13326
|
-
"NSFoundationVersionNumber10_4_5",
|
|
13327
|
-
"NSFoundationVersionNumber10_4_6",
|
|
13328
|
-
"NSFoundationVersionNumber10_4_7",
|
|
13329
|
-
"NSFoundationVersionNumber10_4_8",
|
|
13330
|
-
"NSFoundationVersionNumber10_4_9",
|
|
13331
|
-
"NSFoundationVersionNumber10_5",
|
|
13332
|
-
"NSFoundationVersionNumber10_5_1",
|
|
13333
|
-
"NSFoundationVersionNumber10_5_2",
|
|
13334
|
-
"NSFoundationVersionNumber10_5_3",
|
|
13335
|
-
"NSFoundationVersionNumber10_5_4",
|
|
13336
|
-
"NSFoundationVersionNumber10_5_5",
|
|
13337
|
-
"NSFoundationVersionNumber10_5_6",
|
|
13338
|
-
"NSFoundationVersionNumber10_5_7",
|
|
13339
|
-
"NSFoundationVersionNumber10_5_8",
|
|
13340
|
-
"NSFoundationVersionNumber10_6",
|
|
13341
|
-
"NSFoundationVersionNumber10_6_1",
|
|
13342
|
-
"NSFoundationVersionNumber10_6_2",
|
|
13343
|
-
"NSFoundationVersionNumber10_6_3",
|
|
13344
|
-
"NSFoundationVersionNumber10_6_4",
|
|
13345
|
-
"NSFoundationVersionNumber10_6_5",
|
|
13346
|
-
"NSFoundationVersionNumber10_6_6",
|
|
13347
|
-
"NSFoundationVersionNumber10_6_7",
|
|
13348
|
-
"NSFoundationVersionNumber10_6_8",
|
|
13349
|
-
"NSFoundationVersionNumber10_7",
|
|
13350
|
-
"NSFoundationVersionNumber10_7_1",
|
|
13351
|
-
"NSFoundationVersionNumber10_7_2",
|
|
13352
|
-
"NSFoundationVersionNumber10_7_3",
|
|
13353
|
-
"NSFoundationVersionNumber10_7_4",
|
|
13354
|
-
"NSFoundationVersionNumber10_8",
|
|
13355
|
-
"NSFoundationVersionNumber10_8_1",
|
|
13356
|
-
"NSFoundationVersionNumber10_8_2",
|
|
13357
|
-
"NSFoundationVersionNumber10_8_3",
|
|
13358
|
-
"NSFoundationVersionNumber10_8_4",
|
|
13359
|
-
"NSFoundationVersionNumber10_9",
|
|
13360
|
-
"NSFoundationVersionNumber10_9_1",
|
|
13361
|
-
"NSFoundationVersionNumber10_9_2",
|
|
13362
|
-
"NSFoundationVersionNumber_iOS_4_0",
|
|
13363
|
-
"NSFoundationVersionNumber_iOS_4_1",
|
|
13364
|
-
"NSFoundationVersionNumber_iOS_4_2",
|
|
13365
|
-
"NSFoundationVersionNumber_iOS_4_3",
|
|
13366
|
-
"NSFoundationVersionNumber_iOS_5_0",
|
|
13367
|
-
"NSFoundationVersionNumber_iOS_5_1",
|
|
13368
|
-
"NSFoundationVersionNumber_iOS_6_0",
|
|
13369
|
-
"NSFoundationVersionNumber_iOS_6_1",
|
|
13370
|
-
"NSFoundationVersionNumber_iOS_7_0",
|
|
13371
|
-
"NSFoundationVersionNumber_iOS_7_1",
|
|
13372
|
-
"NSFoundationVersionNumber_iOS_8_0",
|
|
13373
|
-
"NSFoundationVersionNumber_iOS_8_1",
|
|
13374
|
-
"NSFoundationVersionNumber_iOS_8_2",
|
|
13375
|
-
"NSFoundationVersionNumber_iOS_8_3",
|
|
13376
|
-
"NSFoundationVersionNumber_iOS_8_4",
|
|
13377
|
-
"NSFoundationVersionNumber_iOS_8_x_Max",
|
|
13378
|
-
"NSFoundationVersionNumber_iOS_9_0",
|
|
13379
|
-
"NSFoundationVersionNumber_iOS_9_1",
|
|
13380
|
-
"NSFoundationVersionNumber_iOS_9_2",
|
|
13381
|
-
"NSFoundationVersionNumber_iOS_9_3",
|
|
13382
|
-
"NSFoundationVersionNumber_iOS_9_4",
|
|
13383
|
-
"NSFoundationVersionNumber_iOS_9_x_Max",
|
|
13384
|
-
"NSFoundationVersionNumber_iPhoneOS_2_0",
|
|
13385
|
-
"NSFoundationVersionNumber_iPhoneOS_2_1",
|
|
13386
|
-
"NSFoundationVersionNumber_iPhoneOS_2_2",
|
|
13387
|
-
"NSFoundationVersionNumber_iPhoneOS_3_0",
|
|
13388
|
-
"NSFoundationVersionNumber_iPhoneOS_3_1",
|
|
13389
|
-
"NSFoundationVersionNumber_iPhoneOS_3_2",
|
|
13390
13282
|
"NSFoundationVersionWithFileManagerResourceForkSupport",
|
|
13391
13283
|
"NSFreeHashTable",
|
|
13392
13284
|
"NSFreeMapTable",
|
|
@@ -14535,7 +14427,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
14535
14427
|
for (const file of Object.keys(input.files)) {
|
|
14536
14428
|
if (!file.endsWith(".swift")) continue;
|
|
14537
14429
|
const target = bySourcePath.find(
|
|
14538
|
-
(candidate) => candidate.path === "." || file.startsWith(`${candidate.path}/`)
|
|
14430
|
+
(candidate) => (candidate.path === "." || file.startsWith(`${candidate.path}/`)) && (candidate.sources === void 0 || candidate.sources.some((source) => {
|
|
14431
|
+
const selected = import_node_path27.default.posix.join(candidate.path, source);
|
|
14432
|
+
return file === selected || file.startsWith(`${selected}/`);
|
|
14433
|
+
}))
|
|
14539
14434
|
);
|
|
14540
14435
|
const excluded = target?.exclude?.some(
|
|
14541
14436
|
(name2) => file === import_node_path27.default.posix.join(target.path, name2)
|
|
@@ -14588,7 +14483,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
14588
14483
|
const targetEntries = (target) => {
|
|
14589
14484
|
const prefix = target.path === "." ? "" : `${target.path}/`;
|
|
14590
14485
|
return Object.entries(input.files).filter(
|
|
14591
|
-
([file]) => file.startsWith(prefix) && !target.
|
|
14486
|
+
([file]) => file.startsWith(prefix) && (target.sources === void 0 || !(file.endsWith(".swift") || isSwiftNativeTranslationUnit(file)) || target.sources.some((source) => {
|
|
14487
|
+
const selected = import_node_path27.default.posix.join(prefix, source);
|
|
14488
|
+
return file === selected || file.startsWith(`${selected}/`);
|
|
14489
|
+
})) && !target.exclude?.some(
|
|
14592
14490
|
(excluded) => file === `${prefix}${excluded}` || file.startsWith(`${prefix}${excluded}/`)
|
|
14593
14491
|
) && !targets.some(
|
|
14594
14492
|
(candidate) => candidate.name !== target.name && candidate.path !== "." && candidate.path.startsWith(prefix) && file.startsWith(`${candidate.path}/`)
|
|
@@ -14743,8 +14641,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
14743
14641
|
)) {
|
|
14744
14642
|
const include2 = match[1];
|
|
14745
14643
|
const producer = /(?:^|\/)([^/]+)-Swift\.h$/.exec(include2)?.[1];
|
|
14746
|
-
if (producer &&
|
|
14747
|
-
producers2.add(producer);
|
|
14644
|
+
if (producer && swiftTargets.has(producer)) producers2.add(producer);
|
|
14748
14645
|
const local = [
|
|
14749
14646
|
import_node_path27.default.posix.join(import_node_path27.default.posix.dirname(file), include2),
|
|
14750
14647
|
`${includes}${include2}`,
|