peachsim 0.1.1962 → 0.1.1964
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/README.md +4 -7
- package/cli/commands/setup.ts +18 -11
- package/cli/commands/telemetry.ts +1 -2
- package/cli/main.ts +0 -18
- package/cli/outbound-endpoints.ts +6 -6
- package/cli/privacy.ts +1 -21
- 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 +74 -29
- 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 +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +72 -27
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +4 -4
- package/dist-lib/host/bridge-host.cjs +74 -29
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- 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 +4 -4
- 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 +1 -1
- 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 +4 -4
- package/dist-lib/native-app-identity-project.cjs +3 -3
- package/dist-lib/native-app-identity-project.mjs +3 -3
- 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 +79 -44
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +2 -2
- 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 +6 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +44 -26
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/expo-swift-host.ts +37 -0
- package/src/home-paths.ts +4 -5
- package/src/settingsContract.ts +2 -2
- package/src/swift-cxx-reachable.ts +11 -2
- package/src/swift-objc-compile.ts +7 -2
- package/src/swift-objc-standin.ts +3 -4
- package/src/swift-packages.ts +3 -0
- package/src/swift-standins.ts +44 -16
- package/src/swift-toolchain.ts +6 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "05c0959ec7458f26e96bb0a18e01dd196e19e087c1c71e031ce0707d2494287d", "home-paths.ts": "af600a7f017474946ede726320a133d830e77e4e287b043d4fea026a945ce748", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "c126efdce870c1953833ec9c32d66b15bbe422ab2a31b7531be3e278edbc9737", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -11101,6 +11101,9 @@ function processRuns(pid) {
|
|
|
11101
11101
|
return error instanceof Error && "code" in error && error.code === "EPERM";
|
|
11102
11102
|
}
|
|
11103
11103
|
}
|
|
11104
|
+
function withoutCoreDump(file, args) {
|
|
11105
|
+
return ["/bin/sh", ["-c", 'ulimit -c 0; exec "$@"', "sh", file, ...args]];
|
|
11106
|
+
}
|
|
11104
11107
|
function swiftEnvironment(base = process.env) {
|
|
11105
11108
|
return {
|
|
11106
11109
|
...base,
|
|
@@ -13502,8 +13505,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13502
13505
|
import_node_fs26.default.rmSync(out, { recursive: true, force: true });
|
|
13503
13506
|
import_node_fs26.default.mkdirSync(out, { recursive: true });
|
|
13504
13507
|
const run8 = (0, import_node_child_process13.spawnSync)(
|
|
13505
|
-
import_node_path23.default.join(toolchainBin, "swift-symbolgraph-extract"),
|
|
13506
|
-
[
|
|
13508
|
+
...withoutCoreDump(import_node_path23.default.join(toolchainBin, "swift-symbolgraph-extract"), [
|
|
13507
13509
|
"-module-name",
|
|
13508
13510
|
surface.module,
|
|
13509
13511
|
"-target",
|
|
@@ -13523,7 +13525,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
13523
13525
|
"-omit-extension-block-symbols",
|
|
13524
13526
|
"-output-dir",
|
|
13525
13527
|
out
|
|
13526
|
-
],
|
|
13528
|
+
]),
|
|
13527
13529
|
{ encoding: "utf8", env: swiftEnvironment(), maxBuffer: 256 * 1024 * 1024 }
|
|
13528
13530
|
);
|
|
13529
13531
|
if (run8.error) throw run8.error;
|
|
@@ -22153,7 +22155,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
22153
22155
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
22154
22156
|
var MULTI_MANIFEST_VERSION = 66;
|
|
22155
22157
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
22156
|
-
var compilerSourceDigest = true ? "
|
|
22158
|
+
var compilerSourceDigest = true ? "777d4db5d7a8d74f3fc33c50d60c04b62ad2fdce4bce2e2eec8c4e358d61ce92" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
22157
22159
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
22158
22160
|
const hash = (0, import_node_crypto17.createHash)("sha256");
|
|
22159
22161
|
hash.update(`swift-compile
|
|
@@ -31083,7 +31085,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
31083
31085
|
return hash.digest("hex");
|
|
31084
31086
|
}
|
|
31085
31087
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
31086
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
31088
|
+
var STANDIN_SOURCE_DIGEST = true ? "2c1ec9d203fa5a2da70c4346e1574b582e71d72dbd796d40431f29c4e3aeabad" : standinSourceDigest();
|
|
31087
31089
|
|
|
31088
31090
|
// src/expoSwiftContract.ts
|
|
31089
31091
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -31413,7 +31415,7 @@ async function packageTreeDigest(root) {
|
|
|
31413
31415
|
|
|
31414
31416
|
// src/expo-native-prebuilt.ts
|
|
31415
31417
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
31416
|
-
var EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
31418
|
+
var EXPO_NATIVE_COMPILER_DIGEST = true ? "aabd8b1a975371fda074175e883d608df75f1aab0393e1a9b02f738d0f063fbd" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
31417
31419
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
31418
31420
|
function readSources(value) {
|
|
31419
31421
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -32020,6 +32022,7 @@ ${detail}` : ""}`);
|
|
|
32020
32022
|
}
|
|
32021
32023
|
|
|
32022
32024
|
// src/swift-packages.ts
|
|
32025
|
+
var swiftBinaryOnDisk = (binary2) => binary2.url !== null || import_node_fs62.default.existsSync(binary2.dir);
|
|
32023
32026
|
var SWIFT_PLACEHOLDER_PACKAGES = /* @__PURE__ */ new Map();
|
|
32024
32027
|
var placeholderPackage = (pkg) => SWIFT_PLACEHOLDER_PACKAGES.get(swiftPackageIdentity(pkg.manifest.dir));
|
|
32025
32028
|
function remoteSwiftCheckouts(root) {
|
|
@@ -33637,22 +33640,24 @@ function swiftStandin(surface, binary2, toolchain, work, behavior, siblings) {
|
|
|
33637
33640
|
symbolgraphWasm.push(wasm[index]);
|
|
33638
33641
|
}
|
|
33639
33642
|
symbolgraphWasm.push("-Xcc", "-Xclang", "-Xcc", "-fmodule-format=raw");
|
|
33640
|
-
exec(
|
|
33641
|
-
"-
|
|
33642
|
-
|
|
33643
|
-
|
|
33644
|
-
|
|
33645
|
-
|
|
33646
|
-
|
|
33647
|
-
|
|
33648
|
-
|
|
33649
|
-
|
|
33650
|
-
|
|
33651
|
-
|
|
33652
|
-
|
|
33653
|
-
|
|
33654
|
-
|
|
33655
|
-
|
|
33643
|
+
exec(
|
|
33644
|
+
...withoutCoreDump(import_node_path64.default.join(toolchain.toolchainBin, "swift-symbolgraph-extract"), [
|
|
33645
|
+
"-module-name",
|
|
33646
|
+
surface.module,
|
|
33647
|
+
...symbolgraphWasm,
|
|
33648
|
+
"-I",
|
|
33649
|
+
search,
|
|
33650
|
+
// at public the graph drops underscored public declarations, which other
|
|
33651
|
+
// public ones name; the emitter keeps only public and open symbols
|
|
33652
|
+
"-minimum-access-level",
|
|
33653
|
+
"internal",
|
|
33654
|
+
"-include-spi-symbols",
|
|
33655
|
+
"-skip-synthesized-members",
|
|
33656
|
+
"-omit-extension-block-symbols",
|
|
33657
|
+
"-output-dir",
|
|
33658
|
+
out
|
|
33659
|
+
])
|
|
33660
|
+
);
|
|
33656
33661
|
const graphs = import_node_fs66.default.readdirSync(out).filter((name3) => name3.endsWith(".symbols.json")).sort().map((name3) => JSON.parse(import_node_fs66.default.readFileSync(import_node_path64.default.join(out, name3), "utf8")));
|
|
33657
33662
|
const supplemented = synthesizedInterfaceEnums(text5, surface.module, graphs);
|
|
33658
33663
|
restoreSwiftInterfaceSPI(text5, surface.module, graphs);
|
|
@@ -35052,6 +35057,19 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
|
|
|
35052
35057
|
return settle(result);
|
|
35053
35058
|
}
|
|
35054
35059
|
async function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new Set(), behavior = {}) {
|
|
35060
|
+
const built2 = await buildStandins(binaries, toolchain, provided, behavior);
|
|
35061
|
+
return {
|
|
35062
|
+
standins: built2.standins,
|
|
35063
|
+
gaps: new Map([...built2.gaps].map(([target, gap]) => [target, gapText(gap)]))
|
|
35064
|
+
};
|
|
35065
|
+
}
|
|
35066
|
+
function gapText(gap) {
|
|
35067
|
+
const lines = gap.split("\n").map((line) => line.trim()).filter((line) => line && !/^[{[\]}",]/.test(line) && !/"kind":/.test(line));
|
|
35068
|
+
const errors = lines.filter((line) => /\berror:/.test(line));
|
|
35069
|
+
const text5 = (errors.length > 0 ? errors : lines).slice(0, 4).join("; ");
|
|
35070
|
+
return text5.length > 600 ? `${text5.slice(0, 600)}\u2026` : text5;
|
|
35071
|
+
}
|
|
35072
|
+
async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
35055
35073
|
const requested = binaries.filter((binary2) => !provided.has(binary2.target));
|
|
35056
35074
|
if (requested.length === 0) return { standins: [], gaps: /* @__PURE__ */ new Map() };
|
|
35057
35075
|
if (process.platform === "darwin" && process.env.TM_EXEC_BUILD_PLATFORM !== "mac" && process.env.TM_SESSION && process.env.CI !== "true" && toolchain.moduleRoot === sourceSwiftCheckout() && !swiftDistributionAt(toolchain.moduleRoot))
|
|
@@ -35436,7 +35454,7 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
35436
35454
|
clangModules.set(import_node_path65.default.resolve(binary2.dir, binary2.publicHeaders), binary2.target);
|
|
35437
35455
|
}
|
|
35438
35456
|
const frameworkBinaries = binaries.filter(
|
|
35439
|
-
(binary2) => binary2.reached && binary2.publicHeaders === void 0 && binary2.placeholder === void 0
|
|
35457
|
+
(binary2) => binary2.reached && binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && swiftBinaryOnDisk(binary2)
|
|
35440
35458
|
);
|
|
35441
35459
|
const declaredFrameworks = moduleRoot && frameworkBinaries.length > 0 ? {
|
|
35442
35460
|
moduleRoot,
|
|
@@ -38813,7 +38831,7 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
|
|
|
38813
38831
|
return [...binaries];
|
|
38814
38832
|
const staged = remoteSwiftCheckouts(app.rootDir);
|
|
38815
38833
|
if (!binaries.some(
|
|
38816
|
-
(binary2) => binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && binaryHeaderSearchPaths(binary2, staged).headers.length === 1
|
|
38834
|
+
(binary2) => binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && swiftBinaryOnDisk(binary2) && binaryHeaderSearchPaths(binary2, staged).headers.length === 1
|
|
38817
38835
|
))
|
|
38818
38836
|
return [...binaries];
|
|
38819
38837
|
const hash = (0, import_node_crypto34.createHash)("sha256");
|
|
@@ -38862,7 +38880,7 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
|
|
|
38862
38880
|
});
|
|
38863
38881
|
const checkouts = remoteSwiftCheckouts(app.rootDir);
|
|
38864
38882
|
const search = binaries.map((binary2) => {
|
|
38865
|
-
if (binary2.publicHeaders !== void 0 || binary2.placeholder !== void 0)
|
|
38883
|
+
if (binary2.publicHeaders !== void 0 || binary2.placeholder !== void 0 || !swiftBinaryOnDisk(binary2))
|
|
38866
38884
|
return null;
|
|
38867
38885
|
const headers = binaryHeaderSearchPaths(binary2, checkouts).headers;
|
|
38868
38886
|
if (headers.length !== 1) return null;
|
|
@@ -41493,6 +41511,29 @@ function cloneNativeTarget(target) {
|
|
|
41493
41511
|
sourceDirectories: { ...target.sourceDirectories }
|
|
41494
41512
|
};
|
|
41495
41513
|
}
|
|
41514
|
+
function podSupportsIOS(pod) {
|
|
41515
|
+
if (!isRecord(pod) || typeof pod.podName !== "string" || typeof pod.podspecDir !== "string")
|
|
41516
|
+
throw new Error("invalid Expo autolinking pod");
|
|
41517
|
+
const base = import_node_path71.default.join(pod.podspecDir, pod.podName);
|
|
41518
|
+
if (import_node_fs73.default.existsSync(`${base}.podspec.json`)) {
|
|
41519
|
+
const platforms2 = JSON.parse(
|
|
41520
|
+
import_node_fs73.default.readFileSync(`${base}.podspec.json`, "utf8")
|
|
41521
|
+
).platforms;
|
|
41522
|
+
return !isRecord(platforms2) || "ios" in platforms2;
|
|
41523
|
+
}
|
|
41524
|
+
if (!import_node_fs73.default.existsSync(`${base}.podspec`)) return true;
|
|
41525
|
+
const spec = import_node_fs73.default.readFileSync(`${base}.podspec`, "utf8");
|
|
41526
|
+
const names = /* @__PURE__ */ new Set();
|
|
41527
|
+
for (const [, hash] of spec.matchAll(/\.platforms\s*=\s*\{([^}]*)\}/g))
|
|
41528
|
+
for (const [, a, b, c] of hash.matchAll(
|
|
41529
|
+
/:(\w+)\s*=>|\b(\w+):\s|['"](\w+)['"]\s*=>/g
|
|
41530
|
+
))
|
|
41531
|
+
names.add(a ?? b ?? c);
|
|
41532
|
+
for (const [, name3] of spec.matchAll(/\.platform\s*=\s*:(\w+)/g)) names.add(name3);
|
|
41533
|
+
for (const [, name3] of spec.matchAll(/\.(\w+)\.deployment_target\s*=/g))
|
|
41534
|
+
names.add(name3);
|
|
41535
|
+
return names.size === 0 || names.has("ios");
|
|
41536
|
+
}
|
|
41496
41537
|
function synthesizedNativeTarget(name3, deploymentTarget) {
|
|
41497
41538
|
return {
|
|
41498
41539
|
name: name3,
|
|
@@ -42032,6 +42073,10 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
42032
42073
|
const namespaces = resolution && typeof resolution === "object" ? Reflect.get(resolution, "swiftModuleNames") : null;
|
|
42033
42074
|
const modules = resolution && typeof resolution === "object" ? Reflect.get(resolution, "modules") : null;
|
|
42034
42075
|
const pods = resolution && typeof resolution === "object" ? Reflect.get(resolution, "pods") : null;
|
|
42076
|
+
if (Array.isArray(pods) && pods.length > 0 && !pods.some(podSupportsIOS)) {
|
|
42077
|
+
report(`${packageName} was not linked: no pod supports iOS`);
|
|
42078
|
+
continue;
|
|
42079
|
+
}
|
|
42035
42080
|
const delegateNames = (key2) => {
|
|
42036
42081
|
const names = resolution && typeof resolution === "object" ? Reflect.get(resolution, key2) : null;
|
|
42037
42082
|
return Array.isArray(names) ? names : [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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.1964 | (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;
|
|
@@ -249,9 +249,9 @@ function readPrivacyPreferences() {
|
|
|
249
249
|
const productAnalytics = settings?.productAnalytics;
|
|
250
250
|
const crashReports = settings?.crashReports;
|
|
251
251
|
return {
|
|
252
|
-
productAnalytics: typeof productAnalytics === "boolean" ? productAnalytics :
|
|
253
|
-
crashReports: typeof crashReports === "boolean" ? crashReports :
|
|
254
|
-
configured: typeof productAnalytics === "boolean"
|
|
252
|
+
productAnalytics: typeof productAnalytics === "boolean" ? productAnalytics : false,
|
|
253
|
+
crashReports: typeof crashReports === "boolean" ? crashReports : false,
|
|
254
|
+
configured: typeof productAnalytics === "boolean" || typeof crashReports === "boolean"
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
257
|
function writePrivacyPreferences(preferences) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "05c0959ec7458f26e96bb0a18e01dd196e19e087c1c71e031ce0707d2494287d", "home-paths.ts": "af600a7f017474946ede726320a133d830e77e4e287b043d4fea026a945ce748", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "c126efdce870c1953833ec9c32d66b15bbe422ab2a31b7531be3e278edbc9737", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -10408,7 +10408,7 @@ var init_standalone = __esm({
|
|
|
10408
10408
|
var runtime_companion_default;
|
|
10409
10409
|
var init_runtime_companion = __esm({
|
|
10410
10410
|
"runtime-companion.json"() {
|
|
10411
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
10411
|
+
runtime_companion_default = { abi: 1, sha256: "127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43", file: "node/cli-127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43.cjs" };
|
|
10412
10412
|
}
|
|
10413
10413
|
});
|
|
10414
10414
|
|
|
@@ -23921,6 +23921,9 @@ function processRuns(pid) {
|
|
|
23921
23921
|
return error instanceof Error && "code" in error && error.code === "EPERM";
|
|
23922
23922
|
}
|
|
23923
23923
|
}
|
|
23924
|
+
function withoutCoreDump(file, args) {
|
|
23925
|
+
return ["/bin/sh", ["-c", 'ulimit -c 0; exec "$@"', "sh", file, ...args]];
|
|
23926
|
+
}
|
|
23924
23927
|
function swiftEnvironment(base = process.env) {
|
|
23925
23928
|
return {
|
|
23926
23929
|
...base,
|
|
@@ -26323,8 +26326,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26323
26326
|
import_node_fs31.default.rmSync(out, { recursive: true, force: true });
|
|
26324
26327
|
import_node_fs31.default.mkdirSync(out, { recursive: true });
|
|
26325
26328
|
const run11 = (0, import_node_child_process14.spawnSync)(
|
|
26326
|
-
import_node_path29.default.join(toolchainBin, "swift-symbolgraph-extract"),
|
|
26327
|
-
[
|
|
26329
|
+
...withoutCoreDump(import_node_path29.default.join(toolchainBin, "swift-symbolgraph-extract"), [
|
|
26328
26330
|
"-module-name",
|
|
26329
26331
|
surface.module,
|
|
26330
26332
|
"-target",
|
|
@@ -26344,7 +26346,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
26344
26346
|
"-omit-extension-block-symbols",
|
|
26345
26347
|
"-output-dir",
|
|
26346
26348
|
out
|
|
26347
|
-
],
|
|
26349
|
+
]),
|
|
26348
26350
|
{ encoding: "utf8", env: swiftEnvironment(), maxBuffer: 256 * 1024 * 1024 }
|
|
26349
26351
|
);
|
|
26350
26352
|
if (run11.error) throw run11.error;
|
|
@@ -35007,7 +35009,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
35007
35009
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
35008
35010
|
var MULTI_MANIFEST_VERSION = 66;
|
|
35009
35011
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
35010
|
-
var compilerSourceDigest = true ? "
|
|
35012
|
+
var compilerSourceDigest = true ? "777d4db5d7a8d74f3fc33c50d60c04b62ad2fdce4bce2e2eec8c4e358d61ce92" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
35011
35013
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
35012
35014
|
const hash = (0, import_node_crypto21.createHash)("sha256");
|
|
35013
35015
|
hash.update(`swift-compile
|
|
@@ -44289,7 +44291,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
44289
44291
|
return hash.digest("hex");
|
|
44290
44292
|
}
|
|
44291
44293
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
44292
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
44294
|
+
var STANDIN_SOURCE_DIGEST = true ? "2c1ec9d203fa5a2da70c4346e1574b582e71d72dbd796d40431f29c4e3aeabad" : standinSourceDigest();
|
|
44293
44295
|
|
|
44294
44296
|
// src/expoSwiftContract.ts
|
|
44295
44297
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -44656,7 +44658,7 @@ async function packageTreeDigest(root) {
|
|
|
44656
44658
|
|
|
44657
44659
|
// src/expo-native-prebuilt.ts
|
|
44658
44660
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
44659
|
-
var EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
44661
|
+
var EXPO_NATIVE_COMPILER_DIGEST = true ? "aabd8b1a975371fda074175e883d608df75f1aab0393e1a9b02f738d0f063fbd" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
44660
44662
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
44661
44663
|
function readSources(value) {
|
|
44662
44664
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -45278,6 +45280,7 @@ ${detail}` : ""}`);
|
|
|
45278
45280
|
}
|
|
45279
45281
|
|
|
45280
45282
|
// src/swift-packages.ts
|
|
45283
|
+
var swiftBinaryOnDisk = (binary2) => binary2.url !== null || import_node_fs68.default.existsSync(binary2.dir);
|
|
45281
45284
|
var SWIFT_PLACEHOLDER_PACKAGES = /* @__PURE__ */ new Map();
|
|
45282
45285
|
var placeholderPackage = (pkg) => SWIFT_PLACEHOLDER_PACKAGES.get(swiftPackageIdentity(pkg.manifest.dir));
|
|
45283
45286
|
function remoteSwiftCheckouts(root) {
|
|
@@ -46897,22 +46900,24 @@ function swiftStandin(surface, binary2, toolchain, work, behavior, siblings) {
|
|
|
46897
46900
|
symbolgraphWasm.push(wasm[index]);
|
|
46898
46901
|
}
|
|
46899
46902
|
symbolgraphWasm.push("-Xcc", "-Xclang", "-Xcc", "-fmodule-format=raw");
|
|
46900
|
-
exec(
|
|
46901
|
-
"-
|
|
46902
|
-
|
|
46903
|
-
|
|
46904
|
-
|
|
46905
|
-
|
|
46906
|
-
|
|
46907
|
-
|
|
46908
|
-
|
|
46909
|
-
|
|
46910
|
-
|
|
46911
|
-
|
|
46912
|
-
|
|
46913
|
-
|
|
46914
|
-
|
|
46915
|
-
|
|
46903
|
+
exec(
|
|
46904
|
+
...withoutCoreDump(import_node_path71.default.join(toolchain.toolchainBin, "swift-symbolgraph-extract"), [
|
|
46905
|
+
"-module-name",
|
|
46906
|
+
surface.module,
|
|
46907
|
+
...symbolgraphWasm,
|
|
46908
|
+
"-I",
|
|
46909
|
+
search,
|
|
46910
|
+
// at public the graph drops underscored public declarations, which other
|
|
46911
|
+
// public ones name; the emitter keeps only public and open symbols
|
|
46912
|
+
"-minimum-access-level",
|
|
46913
|
+
"internal",
|
|
46914
|
+
"-include-spi-symbols",
|
|
46915
|
+
"-skip-synthesized-members",
|
|
46916
|
+
"-omit-extension-block-symbols",
|
|
46917
|
+
"-output-dir",
|
|
46918
|
+
out
|
|
46919
|
+
])
|
|
46920
|
+
);
|
|
46916
46921
|
const graphs = import_node_fs72.default.readdirSync(out).filter((name3) => name3.endsWith(".symbols.json")).sort().map((name3) => JSON.parse(import_node_fs72.default.readFileSync(import_node_path71.default.join(out, name3), "utf8")));
|
|
46917
46922
|
const supplemented = synthesizedInterfaceEnums(text6, surface.module, graphs);
|
|
46918
46923
|
restoreSwiftInterfaceSPI(text6, surface.module, graphs);
|
|
@@ -48312,6 +48317,19 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
|
|
|
48312
48317
|
return settle(result);
|
|
48313
48318
|
}
|
|
48314
48319
|
async function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new Set(), behavior = {}) {
|
|
48320
|
+
const built2 = await buildStandins(binaries, toolchain, provided, behavior);
|
|
48321
|
+
return {
|
|
48322
|
+
standins: built2.standins,
|
|
48323
|
+
gaps: new Map([...built2.gaps].map(([target, gap]) => [target, gapText(gap)]))
|
|
48324
|
+
};
|
|
48325
|
+
}
|
|
48326
|
+
function gapText(gap) {
|
|
48327
|
+
const lines = gap.split("\n").map((line) => line.trim()).filter((line) => line && !/^[{[\]}",]/.test(line) && !/"kind":/.test(line));
|
|
48328
|
+
const errors = lines.filter((line) => /\berror:/.test(line));
|
|
48329
|
+
const text6 = (errors.length > 0 ? errors : lines).slice(0, 4).join("; ");
|
|
48330
|
+
return text6.length > 600 ? `${text6.slice(0, 600)}\u2026` : text6;
|
|
48331
|
+
}
|
|
48332
|
+
async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
48315
48333
|
const requested = binaries.filter((binary2) => !provided.has(binary2.target));
|
|
48316
48334
|
if (requested.length === 0) return { standins: [], gaps: /* @__PURE__ */ new Map() };
|
|
48317
48335
|
if (process.platform === "darwin" && process.env.TM_EXEC_BUILD_PLATFORM !== "mac" && process.env.TM_SESSION && process.env.CI !== "true" && toolchain.moduleRoot === sourceSwiftCheckout() && !swiftDistributionAt(toolchain.moduleRoot))
|
|
@@ -48696,7 +48714,7 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
48696
48714
|
clangModules.set(import_node_path72.default.resolve(binary2.dir, binary2.publicHeaders), binary2.target);
|
|
48697
48715
|
}
|
|
48698
48716
|
const frameworkBinaries = binaries.filter(
|
|
48699
|
-
(binary2) => binary2.reached && binary2.publicHeaders === void 0 && binary2.placeholder === void 0
|
|
48717
|
+
(binary2) => binary2.reached && binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && swiftBinaryOnDisk(binary2)
|
|
48700
48718
|
);
|
|
48701
48719
|
const declaredFrameworks = moduleRoot && frameworkBinaries.length > 0 ? {
|
|
48702
48720
|
moduleRoot,
|
|
@@ -52074,7 +52092,7 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
|
|
|
52074
52092
|
return [...binaries];
|
|
52075
52093
|
const staged = remoteSwiftCheckouts(app.rootDir);
|
|
52076
52094
|
if (!binaries.some(
|
|
52077
|
-
(binary2) => binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && binaryHeaderSearchPaths(binary2, staged).headers.length === 1
|
|
52095
|
+
(binary2) => binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && swiftBinaryOnDisk(binary2) && binaryHeaderSearchPaths(binary2, staged).headers.length === 1
|
|
52078
52096
|
))
|
|
52079
52097
|
return [...binaries];
|
|
52080
52098
|
const hash = (0, import_node_crypto39.createHash)("sha256");
|
|
@@ -52123,7 +52141,7 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
|
|
|
52123
52141
|
});
|
|
52124
52142
|
const checkouts = remoteSwiftCheckouts(app.rootDir);
|
|
52125
52143
|
const search = binaries.map((binary2) => {
|
|
52126
|
-
if (binary2.publicHeaders !== void 0 || binary2.placeholder !== void 0)
|
|
52144
|
+
if (binary2.publicHeaders !== void 0 || binary2.placeholder !== void 0 || !swiftBinaryOnDisk(binary2))
|
|
52127
52145
|
return null;
|
|
52128
52146
|
const headers = binaryHeaderSearchPaths(binary2, checkouts).headers;
|
|
52129
52147
|
if (headers.length !== 1) return null;
|
|
@@ -59107,6 +59125,29 @@ function cloneNativeTarget(target) {
|
|
|
59107
59125
|
sourceDirectories: { ...target.sourceDirectories }
|
|
59108
59126
|
};
|
|
59109
59127
|
}
|
|
59128
|
+
function podSupportsIOS(pod) {
|
|
59129
|
+
if (!isRecord(pod) || typeof pod.podName !== "string" || typeof pod.podspecDir !== "string")
|
|
59130
|
+
throw new Error("invalid Expo autolinking pod");
|
|
59131
|
+
const base = import_node_path82.default.join(pod.podspecDir, pod.podName);
|
|
59132
|
+
if (import_node_fs83.default.existsSync(`${base}.podspec.json`)) {
|
|
59133
|
+
const platforms2 = JSON.parse(
|
|
59134
|
+
import_node_fs83.default.readFileSync(`${base}.podspec.json`, "utf8")
|
|
59135
|
+
).platforms;
|
|
59136
|
+
return !isRecord(platforms2) || "ios" in platforms2;
|
|
59137
|
+
}
|
|
59138
|
+
if (!import_node_fs83.default.existsSync(`${base}.podspec`)) return true;
|
|
59139
|
+
const spec = import_node_fs83.default.readFileSync(`${base}.podspec`, "utf8");
|
|
59140
|
+
const names = /* @__PURE__ */ new Set();
|
|
59141
|
+
for (const [, hash] of spec.matchAll(/\.platforms\s*=\s*\{([^}]*)\}/g))
|
|
59142
|
+
for (const [, a, b, c] of hash.matchAll(
|
|
59143
|
+
/:(\w+)\s*=>|\b(\w+):\s|['"](\w+)['"]\s*=>/g
|
|
59144
|
+
))
|
|
59145
|
+
names.add(a ?? b ?? c);
|
|
59146
|
+
for (const [, name3] of spec.matchAll(/\.platform\s*=\s*:(\w+)/g)) names.add(name3);
|
|
59147
|
+
for (const [, name3] of spec.matchAll(/\.(\w+)\.deployment_target\s*=/g))
|
|
59148
|
+
names.add(name3);
|
|
59149
|
+
return names.size === 0 || names.has("ios");
|
|
59150
|
+
}
|
|
59110
59151
|
function synthesizedNativeTarget(name3, deploymentTarget) {
|
|
59111
59152
|
return {
|
|
59112
59153
|
name: name3,
|
|
@@ -59646,6 +59687,10 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
59646
59687
|
const namespaces = resolution && typeof resolution === "object" ? Reflect.get(resolution, "swiftModuleNames") : null;
|
|
59647
59688
|
const modules = resolution && typeof resolution === "object" ? Reflect.get(resolution, "modules") : null;
|
|
59648
59689
|
const pods = resolution && typeof resolution === "object" ? Reflect.get(resolution, "pods") : null;
|
|
59690
|
+
if (Array.isArray(pods) && pods.length > 0 && !pods.some(podSupportsIOS)) {
|
|
59691
|
+
report(`${packageName} was not linked: no pod supports iOS`);
|
|
59692
|
+
continue;
|
|
59693
|
+
}
|
|
59649
59694
|
const delegateNames = (key2) => {
|
|
59650
59695
|
const names = resolution && typeof resolution === "object" ? Reflect.get(resolution, key2) : null;
|
|
59651
59696
|
return Array.isArray(names) ? names : [];
|
|
@@ -62150,7 +62195,7 @@ async function nitroSupersetInputs(options) {
|
|
|
62150
62195
|
inputs[`provider:${name3}`] = `${packageVersion(root)}\0${await packageTreeDigest(root)}`;
|
|
62151
62196
|
return inputs;
|
|
62152
62197
|
}
|
|
62153
|
-
var NITRO_COMPILER_DIGEST = true ? "
|
|
62198
|
+
var NITRO_COMPILER_DIGEST = true ? "4436f37e5c9433ab8d98427c75c9969549750461258d73f206214a14f6c072b3" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
62154
62199
|
function readInputs(value) {
|
|
62155
62200
|
if (!isRecord(value)) return null;
|
|
62156
62201
|
const inputs = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|
|
@@ -4538,7 +4538,7 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
4538
4538
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4539
4539
|
|
|
4540
4540
|
// runtime-companion.json
|
|
4541
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
4541
|
+
var runtime_companion_default = { abi: 1, sha256: "127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43", file: "node/cli-127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43.cjs" };
|
|
4542
4542
|
|
|
4543
4543
|
// src/answeredNativePackages.ts
|
|
4544
4544
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "05c0959ec7458f26e96bb0a18e01dd196e19e087c1c71e031ce0707d2494287d", "home-paths.ts": "af600a7f017474946ede726320a133d830e77e4e287b043d4fea026a945ce748", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "c126efdce870c1953833ec9c32d66b15bbe422ab2a31b7531be3e278edbc9737", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -6922,7 +6922,7 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
6922
6922
|
init_version();
|
|
6923
6923
|
|
|
6924
6924
|
// runtime-companion.json
|
|
6925
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
6925
|
+
var runtime_companion_default = { abi: 1, sha256: "127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43", file: "node/cli-127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43.cjs" };
|
|
6926
6926
|
|
|
6927
6927
|
// src/answeredNativePackages.ts
|
|
6928
6928
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -19632,7 +19632,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
19632
19632
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
19633
19633
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
19634
19634
|
).join("");
|
|
19635
|
-
var compilerSourceDigest = true ? "
|
|
19635
|
+
var compilerSourceDigest = true ? "777d4db5d7a8d74f3fc33c50d60c04b62ad2fdce4bce2e2eec8c4e358d61ce92" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
19636
19636
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
19637
19637
|
"CFAllocator",
|
|
19638
19638
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|