peachsim 0.1.2299 → 0.1.2301
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/cli/commands/control.ts +1 -0
- package/cli/commands/serve.ts +12 -3
- package/cli/commands/shell-url.ts +5 -0
- 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 +413 -100
- 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 +3 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +385 -93
- 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 +2608 -102
- package/dist-lib/host/fetch-proxy-handler.cjs +6 -10
- 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 +68 -33
- 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 +66 -32
- package/dist-lib/native-app-identity-project.cjs +49 -24
- package/dist-lib/native-app-identity-project.mjs +49 -24
- 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 +56 -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 +2 -1
- package/dist-lib/sdk.mjs +2 -1
- package/dist-lib/skills.cjs +481 -125
- package/dist-lib/swift-compile.cjs +40 -8
- package/dist-lib/swift-compile.mjs +40 -8
- 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 +94 -37
- package/dist-lib/vite.cjs +12 -11
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/activitykit-activityContract.d.ts +17 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/gesture-arbitration-native.d.ts +124 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +3 -1
- package/dist-types/packages/peach-kit/src/transitions/screen-transition-math.d.ts +2 -2
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/bundle-channel.mjs +4 -3
- package/src/cli-runtime.ts +6 -0
- package/src/expo-discovery-cache.ts +6 -6
- package/src/expo-swift-host.ts +19 -4
- package/src/host/bridge-host.ts +9 -0
- package/src/launchMetadataContract.ts +1 -0
- package/src/native-firebase-config.ts +14 -0
- package/src/swift-compile.ts +28 -1
- package/src/swift-guest-compile.ts +19 -3
- package/src/swift-guest-source-plan.ts +7 -2
- package/src/swiftContract.ts +3 -0
- package/src/turbo-compile.ts +60 -4
- package/src/turbo-source.ts +239 -35
- package/src/vite-plugin-one.ts +3 -3
- package/src/widget-extension-bundle.ts +48 -0
- package/src/xcode-project.ts +67 -25
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2301 | (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;
|
|
@@ -1807,7 +1807,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
1807
1807
|
var init_swift_standin_digest = __esm({
|
|
1808
1808
|
"src/swift-standin-digest.ts"() {
|
|
1809
1809
|
"use strict";
|
|
1810
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
1810
|
+
STANDIN_SOURCE_DIGEST = true ? "7dd2fef3ceef6be07d22cfa2f397bda7721d34bc2ef8764f78e05b9637849f09" : standinSourceDigest();
|
|
1811
1811
|
}
|
|
1812
1812
|
});
|
|
1813
1813
|
|
|
@@ -7518,7 +7518,7 @@ var swiftCoverageProvenance;
|
|
|
7518
7518
|
var init_provenance = __esm({
|
|
7519
7519
|
"src/swift-coverage/provenance.ts"() {
|
|
7520
7520
|
"use strict";
|
|
7521
|
-
swiftCoverageProvenance = true ? JSON.parse('{"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":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"
|
|
7521
|
+
swiftCoverageProvenance = true ? JSON.parse('{"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":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"f0e86caccf203fa58395cbac9fed64577bb98a061efdf24f85a289c4e5996db9","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
7522
7522
|
}
|
|
7523
7523
|
});
|
|
7524
7524
|
|
|
@@ -8718,7 +8718,7 @@ var init_swift_compile = __esm({
|
|
|
8718
8718
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
8719
8719
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
8720
8720
|
).join("");
|
|
8721
|
-
compilerSourceDigest = true ? "
|
|
8721
|
+
compilerSourceDigest = true ? "ad311d7f868d4920f32f2ed00502f49f84fb83ae19817180a70ef5f799334169" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
8722
8722
|
CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
8723
8723
|
"CFAllocator",
|
|
8724
8724
|
"CFArray",
|
|
@@ -9502,6 +9502,16 @@ function loadProject(xcodeproj) {
|
|
|
9502
9502
|
loaded.set(projectFile, { digest, project: result });
|
|
9503
9503
|
return result;
|
|
9504
9504
|
}
|
|
9505
|
+
function selectedDeveloperDir() {
|
|
9506
|
+
developerDir ??= process.platform === "darwin" ? (
|
|
9507
|
+
// runner-toolchain-platform: darwin
|
|
9508
|
+
(0, import_node_child_process9.execFileSync)("xcode-select", ["-p"], {
|
|
9509
|
+
encoding: "utf8",
|
|
9510
|
+
stdio: ["ignore", "pipe", "pipe"]
|
|
9511
|
+
}).trim()
|
|
9512
|
+
) : "";
|
|
9513
|
+
return developerDir;
|
|
9514
|
+
}
|
|
9505
9515
|
function defaultConfiguration(project) {
|
|
9506
9516
|
const configList = project.object(str(project.project.buildConfigurationList));
|
|
9507
9517
|
const names = list(configList?.buildConfigurations).flatMap(
|
|
@@ -9568,15 +9578,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
9568
9578
|
resolving2.delete(marker);
|
|
9569
9579
|
return value;
|
|
9570
9580
|
};
|
|
9571
|
-
let developerDir;
|
|
9572
9581
|
const derivedSettings = {
|
|
9573
|
-
DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? (
|
|
9574
|
-
// runner-toolchain-platform: darwin
|
|
9575
|
-
(0, import_node_child_process9.execFileSync)("xcode-select", ["-p"], {
|
|
9576
|
-
encoding: "utf8",
|
|
9577
|
-
stdio: ["ignore", "pipe", "pipe"]
|
|
9578
|
-
}).trim()
|
|
9579
|
-
) : ""),
|
|
9582
|
+
DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? selectedDeveloperDir(),
|
|
9580
9583
|
PRODUCT_NAME: () => get("TARGET_NAME"),
|
|
9581
9584
|
PRODUCT_MODULE_NAME: () => applyOperator(get("PRODUCT_NAME"), "c99extidentifier"),
|
|
9582
9585
|
EXECUTABLE_NAME: () => get("PRODUCT_NAME"),
|
|
@@ -10341,7 +10344,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
10341
10344
|
options.installedPods
|
|
10342
10345
|
);
|
|
10343
10346
|
const allTargets = projects.flatMap(projectTargets);
|
|
10344
|
-
const appTargets = allTargets.filter(
|
|
10347
|
+
const appTargets = allTargets.filter(
|
|
10348
|
+
(ref) => isIosAppTarget(ref, options) || targetName !== void 0 && ref.target.name === targetName && ref.target.productType === APP_EXTENSION
|
|
10349
|
+
);
|
|
10345
10350
|
const appTargetNames = appTargets.map((ref) => str(ref.target.name) ?? ref.id);
|
|
10346
10351
|
const container = import_node_path14.default.basename(xcodeprojOrWorkspace);
|
|
10347
10352
|
const named = targetName ? appTargets.filter((ref) => ref.target.name === targetName) : appTargets;
|
|
@@ -10405,7 +10410,8 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
10405
10410
|
const words = settingList(flags);
|
|
10406
10411
|
const linked = new Set(linkedTargets(ref).map((link) => link.target));
|
|
10407
10412
|
return words.flatMap((word, index) => {
|
|
10408
|
-
const
|
|
10413
|
+
const library = word.startsWith("-l") && word.length > 2 ? word.slice(2) : words[index - 1] === "-l" ? word : void 0;
|
|
10414
|
+
const target = words[index - 1] === "-framework" ? byProduct.get(`${word}.framework`) : library ? byProduct.get(`lib${library}.a`) ?? byProduct.get(`lib${library}.dylib`) : void 0;
|
|
10409
10415
|
if (!target || target === ref || linked.has(target)) return [];
|
|
10410
10416
|
linked.add(target);
|
|
10411
10417
|
return [{ target, attributes: [] }];
|
|
@@ -10433,7 +10439,16 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
10433
10439
|
order.push(ref);
|
|
10434
10440
|
};
|
|
10435
10441
|
visit3(app);
|
|
10436
|
-
const
|
|
10442
|
+
const headerPhases = /* @__PURE__ */ new Map();
|
|
10443
|
+
const headerPhase = (ref) => {
|
|
10444
|
+
const key = `${ref.project.xcodeproj}\0${ref.id}`;
|
|
10445
|
+
const cached = headerPhases.get(key);
|
|
10446
|
+
if (cached) return cached;
|
|
10447
|
+
const files = readHeaderPhase(ref);
|
|
10448
|
+
headerPhases.set(key, files);
|
|
10449
|
+
return files;
|
|
10450
|
+
};
|
|
10451
|
+
const readHeaderPhase = (ref) => list(ref.target.buildPhases).flatMap((phaseId) => {
|
|
10437
10452
|
const phase = ref.project.object(phaseId);
|
|
10438
10453
|
if (phase?.isa !== "PBXHeadersBuildPhase") return [];
|
|
10439
10454
|
return list(phase.files).flatMap((id) => {
|
|
@@ -10450,6 +10465,23 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
10450
10465
|
];
|
|
10451
10466
|
});
|
|
10452
10467
|
});
|
|
10468
|
+
const projectNonFrameworkHeaders = /* @__PURE__ */ new Map();
|
|
10469
|
+
const nonFrameworkHeadersOf = (project) => {
|
|
10470
|
+
const cached = projectNonFrameworkHeaders.get(project);
|
|
10471
|
+
if (cached) return cached;
|
|
10472
|
+
const headers = /* @__PURE__ */ new Map();
|
|
10473
|
+
for (const other of projectTargets(project)) {
|
|
10474
|
+
if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
|
|
10475
|
+
const otherProduct = productName(other);
|
|
10476
|
+
for (const { file, visibility } of headerPhase(other)) {
|
|
10477
|
+
if (visibility === "Project") continue;
|
|
10478
|
+
const key = `${otherProduct}/${import_node_path14.default.basename(file)}`;
|
|
10479
|
+
if (!headers.has(key)) headers.set(key, file);
|
|
10480
|
+
}
|
|
10481
|
+
}
|
|
10482
|
+
projectNonFrameworkHeaders.set(project, headers);
|
|
10483
|
+
return headers;
|
|
10484
|
+
};
|
|
10453
10485
|
const productNames = /* @__PURE__ */ new Map();
|
|
10454
10486
|
const productName = (ref) => {
|
|
10455
10487
|
const key = `${ref.project.xcodeproj}\0${ref.id}`;
|
|
@@ -10682,16 +10714,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
10682
10714
|
const qualified = `${product}/${name3}`;
|
|
10683
10715
|
if (!ownHeaders.has(qualified)) ownHeaders.set(qualified, file);
|
|
10684
10716
|
}
|
|
10685
|
-
const nonFrameworkHeaders =
|
|
10686
|
-
for (const other of projectTargets(ref.project)) {
|
|
10687
|
-
if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
|
|
10688
|
-
const otherProduct = productName(other);
|
|
10689
|
-
for (const { file, visibility } of headerPhase(other)) {
|
|
10690
|
-
if (visibility === "Project") continue;
|
|
10691
|
-
const key = `${otherProduct}/${import_node_path14.default.basename(file)}`;
|
|
10692
|
-
if (!nonFrameworkHeaders.has(key)) nonFrameworkHeaders.set(key, file);
|
|
10693
|
-
}
|
|
10694
|
-
}
|
|
10717
|
+
const nonFrameworkHeaders = nonFrameworkHeadersOf(ref.project);
|
|
10695
10718
|
const wrapper = import_node_path14.default.join(settings2("BUILT_PRODUCTS_DIR"), `${product}.framework`);
|
|
10696
10719
|
const moduleMap = (settings2("DEFINES_MODULE") === "YES" || !framework) && settings2("MODULEMAP_FILE") ? absolute(settings2("MODULEMAP_FILE")) : null;
|
|
10697
10720
|
const frameworkUmbrella = !compatibility && framework && members.sources.length > 0 && moduleMap ? import_node_path14.default.join(import_node_path14.default.dirname(moduleMap), `${moduleName}-umbrella.h`) : null;
|
|
@@ -11390,7 +11413,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
11390
11413
|
cocoapods
|
|
11391
11414
|
};
|
|
11392
11415
|
}
|
|
11393
|
-
var import_node_child_process9, import_node_crypto5, import_node_fs15, import_node_path14, import_plist2, XCODE_DEFAULT_IOS_DEPLOYMENT_TARGET, runScriptTimeoutMs, CXX_STANDARD_ALIASES, PRE_CXX20_STANDARDS, APPLICATION, RESOURCE_BUNDLE, PRODUCT_MACH_O_TYPES, FRAMEWORK_PRODUCTS, HEADER_FILE, MODULE_PRODUCTS, CONDITIONS, isDirectory, loaded, preparedSourcePhases, isPodsProject, targetRefs, NativeAppTargetSelectionError, workspaceResolvedFile, SwiftPackageResolutionRequired;
|
|
11416
|
+
var import_node_child_process9, import_node_crypto5, import_node_fs15, import_node_path14, import_plist2, XCODE_DEFAULT_IOS_DEPLOYMENT_TARGET, runScriptTimeoutMs, CXX_STANDARD_ALIASES, PRE_CXX20_STANDARDS, APPLICATION, APP_EXTENSION, RESOURCE_BUNDLE, PRODUCT_MACH_O_TYPES, FRAMEWORK_PRODUCTS, HEADER_FILE, MODULE_PRODUCTS, CONDITIONS, isDirectory, loaded, developerDir, preparedSourcePhases, isPodsProject, targetRefs, NativeAppTargetSelectionError, workspaceResolvedFile, SwiftPackageResolutionRequired;
|
|
11394
11417
|
var init_xcode_project = __esm({
|
|
11395
11418
|
"src/xcode-project.ts"() {
|
|
11396
11419
|
"use strict";
|
|
@@ -11429,6 +11452,7 @@ var init_xcode_project = __esm({
|
|
|
11429
11452
|
"compiler-default"
|
|
11430
11453
|
]);
|
|
11431
11454
|
APPLICATION = "com.apple.product-type.application";
|
|
11455
|
+
APP_EXTENSION = "com.apple.product-type.app-extension";
|
|
11432
11456
|
RESOURCE_BUNDLE = "com.apple.product-type.bundle";
|
|
11433
11457
|
PRODUCT_MACH_O_TYPES = {
|
|
11434
11458
|
"com.apple.product-type.application": "mh_execute",
|
|
@@ -13551,7 +13575,7 @@ var init_react_native_core = __esm({
|
|
|
13551
13575
|
init_swift_distribution();
|
|
13552
13576
|
init_swift_package();
|
|
13553
13577
|
init_swiftContract();
|
|
13554
|
-
recipe = true ? "
|
|
13578
|
+
recipe = true ? "96416de7238919b274266f095ef4213211a2a26c133d0df7ab5e0459ded52ef1" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
13555
13579
|
}
|
|
13556
13580
|
});
|
|
13557
13581
|
|
|
@@ -13860,7 +13884,7 @@ var init_node_http_fetch = __esm({
|
|
|
13860
13884
|
var runtime_companion_default;
|
|
13861
13885
|
var init_runtime_companion = __esm({
|
|
13862
13886
|
"runtime-companion.json"() {
|
|
13863
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
13887
|
+
runtime_companion_default = { abi: 1, sha256: "60900a3af6e6213c855e6682baa0ebdb6a6865510e4e3a51a24d4c584b3fdec2", file: "node/cli-60900a3af6e6213c855e6682baa0ebdb6a6865510e4e3a51a24d4c584b3fdec2.cjs" };
|
|
13864
13888
|
}
|
|
13865
13889
|
});
|
|
13866
13890
|
|
|
@@ -13871,6 +13895,7 @@ __export(cli_runtime_exports, {
|
|
|
13871
13895
|
cliCompanionPath: () => cliCompanionPath,
|
|
13872
13896
|
ensureCliCompanion: () => ensureCliCompanion,
|
|
13873
13897
|
getCliRuntime: () => getCliRuntime,
|
|
13898
|
+
loadCliRuntime: () => loadCliRuntime,
|
|
13874
13899
|
verifyCliCompanion: () => verifyCliCompanion
|
|
13875
13900
|
});
|
|
13876
13901
|
function cliCompanionPath() {
|
|
@@ -13918,6 +13943,10 @@ async function ensureCliCompanion(root) {
|
|
|
13918
13943
|
(0, import_node_fs24.rmSync)(staged, { force: true });
|
|
13919
13944
|
}
|
|
13920
13945
|
}
|
|
13946
|
+
async function loadCliRuntime() {
|
|
13947
|
+
if (!loaded2) await ensureCliCompanion(peachRuntimeRoot());
|
|
13948
|
+
return getCliRuntime();
|
|
13949
|
+
}
|
|
13921
13950
|
function getCliRuntime() {
|
|
13922
13951
|
if (loaded2) return loaded2.runtime;
|
|
13923
13952
|
const root = peachRuntimeRoot();
|
|
@@ -15184,6 +15213,15 @@ const result = JSON.stringify(getConfig(root, { skipSDKVersionRequirement: true
|
|
|
15184
15213
|
if (Buffer.byteLength(result) > 1024 * 1024) throw new Error('Expo native configuration exceeds 1 MiB.');
|
|
15185
15214
|
writeFileSync(process.argv[2], result, { mode: 0o600 });`;
|
|
15186
15215
|
function hasExpoConfig(projectRoot) {
|
|
15216
|
+
const packagePath = import_node_path15.default.join(projectRoot, "package.json");
|
|
15217
|
+
const manifest = import_node_fs16.default.existsSync(packagePath) ? JSON.parse(import_node_fs16.default.readFileSync(packagePath, "utf8")) : null;
|
|
15218
|
+
if (isRecord(manifest)) {
|
|
15219
|
+
const dependencies = [manifest.dependencies, manifest.devDependencies].filter(
|
|
15220
|
+
isRecord
|
|
15221
|
+
);
|
|
15222
|
+
if (dependencies.some((deps) => "one" in deps) && !dependencies.some((deps) => "expo" in deps))
|
|
15223
|
+
return false;
|
|
15224
|
+
}
|
|
15187
15225
|
const appJsonPath = import_node_path15.default.join(projectRoot, "app.json");
|
|
15188
15226
|
const appJson = import_node_fs16.default.existsSync(appJsonPath) ? JSON.parse(import_node_fs16.default.readFileSync(appJsonPath, "utf8")) : null;
|
|
15189
15227
|
const staticExpo = isRecord(appJson) && (isRecord(appJson.expo) || [appJson.ios, appJson.android].some(
|
|
@@ -17705,7 +17743,6 @@ var NATIVE_RUNTIME_PACKAGE_NAMES = [
|
|
|
17705
17743
|
// ../peach-globals/src/guest-modules/lazy-stub-patterns.ts
|
|
17706
17744
|
init_version_range();
|
|
17707
17745
|
var LAZY_STUB_PATTERNS = [
|
|
17708
|
-
"@10play/tentap-editor",
|
|
17709
17746
|
"@adobe/react-native-aepcore",
|
|
17710
17747
|
"@azesmway/react-native-unity",
|
|
17711
17748
|
"@azzapp/react-native-skia-video",
|
|
@@ -17778,8 +17815,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
17778
17815
|
"react-native-agora",
|
|
17779
17816
|
"react-native-android-location-enabler",
|
|
17780
17817
|
"react-native-animateable-text",
|
|
17781
|
-
"react-native-app-clip",
|
|
17782
|
-
"react-native-avoid-softinput",
|
|
17783
17818
|
"react-native-azure-auth",
|
|
17784
17819
|
"react-native-bare-kit",
|
|
17785
17820
|
"react-native-bluetooth-classic",
|
|
@@ -17794,7 +17829,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
17794
17829
|
"react-native-extra-dimensions-android",
|
|
17795
17830
|
"react-native-fast-opencv",
|
|
17796
17831
|
"react-native-fast-shadow",
|
|
17797
|
-
"react-native-fast-squircle",
|
|
17798
17832
|
"react-native-fast-tflite",
|
|
17799
17833
|
"react-native-file-viewer-turbo",
|
|
17800
17834
|
"react-native-floating-label-input",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2301 | (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;
|
|
@@ -2938,7 +2938,7 @@ function localSwiftBinaryModules(dir) {
|
|
|
2938
2938
|
}
|
|
2939
2939
|
|
|
2940
2940
|
// src/swift-coverage/provenance.ts
|
|
2941
|
-
var swiftCoverageProvenance = true ? JSON.parse('{"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":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"
|
|
2941
|
+
var swiftCoverageProvenance = true ? JSON.parse('{"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":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"f0e86caccf203fa58395cbac9fed64577bb98a061efdf24f85a289c4e5996db9","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
2942
2942
|
|
|
2943
2943
|
// src/swift-coverage/xcode-asset-symbols.ts
|
|
2944
2944
|
var silentTypes = /* @__PURE__ */ new Set([
|
|
@@ -3413,7 +3413,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
3413
3413
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
3414
3414
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
3415
3415
|
).join("");
|
|
3416
|
-
var compilerSourceDigest = true ? "
|
|
3416
|
+
var compilerSourceDigest = true ? "ad311d7f868d4920f32f2ed00502f49f84fb83ae19817180a70ef5f799334169" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
3417
3417
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
3418
3418
|
"CFAllocator",
|
|
3419
3419
|
"CFArray",
|
|
@@ -3863,6 +3863,7 @@ var PRE_CXX20_STANDARDS = /* @__PURE__ */ new Set([
|
|
|
3863
3863
|
"compiler-default"
|
|
3864
3864
|
]);
|
|
3865
3865
|
var APPLICATION = "com.apple.product-type.application";
|
|
3866
|
+
var APP_EXTENSION = "com.apple.product-type.app-extension";
|
|
3866
3867
|
var RESOURCE_BUNDLE = "com.apple.product-type.bundle";
|
|
3867
3868
|
var PRODUCT_MACH_O_TYPES = {
|
|
3868
3869
|
"com.apple.product-type.application": "mh_execute",
|
|
@@ -4071,6 +4072,17 @@ function loadProject(xcodeproj) {
|
|
|
4071
4072
|
loaded.set(projectFile, { digest, project: result });
|
|
4072
4073
|
return result;
|
|
4073
4074
|
}
|
|
4075
|
+
var developerDir;
|
|
4076
|
+
function selectedDeveloperDir() {
|
|
4077
|
+
developerDir ??= process.platform === "darwin" ? (
|
|
4078
|
+
// runner-toolchain-platform: darwin
|
|
4079
|
+
(0, import_node_child_process3.execFileSync)("xcode-select", ["-p"], {
|
|
4080
|
+
encoding: "utf8",
|
|
4081
|
+
stdio: ["ignore", "pipe", "pipe"]
|
|
4082
|
+
}).trim()
|
|
4083
|
+
) : "";
|
|
4084
|
+
return developerDir;
|
|
4085
|
+
}
|
|
4074
4086
|
function defaultConfiguration(project) {
|
|
4075
4087
|
const configList = project.object(str(project.project.buildConfigurationList));
|
|
4076
4088
|
const names = list(configList?.buildConfigurations).flatMap(
|
|
@@ -4137,15 +4149,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
4137
4149
|
resolving.delete(marker);
|
|
4138
4150
|
return value;
|
|
4139
4151
|
};
|
|
4140
|
-
let developerDir;
|
|
4141
4152
|
const derivedSettings = {
|
|
4142
|
-
DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? (
|
|
4143
|
-
// runner-toolchain-platform: darwin
|
|
4144
|
-
(0, import_node_child_process3.execFileSync)("xcode-select", ["-p"], {
|
|
4145
|
-
encoding: "utf8",
|
|
4146
|
-
stdio: ["ignore", "pipe", "pipe"]
|
|
4147
|
-
}).trim()
|
|
4148
|
-
) : ""),
|
|
4153
|
+
DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? selectedDeveloperDir(),
|
|
4149
4154
|
PRODUCT_NAME: () => get("TARGET_NAME"),
|
|
4150
4155
|
PRODUCT_MODULE_NAME: () => applyOperator(get("PRODUCT_NAME"), "c99extidentifier"),
|
|
4151
4156
|
EXECUTABLE_NAME: () => get("PRODUCT_NAME"),
|
|
@@ -4930,7 +4935,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
4930
4935
|
options.installedPods
|
|
4931
4936
|
);
|
|
4932
4937
|
const allTargets = projects.flatMap(projectTargets);
|
|
4933
|
-
const appTargets = allTargets.filter(
|
|
4938
|
+
const appTargets = allTargets.filter(
|
|
4939
|
+
(ref) => isIosAppTarget(ref, options) || targetName !== void 0 && ref.target.name === targetName && ref.target.productType === APP_EXTENSION
|
|
4940
|
+
);
|
|
4934
4941
|
const appTargetNames = appTargets.map((ref) => str(ref.target.name) ?? ref.id);
|
|
4935
4942
|
const container = import_node_path6.default.basename(xcodeprojOrWorkspace);
|
|
4936
4943
|
const named = targetName ? appTargets.filter((ref) => ref.target.name === targetName) : appTargets;
|
|
@@ -4994,7 +5001,8 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
4994
5001
|
const words = settingList(flags);
|
|
4995
5002
|
const linked = new Set(linkedTargets(ref).map((link) => link.target));
|
|
4996
5003
|
return words.flatMap((word, index) => {
|
|
4997
|
-
const
|
|
5004
|
+
const library = word.startsWith("-l") && word.length > 2 ? word.slice(2) : words[index - 1] === "-l" ? word : void 0;
|
|
5005
|
+
const target = words[index - 1] === "-framework" ? byProduct.get(`${word}.framework`) : library ? byProduct.get(`lib${library}.a`) ?? byProduct.get(`lib${library}.dylib`) : void 0;
|
|
4998
5006
|
if (!target || target === ref || linked.has(target)) return [];
|
|
4999
5007
|
linked.add(target);
|
|
5000
5008
|
return [{ target, attributes: [] }];
|
|
@@ -5022,7 +5030,16 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5022
5030
|
order.push(ref);
|
|
5023
5031
|
};
|
|
5024
5032
|
visit(app);
|
|
5025
|
-
const
|
|
5033
|
+
const headerPhases = /* @__PURE__ */ new Map();
|
|
5034
|
+
const headerPhase = (ref) => {
|
|
5035
|
+
const key = `${ref.project.xcodeproj}\0${ref.id}`;
|
|
5036
|
+
const cached = headerPhases.get(key);
|
|
5037
|
+
if (cached) return cached;
|
|
5038
|
+
const files = readHeaderPhase(ref);
|
|
5039
|
+
headerPhases.set(key, files);
|
|
5040
|
+
return files;
|
|
5041
|
+
};
|
|
5042
|
+
const readHeaderPhase = (ref) => list(ref.target.buildPhases).flatMap((phaseId) => {
|
|
5026
5043
|
const phase = ref.project.object(phaseId);
|
|
5027
5044
|
if (phase?.isa !== "PBXHeadersBuildPhase") return [];
|
|
5028
5045
|
return list(phase.files).flatMap((id) => {
|
|
@@ -5039,6 +5056,23 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5039
5056
|
];
|
|
5040
5057
|
});
|
|
5041
5058
|
});
|
|
5059
|
+
const projectNonFrameworkHeaders = /* @__PURE__ */ new Map();
|
|
5060
|
+
const nonFrameworkHeadersOf = (project) => {
|
|
5061
|
+
const cached = projectNonFrameworkHeaders.get(project);
|
|
5062
|
+
if (cached) return cached;
|
|
5063
|
+
const headers = /* @__PURE__ */ new Map();
|
|
5064
|
+
for (const other of projectTargets(project)) {
|
|
5065
|
+
if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
|
|
5066
|
+
const otherProduct = productName(other);
|
|
5067
|
+
for (const { file, visibility } of headerPhase(other)) {
|
|
5068
|
+
if (visibility === "Project") continue;
|
|
5069
|
+
const key = `${otherProduct}/${import_node_path6.default.basename(file)}`;
|
|
5070
|
+
if (!headers.has(key)) headers.set(key, file);
|
|
5071
|
+
}
|
|
5072
|
+
}
|
|
5073
|
+
projectNonFrameworkHeaders.set(project, headers);
|
|
5074
|
+
return headers;
|
|
5075
|
+
};
|
|
5042
5076
|
const productNames = /* @__PURE__ */ new Map();
|
|
5043
5077
|
const productName = (ref) => {
|
|
5044
5078
|
const key = `${ref.project.xcodeproj}\0${ref.id}`;
|
|
@@ -5271,16 +5305,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5271
5305
|
const qualified = `${product}/${name2}`;
|
|
5272
5306
|
if (!ownHeaders.has(qualified)) ownHeaders.set(qualified, file);
|
|
5273
5307
|
}
|
|
5274
|
-
const nonFrameworkHeaders =
|
|
5275
|
-
for (const other of projectTargets(ref.project)) {
|
|
5276
|
-
if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
|
|
5277
|
-
const otherProduct = productName(other);
|
|
5278
|
-
for (const { file, visibility } of headerPhase(other)) {
|
|
5279
|
-
if (visibility === "Project") continue;
|
|
5280
|
-
const key = `${otherProduct}/${import_node_path6.default.basename(file)}`;
|
|
5281
|
-
if (!nonFrameworkHeaders.has(key)) nonFrameworkHeaders.set(key, file);
|
|
5282
|
-
}
|
|
5283
|
-
}
|
|
5308
|
+
const nonFrameworkHeaders = nonFrameworkHeadersOf(ref.project);
|
|
5284
5309
|
const wrapper = import_node_path6.default.join(settings2("BUILT_PRODUCTS_DIR"), `${product}.framework`);
|
|
5285
5310
|
const moduleMap = (settings2("DEFINES_MODULE") === "YES" || !framework) && settings2("MODULEMAP_FILE") ? absolute(settings2("MODULEMAP_FILE")) : null;
|
|
5286
5311
|
const frameworkUmbrella = !compatibility && framework && members.sources.length > 0 && moduleMap ? import_node_path6.default.join(import_node_path6.default.dirname(moduleMap), `${moduleName}-umbrella.h`) : null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2301 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -2956,7 +2956,7 @@ import { join as join3, relative, sep } from "node:path";
|
|
|
2956
2956
|
import { createHash as createHash5 } from "node:crypto";
|
|
2957
2957
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2958
2958
|
import { join } from "node:path";
|
|
2959
|
-
var swiftCoverageProvenance = true ? JSON.parse('{"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":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"
|
|
2959
|
+
var swiftCoverageProvenance = true ? JSON.parse('{"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":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"f0e86caccf203fa58395cbac9fed64577bb98a061efdf24f85a289c4e5996db9","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests(join(import.meta.dirname, ".."));
|
|
2960
2960
|
|
|
2961
2961
|
// src/swift-coverage/xcode-asset-symbols.ts
|
|
2962
2962
|
import { existsSync, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
@@ -3640,7 +3640,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
3640
3640
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
3641
3641
|
(module) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module}"`
|
|
3642
3642
|
).join("");
|
|
3643
|
-
var compilerSourceDigest = true ? "
|
|
3643
|
+
var compilerSourceDigest = true ? "ad311d7f868d4920f32f2ed00502f49f84fb83ae19817180a70ef5f799334169" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
3644
3644
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
3645
3645
|
"CFAllocator",
|
|
3646
3646
|
"CFArray",
|
|
@@ -4104,6 +4104,7 @@ var PRE_CXX20_STANDARDS = /* @__PURE__ */ new Set([
|
|
|
4104
4104
|
"compiler-default"
|
|
4105
4105
|
]);
|
|
4106
4106
|
var APPLICATION = "com.apple.product-type.application";
|
|
4107
|
+
var APP_EXTENSION = "com.apple.product-type.app-extension";
|
|
4107
4108
|
var RESOURCE_BUNDLE = "com.apple.product-type.bundle";
|
|
4108
4109
|
var PRODUCT_MACH_O_TYPES = {
|
|
4109
4110
|
"com.apple.product-type.application": "mh_execute",
|
|
@@ -4312,6 +4313,17 @@ function loadProject(xcodeproj) {
|
|
|
4312
4313
|
loaded.set(projectFile, { digest, project: result });
|
|
4313
4314
|
return result;
|
|
4314
4315
|
}
|
|
4316
|
+
var developerDir;
|
|
4317
|
+
function selectedDeveloperDir() {
|
|
4318
|
+
developerDir ?? (developerDir = process.platform === "darwin" ? (
|
|
4319
|
+
// runner-toolchain-platform: darwin
|
|
4320
|
+
execFileSync14("xcode-select", ["-p"], {
|
|
4321
|
+
encoding: "utf8",
|
|
4322
|
+
stdio: ["ignore", "pipe", "pipe"]
|
|
4323
|
+
}).trim()
|
|
4324
|
+
) : "");
|
|
4325
|
+
return developerDir;
|
|
4326
|
+
}
|
|
4315
4327
|
function defaultConfiguration(project) {
|
|
4316
4328
|
const configList = project.object(str(project.project.buildConfigurationList));
|
|
4317
4329
|
const names = list(configList?.buildConfigurations).flatMap(
|
|
@@ -4378,15 +4390,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
4378
4390
|
resolving.delete(marker);
|
|
4379
4391
|
return value;
|
|
4380
4392
|
};
|
|
4381
|
-
let developerDir;
|
|
4382
4393
|
const derivedSettings = {
|
|
4383
|
-
DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? (
|
|
4384
|
-
// runner-toolchain-platform: darwin
|
|
4385
|
-
execFileSync14("xcode-select", ["-p"], {
|
|
4386
|
-
encoding: "utf8",
|
|
4387
|
-
stdio: ["ignore", "pipe", "pipe"]
|
|
4388
|
-
}).trim()
|
|
4389
|
-
) : "")),
|
|
4394
|
+
DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? selectedDeveloperDir(),
|
|
4390
4395
|
PRODUCT_NAME: () => get("TARGET_NAME"),
|
|
4391
4396
|
PRODUCT_MODULE_NAME: () => applyOperator(get("PRODUCT_NAME"), "c99extidentifier"),
|
|
4392
4397
|
EXECUTABLE_NAME: () => get("PRODUCT_NAME"),
|
|
@@ -5171,7 +5176,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5171
5176
|
options.installedPods
|
|
5172
5177
|
);
|
|
5173
5178
|
const allTargets = projects.flatMap(projectTargets);
|
|
5174
|
-
const appTargets = allTargets.filter(
|
|
5179
|
+
const appTargets = allTargets.filter(
|
|
5180
|
+
(ref) => isIosAppTarget(ref, options) || targetName !== void 0 && ref.target.name === targetName && ref.target.productType === APP_EXTENSION
|
|
5181
|
+
);
|
|
5175
5182
|
const appTargetNames = appTargets.map((ref) => str(ref.target.name) ?? ref.id);
|
|
5176
5183
|
const container = path35.basename(xcodeprojOrWorkspace);
|
|
5177
5184
|
const named = targetName ? appTargets.filter((ref) => ref.target.name === targetName) : appTargets;
|
|
@@ -5235,7 +5242,8 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5235
5242
|
const words = settingList(flags);
|
|
5236
5243
|
const linked = new Set(linkedTargets(ref).map((link) => link.target));
|
|
5237
5244
|
return words.flatMap((word, index) => {
|
|
5238
|
-
const
|
|
5245
|
+
const library = word.startsWith("-l") && word.length > 2 ? word.slice(2) : words[index - 1] === "-l" ? word : void 0;
|
|
5246
|
+
const target = words[index - 1] === "-framework" ? byProduct.get(`${word}.framework`) : library ? byProduct.get(`lib${library}.a`) ?? byProduct.get(`lib${library}.dylib`) : void 0;
|
|
5239
5247
|
if (!target || target === ref || linked.has(target)) return [];
|
|
5240
5248
|
linked.add(target);
|
|
5241
5249
|
return [{ target, attributes: [] }];
|
|
@@ -5263,7 +5271,16 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5263
5271
|
order.push(ref);
|
|
5264
5272
|
};
|
|
5265
5273
|
visit(app);
|
|
5266
|
-
const
|
|
5274
|
+
const headerPhases = /* @__PURE__ */ new Map();
|
|
5275
|
+
const headerPhase = (ref) => {
|
|
5276
|
+
const key = `${ref.project.xcodeproj}\0${ref.id}`;
|
|
5277
|
+
const cached = headerPhases.get(key);
|
|
5278
|
+
if (cached) return cached;
|
|
5279
|
+
const files = readHeaderPhase(ref);
|
|
5280
|
+
headerPhases.set(key, files);
|
|
5281
|
+
return files;
|
|
5282
|
+
};
|
|
5283
|
+
const readHeaderPhase = (ref) => list(ref.target.buildPhases).flatMap((phaseId) => {
|
|
5267
5284
|
const phase = ref.project.object(phaseId);
|
|
5268
5285
|
if (phase?.isa !== "PBXHeadersBuildPhase") return [];
|
|
5269
5286
|
return list(phase.files).flatMap((id) => {
|
|
@@ -5280,6 +5297,23 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5280
5297
|
];
|
|
5281
5298
|
});
|
|
5282
5299
|
});
|
|
5300
|
+
const projectNonFrameworkHeaders = /* @__PURE__ */ new Map();
|
|
5301
|
+
const nonFrameworkHeadersOf = (project) => {
|
|
5302
|
+
const cached = projectNonFrameworkHeaders.get(project);
|
|
5303
|
+
if (cached) return cached;
|
|
5304
|
+
const headers = /* @__PURE__ */ new Map();
|
|
5305
|
+
for (const other of projectTargets(project)) {
|
|
5306
|
+
if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
|
|
5307
|
+
const otherProduct = productName(other);
|
|
5308
|
+
for (const { file, visibility } of headerPhase(other)) {
|
|
5309
|
+
if (visibility === "Project") continue;
|
|
5310
|
+
const key = `${otherProduct}/${path35.basename(file)}`;
|
|
5311
|
+
if (!headers.has(key)) headers.set(key, file);
|
|
5312
|
+
}
|
|
5313
|
+
}
|
|
5314
|
+
projectNonFrameworkHeaders.set(project, headers);
|
|
5315
|
+
return headers;
|
|
5316
|
+
};
|
|
5283
5317
|
const productNames = /* @__PURE__ */ new Map();
|
|
5284
5318
|
const productName = (ref) => {
|
|
5285
5319
|
const key = `${ref.project.xcodeproj}\0${ref.id}`;
|
|
@@ -5512,16 +5546,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5512
5546
|
const qualified = `${product}/${name2}`;
|
|
5513
5547
|
if (!ownHeaders.has(qualified)) ownHeaders.set(qualified, file);
|
|
5514
5548
|
}
|
|
5515
|
-
const nonFrameworkHeaders =
|
|
5516
|
-
for (const other of projectTargets(ref.project)) {
|
|
5517
|
-
if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
|
|
5518
|
-
const otherProduct = productName(other);
|
|
5519
|
-
for (const { file, visibility } of headerPhase(other)) {
|
|
5520
|
-
if (visibility === "Project") continue;
|
|
5521
|
-
const key = `${otherProduct}/${path35.basename(file)}`;
|
|
5522
|
-
if (!nonFrameworkHeaders.has(key)) nonFrameworkHeaders.set(key, file);
|
|
5523
|
-
}
|
|
5524
|
-
}
|
|
5549
|
+
const nonFrameworkHeaders = nonFrameworkHeadersOf(ref.project);
|
|
5525
5550
|
const wrapper = path35.join(settings2("BUILT_PRODUCTS_DIR"), `${product}.framework`);
|
|
5526
5551
|
const moduleMap = (settings2("DEFINES_MODULE") === "YES" || !framework) && settings2("MODULEMAP_FILE") ? absolute(settings2("MODULEMAP_FILE")) : null;
|
|
5527
5552
|
const frameworkUmbrella = !compatibility && framework && members.sources.length > 0 && moduleMap ? path35.join(path35.dirname(moduleMap), `${moduleName}-umbrella.h`) : null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2301 | (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.2301 | (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.2301 | (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/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2301 | (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/plist.mjs
CHANGED
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2301 | (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.2301 | (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;
|