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
|
@@ -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
|
|
|
@@ -11988,7 +11988,7 @@ function swiftInterfaceWithoutBodies(text5, keepDefaults = false) {
|
|
|
11988
11988
|
continue;
|
|
11989
11989
|
}
|
|
11990
11990
|
const char = text5[i];
|
|
11991
|
-
if (char === "=" && parens > 0 && text5[i - 1] === " " && text5[i + 1] === " ") {
|
|
11991
|
+
if (!keepDefaults && char === "=" && parens > 0 && text5[i - 1] === " " && text5[i + 1] === " ") {
|
|
11992
11992
|
out = out.trimEnd();
|
|
11993
11993
|
i = skipExpression(text5, i + 1);
|
|
11994
11994
|
continue;
|
|
@@ -14134,10 +14134,11 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
14134
14134
|
"-module-cache-path",
|
|
14135
14135
|
moduleCache,
|
|
14136
14136
|
"-minimum-access-level",
|
|
14137
|
-
// symbol graphs hide public underscored names at the public threshold
|
|
14138
|
-
//
|
|
14139
|
-
//
|
|
14140
|
-
|
|
14137
|
+
// symbol graphs hide public underscored names at the public threshold,
|
|
14138
|
+
// including a function with an underscored parameter. clang headers
|
|
14139
|
+
// remain the declaration boundary, and a swift overlay names its
|
|
14140
|
+
// underscored and spi declarations.
|
|
14141
|
+
"internal",
|
|
14141
14142
|
...surface.interface ? ["-include-spi-symbols"] : [],
|
|
14142
14143
|
"-skip-synthesized-members",
|
|
14143
14144
|
"-omit-extension-block-symbols",
|
|
@@ -14236,6 +14237,13 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
14236
14237
|
writeHeaders();
|
|
14237
14238
|
}
|
|
14238
14239
|
const ownHeaders = new Set(headerFiles(headersDir).map((name3) => import_node_path27.default.basename(name3)));
|
|
14240
|
+
const functionPointers = new Set(
|
|
14241
|
+
[...originals.values()].flatMap(
|
|
14242
|
+
(text5) => [...text5.matchAll(/\btypedef\b[^;{}]*?\(\s*\*\s*(\w+)\s*\)\s*\(/g)].map(
|
|
14243
|
+
(match) => match[1]
|
|
14244
|
+
)
|
|
14245
|
+
)
|
|
14246
|
+
);
|
|
14239
14247
|
const graphs = import_node_fs30.default.readdirSync(out).filter((name3) => name3.endsWith(".symbols.json")).sort().map((name3) => {
|
|
14240
14248
|
const graph = JSON.parse(import_node_fs30.default.readFileSync(import_node_path27.default.join(out, name3), "utf8"));
|
|
14241
14249
|
return {
|
|
@@ -14243,6 +14251,22 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
14243
14251
|
symbols: graph.symbols.filter((symbol2) => {
|
|
14244
14252
|
const header = /^c:([^@]+\.h)@/.exec(symbol2.identifier.precise)?.[1];
|
|
14245
14253
|
return !header || ownHeaders.has(header);
|
|
14254
|
+
}).map((symbol2) => {
|
|
14255
|
+
if (symbol2.kind.identifier !== "swift.typealias" || !symbol2.identifier.precise.startsWith("c:") || !functionPointers.has(symbol2.pathComponents.at(-1) ?? ""))
|
|
14256
|
+
return symbol2;
|
|
14257
|
+
const fragments = symbol2.declarationFragments ?? [];
|
|
14258
|
+
const equals = fragments.findIndex(
|
|
14259
|
+
(fragment) => fragment.spelling.includes("=")
|
|
14260
|
+
);
|
|
14261
|
+
const arrow = fragments.findLastIndex(
|
|
14262
|
+
(fragment) => fragment.spelling.includes("->")
|
|
14263
|
+
);
|
|
14264
|
+
return {
|
|
14265
|
+
...symbol2,
|
|
14266
|
+
declarationFragments: fragments.map(
|
|
14267
|
+
(fragment, index) => index > equals && index < arrow && fragment.kind === "typeIdentifier" && functionPointers.has(fragment.spelling) ? { ...fragment, spelling: `@escaping ${fragment.spelling}` } : fragment
|
|
14268
|
+
)
|
|
14269
|
+
};
|
|
14246
14270
|
})
|
|
14247
14271
|
};
|
|
14248
14272
|
});
|
|
@@ -23013,7 +23037,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
23013
23037
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
23014
23038
|
var MULTI_MANIFEST_VERSION = 68;
|
|
23015
23039
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
23016
|
-
var compilerSourceDigest = true ? "
|
|
23040
|
+
var compilerSourceDigest = true ? "9d8d3ae2b2d5324ea93c50de702176f964cf229949899cccbeb49f982845e24b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
23017
23041
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
23018
23042
|
const hash = (0, import_node_crypto19.createHash)("sha256");
|
|
23019
23043
|
hash.update(`swift-compile
|
|
@@ -23422,6 +23446,9 @@ function emitSwiftPackageManifest(args) {
|
|
|
23422
23446
|
' publicHeadersPath: "include",'
|
|
23423
23447
|
] : native?.flags ? [` sources: ${JSON.stringify(native.sources)},`] : target.sources !== void 0 ? [` sources: ${JSON.stringify(target.sources)},`] : [],
|
|
23424
23448
|
...!native?.clang && target.publicHeadersPath !== void 0 ? [` publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)},`] : [],
|
|
23449
|
+
// swiftpm appends the root package's name after a target's own flags
|
|
23450
|
+
// unless the target opts out of package access
|
|
23451
|
+
...!clang && target.swiftFlags?.includes("-package-name") ? [" packageAccess: false,"] : [],
|
|
23425
23452
|
// the native backend supplies dependency module maps without their
|
|
23426
23453
|
// compiled modules. textual c++ includes keep those dependencies usable.
|
|
23427
23454
|
` ${clang ? nativeSettings : swiftSettings}${link}`,
|
|
@@ -23812,117 +23839,6 @@ var FOUNDATION_OVERLAY_GLOBALS = /* @__PURE__ */ new Set([
|
|
|
23812
23839
|
"NSFileErrorMinimum",
|
|
23813
23840
|
"NSFormattingErrorMaximum",
|
|
23814
23841
|
"NSFormattingErrorMinimum",
|
|
23815
|
-
"NSFoundationVersionNumber",
|
|
23816
|
-
"NSFoundationVersionNumber10_0",
|
|
23817
|
-
"NSFoundationVersionNumber10_1",
|
|
23818
|
-
"NSFoundationVersionNumber10_10",
|
|
23819
|
-
"NSFoundationVersionNumber10_10_1",
|
|
23820
|
-
"NSFoundationVersionNumber10_10_2",
|
|
23821
|
-
"NSFoundationVersionNumber10_10_3",
|
|
23822
|
-
"NSFoundationVersionNumber10_10_4",
|
|
23823
|
-
"NSFoundationVersionNumber10_10_5",
|
|
23824
|
-
"NSFoundationVersionNumber10_10_Max",
|
|
23825
|
-
"NSFoundationVersionNumber10_11",
|
|
23826
|
-
"NSFoundationVersionNumber10_11_1",
|
|
23827
|
-
"NSFoundationVersionNumber10_11_2",
|
|
23828
|
-
"NSFoundationVersionNumber10_11_3",
|
|
23829
|
-
"NSFoundationVersionNumber10_11_4",
|
|
23830
|
-
"NSFoundationVersionNumber10_11_Max",
|
|
23831
|
-
"NSFoundationVersionNumber10_1_1",
|
|
23832
|
-
"NSFoundationVersionNumber10_1_2",
|
|
23833
|
-
"NSFoundationVersionNumber10_1_3",
|
|
23834
|
-
"NSFoundationVersionNumber10_1_4",
|
|
23835
|
-
"NSFoundationVersionNumber10_2",
|
|
23836
|
-
"NSFoundationVersionNumber10_2_1",
|
|
23837
|
-
"NSFoundationVersionNumber10_2_2",
|
|
23838
|
-
"NSFoundationVersionNumber10_2_3",
|
|
23839
|
-
"NSFoundationVersionNumber10_2_4",
|
|
23840
|
-
"NSFoundationVersionNumber10_2_5",
|
|
23841
|
-
"NSFoundationVersionNumber10_2_6",
|
|
23842
|
-
"NSFoundationVersionNumber10_2_7",
|
|
23843
|
-
"NSFoundationVersionNumber10_2_8",
|
|
23844
|
-
"NSFoundationVersionNumber10_3",
|
|
23845
|
-
"NSFoundationVersionNumber10_3_1",
|
|
23846
|
-
"NSFoundationVersionNumber10_3_2",
|
|
23847
|
-
"NSFoundationVersionNumber10_3_3",
|
|
23848
|
-
"NSFoundationVersionNumber10_3_4",
|
|
23849
|
-
"NSFoundationVersionNumber10_3_5",
|
|
23850
|
-
"NSFoundationVersionNumber10_3_6",
|
|
23851
|
-
"NSFoundationVersionNumber10_3_7",
|
|
23852
|
-
"NSFoundationVersionNumber10_3_8",
|
|
23853
|
-
"NSFoundationVersionNumber10_3_9",
|
|
23854
|
-
"NSFoundationVersionNumber10_4",
|
|
23855
|
-
"NSFoundationVersionNumber10_4_1",
|
|
23856
|
-
"NSFoundationVersionNumber10_4_10",
|
|
23857
|
-
"NSFoundationVersionNumber10_4_11",
|
|
23858
|
-
"NSFoundationVersionNumber10_4_2",
|
|
23859
|
-
"NSFoundationVersionNumber10_4_3",
|
|
23860
|
-
"NSFoundationVersionNumber10_4_4_Intel",
|
|
23861
|
-
"NSFoundationVersionNumber10_4_4_PowerPC",
|
|
23862
|
-
"NSFoundationVersionNumber10_4_5",
|
|
23863
|
-
"NSFoundationVersionNumber10_4_6",
|
|
23864
|
-
"NSFoundationVersionNumber10_4_7",
|
|
23865
|
-
"NSFoundationVersionNumber10_4_8",
|
|
23866
|
-
"NSFoundationVersionNumber10_4_9",
|
|
23867
|
-
"NSFoundationVersionNumber10_5",
|
|
23868
|
-
"NSFoundationVersionNumber10_5_1",
|
|
23869
|
-
"NSFoundationVersionNumber10_5_2",
|
|
23870
|
-
"NSFoundationVersionNumber10_5_3",
|
|
23871
|
-
"NSFoundationVersionNumber10_5_4",
|
|
23872
|
-
"NSFoundationVersionNumber10_5_5",
|
|
23873
|
-
"NSFoundationVersionNumber10_5_6",
|
|
23874
|
-
"NSFoundationVersionNumber10_5_7",
|
|
23875
|
-
"NSFoundationVersionNumber10_5_8",
|
|
23876
|
-
"NSFoundationVersionNumber10_6",
|
|
23877
|
-
"NSFoundationVersionNumber10_6_1",
|
|
23878
|
-
"NSFoundationVersionNumber10_6_2",
|
|
23879
|
-
"NSFoundationVersionNumber10_6_3",
|
|
23880
|
-
"NSFoundationVersionNumber10_6_4",
|
|
23881
|
-
"NSFoundationVersionNumber10_6_5",
|
|
23882
|
-
"NSFoundationVersionNumber10_6_6",
|
|
23883
|
-
"NSFoundationVersionNumber10_6_7",
|
|
23884
|
-
"NSFoundationVersionNumber10_6_8",
|
|
23885
|
-
"NSFoundationVersionNumber10_7",
|
|
23886
|
-
"NSFoundationVersionNumber10_7_1",
|
|
23887
|
-
"NSFoundationVersionNumber10_7_2",
|
|
23888
|
-
"NSFoundationVersionNumber10_7_3",
|
|
23889
|
-
"NSFoundationVersionNumber10_7_4",
|
|
23890
|
-
"NSFoundationVersionNumber10_8",
|
|
23891
|
-
"NSFoundationVersionNumber10_8_1",
|
|
23892
|
-
"NSFoundationVersionNumber10_8_2",
|
|
23893
|
-
"NSFoundationVersionNumber10_8_3",
|
|
23894
|
-
"NSFoundationVersionNumber10_8_4",
|
|
23895
|
-
"NSFoundationVersionNumber10_9",
|
|
23896
|
-
"NSFoundationVersionNumber10_9_1",
|
|
23897
|
-
"NSFoundationVersionNumber10_9_2",
|
|
23898
|
-
"NSFoundationVersionNumber_iOS_4_0",
|
|
23899
|
-
"NSFoundationVersionNumber_iOS_4_1",
|
|
23900
|
-
"NSFoundationVersionNumber_iOS_4_2",
|
|
23901
|
-
"NSFoundationVersionNumber_iOS_4_3",
|
|
23902
|
-
"NSFoundationVersionNumber_iOS_5_0",
|
|
23903
|
-
"NSFoundationVersionNumber_iOS_5_1",
|
|
23904
|
-
"NSFoundationVersionNumber_iOS_6_0",
|
|
23905
|
-
"NSFoundationVersionNumber_iOS_6_1",
|
|
23906
|
-
"NSFoundationVersionNumber_iOS_7_0",
|
|
23907
|
-
"NSFoundationVersionNumber_iOS_7_1",
|
|
23908
|
-
"NSFoundationVersionNumber_iOS_8_0",
|
|
23909
|
-
"NSFoundationVersionNumber_iOS_8_1",
|
|
23910
|
-
"NSFoundationVersionNumber_iOS_8_2",
|
|
23911
|
-
"NSFoundationVersionNumber_iOS_8_3",
|
|
23912
|
-
"NSFoundationVersionNumber_iOS_8_4",
|
|
23913
|
-
"NSFoundationVersionNumber_iOS_8_x_Max",
|
|
23914
|
-
"NSFoundationVersionNumber_iOS_9_0",
|
|
23915
|
-
"NSFoundationVersionNumber_iOS_9_1",
|
|
23916
|
-
"NSFoundationVersionNumber_iOS_9_2",
|
|
23917
|
-
"NSFoundationVersionNumber_iOS_9_3",
|
|
23918
|
-
"NSFoundationVersionNumber_iOS_9_4",
|
|
23919
|
-
"NSFoundationVersionNumber_iOS_9_x_Max",
|
|
23920
|
-
"NSFoundationVersionNumber_iPhoneOS_2_0",
|
|
23921
|
-
"NSFoundationVersionNumber_iPhoneOS_2_1",
|
|
23922
|
-
"NSFoundationVersionNumber_iPhoneOS_2_2",
|
|
23923
|
-
"NSFoundationVersionNumber_iPhoneOS_3_0",
|
|
23924
|
-
"NSFoundationVersionNumber_iPhoneOS_3_1",
|
|
23925
|
-
"NSFoundationVersionNumber_iPhoneOS_3_2",
|
|
23926
23842
|
"NSFoundationVersionWithFileManagerResourceForkSupport",
|
|
23927
23843
|
"NSFreeHashTable",
|
|
23928
23844
|
"NSFreeMapTable",
|
|
@@ -25001,7 +24917,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
25001
24917
|
for (const file of Object.keys(input.files)) {
|
|
25002
24918
|
if (!file.endsWith(".swift")) continue;
|
|
25003
24919
|
const target = bySourcePath.find(
|
|
25004
|
-
(candidate) => candidate.path === "." || file.startsWith(`${candidate.path}/`)
|
|
24920
|
+
(candidate) => (candidate.path === "." || file.startsWith(`${candidate.path}/`)) && (candidate.sources === void 0 || candidate.sources.some((source) => {
|
|
24921
|
+
const selected = import_node_path45.default.posix.join(candidate.path, source);
|
|
24922
|
+
return file === selected || file.startsWith(`${selected}/`);
|
|
24923
|
+
}))
|
|
25005
24924
|
);
|
|
25006
24925
|
const excluded = target?.exclude?.some(
|
|
25007
24926
|
(name3) => file === import_node_path45.default.posix.join(target.path, name3)
|
|
@@ -25054,7 +24973,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
25054
24973
|
const targetEntries = (target) => {
|
|
25055
24974
|
const prefix = target.path === "." ? "" : `${target.path}/`;
|
|
25056
24975
|
return Object.entries(input.files).filter(
|
|
25057
|
-
([file]) => file.startsWith(prefix) && !target.
|
|
24976
|
+
([file]) => file.startsWith(prefix) && (target.sources === void 0 || !(file.endsWith(".swift") || isSwiftNativeTranslationUnit(file)) || target.sources.some((source) => {
|
|
24977
|
+
const selected = import_node_path45.default.posix.join(prefix, source);
|
|
24978
|
+
return file === selected || file.startsWith(`${selected}/`);
|
|
24979
|
+
})) && !target.exclude?.some(
|
|
25058
24980
|
(excluded) => file === `${prefix}${excluded}` || file.startsWith(`${prefix}${excluded}/`)
|
|
25059
24981
|
) && !targets.some(
|
|
25060
24982
|
(candidate) => candidate.name !== target.name && candidate.path !== "." && candidate.path.startsWith(prefix) && file.startsWith(`${candidate.path}/`)
|
|
@@ -25209,8 +25131,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
25209
25131
|
)) {
|
|
25210
25132
|
const include2 = match[1];
|
|
25211
25133
|
const producer = /(?:^|\/)([^/]+)-Swift\.h$/.exec(include2)?.[1];
|
|
25212
|
-
if (producer &&
|
|
25213
|
-
producers2.add(producer);
|
|
25134
|
+
if (producer && swiftTargets.has(producer)) producers2.add(producer);
|
|
25214
25135
|
const local = [
|
|
25215
25136
|
import_node_path45.default.posix.join(import_node_path45.default.posix.dirname(file), include2),
|
|
25216
25137
|
`${includes}${include2}`,
|
|
@@ -29729,8 +29650,10 @@ function isIosAppTarget(ref, options = {}) {
|
|
|
29729
29650
|
},
|
|
29730
29651
|
options
|
|
29731
29652
|
);
|
|
29653
|
+
const platforms2 = settingList(get("SUPPORTED_PLATFORMS"));
|
|
29654
|
+
if (platforms2.length > 0) return platforms2.some(isIosPlatform);
|
|
29732
29655
|
const sdk = get("SDKROOT");
|
|
29733
|
-
return sdk === "
|
|
29656
|
+
return sdk === "" || isIosPlatform(sdk);
|
|
29734
29657
|
}
|
|
29735
29658
|
function isIosPlatform(name3) {
|
|
29736
29659
|
return name3.startsWith("iphoneos") || name3.startsWith("iphonesimulator");
|
|
@@ -32275,7 +32198,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
32275
32198
|
return hash.digest("hex");
|
|
32276
32199
|
}
|
|
32277
32200
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
32278
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
32201
|
+
var STANDIN_SOURCE_DIGEST = true ? "8bf9878abc11473e9367806d1a6ac0089e4451eefdc2a1e5830542f3e83e80cf" : standinSourceDigest();
|
|
32279
32202
|
|
|
32280
32203
|
// src/expoSwiftContract.ts
|
|
32281
32204
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -32546,7 +32469,7 @@ async function packageTreeDigest(root) {
|
|
|
32546
32469
|
// src/expo-native-prebuilt.ts
|
|
32547
32470
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
32548
32471
|
function expoNativeCompilerDigestValue() {
|
|
32549
|
-
return true ? "
|
|
32472
|
+
return true ? "b94cda9bfcf7bc33627ad755dd1d150970b3a3ad790430aa313cfc6d23d36831" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
32550
32473
|
}
|
|
32551
32474
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
32552
32475
|
function readSources(value) {
|
|
@@ -33496,6 +33419,7 @@ function resolveSwiftPackages(options) {
|
|
|
33496
33419
|
dir: target.dir,
|
|
33497
33420
|
files: files2,
|
|
33498
33421
|
exclude: target.exclude,
|
|
33422
|
+
...target.sources ? { sources: target.sources } : {},
|
|
33499
33423
|
packageDir: pkg.manifest.dir,
|
|
33500
33424
|
remote: pkg.remote,
|
|
33501
33425
|
iosDeployment: pkg.manifest.iosDeployment,
|
|
@@ -41565,9 +41489,13 @@ async function buildXcodeLayout(root) {
|
|
|
41565
41489
|
upcomingFeatures: target.packageUpcomingFeatures.filter(
|
|
41566
41490
|
(feature) => feature.configuration === null || feature.configuration === packageConfiguration
|
|
41567
41491
|
).map((feature) => feature.name),
|
|
41568
|
-
|
|
41569
|
-
|
|
41570
|
-
|
|
41492
|
+
// the flat build gives every module one package; swiftpm names each
|
|
41493
|
+
// module for its own package, which `@retroactive` and `package` read
|
|
41494
|
+
swiftFlags: ["-package-name", swiftPackageIdentity(target.packageDir)].concat(
|
|
41495
|
+
target.packageSwiftFlags.filter(
|
|
41496
|
+
(setting) => setting.configuration === null || setting.configuration === packageConfiguration
|
|
41497
|
+
).flatMap((setting) => setting.flags)
|
|
41498
|
+
),
|
|
41571
41499
|
linkedLibraries: target.packageLibraries.filter(
|
|
41572
41500
|
(library) => library.configuration === null || library.configuration === packageConfiguration
|
|
41573
41501
|
).map((library) => library.name),
|
|
@@ -41925,7 +41853,7 @@ function xcodeManifest(layout2) {
|
|
|
41925
41853
|
`let package = Package(name: "app", ${layout2.app.iosDeploymentTarget ? `platforms: [.iOS(${JSON.stringify(layout2.app.iosDeploymentTarget)})], ` : ""}dependencies: [${[...nativePaths].map(([name3, directory]) => `.package(name: ${JSON.stringify(name3)}, path: ${JSON.stringify(directory)})`).join(", ")}], targets: [`,
|
|
41926
41854
|
` .executableTarget(name: "${layout2.app.moduleName}", dependencies: [${[...appProducts, ...layout2.targets.map((target) => JSON.stringify(target.name)), ...sdkProducts].join(", ")}], path: "${XCODE_APP_DIR}", ${appSettings}),`,
|
|
41927
41855
|
...layout2.targets.map(
|
|
41928
|
-
(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)}),`
|
|
41856
|
+
(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)}),`
|
|
41929
41857
|
),
|
|
41930
41858
|
"])",
|
|
41931
41859
|
""
|
|
@@ -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 __defProp = Object.defineProperty;
|
package/dist-lib/home-paths.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;
|