peachsim 0.1.2299 → 0.1.2300

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.
Files changed (91) hide show
  1. package/cli/commands/serve.ts +12 -3
  2. package/dist-lib/agent-daemon-client.cjs +1 -1
  3. package/dist-lib/agent-events.cjs +1 -1
  4. package/dist-lib/attached-projects.cjs +1 -1
  5. package/dist-lib/auth/shared-session.cjs +1 -1
  6. package/dist-lib/backend-origin.cjs +1 -1
  7. package/dist-lib/beta.cjs +1 -1
  8. package/dist-lib/beta.mjs +1 -1
  9. package/dist-lib/bridge-constants.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.mjs +1 -1
  12. package/dist-lib/bridge-contract.cjs +1 -1
  13. package/dist-lib/bridge-contract.mjs +1 -1
  14. package/dist-lib/bundle-channel.cjs +113 -39
  15. package/dist-lib/capture-contract.cjs +1 -1
  16. package/dist-lib/capture-contract.mjs +1 -1
  17. package/dist-lib/cloud-contract.cjs +1 -1
  18. package/dist-lib/cloud-contract.mjs +1 -1
  19. package/dist-lib/cloud-test-args.cjs +1 -1
  20. package/dist-lib/cloud-test-args.mjs +1 -1
  21. package/dist-lib/cloud.cjs +1 -1
  22. package/dist-lib/cloud.mjs +1 -1
  23. package/dist-lib/config.cjs +1 -1
  24. package/dist-lib/config.mjs +1 -1
  25. package/dist-lib/detox/index.cjs +2 -2
  26. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  27. package/dist-lib/expo-swift-bundle.cjs +85 -32
  28. package/dist-lib/expo-swift-metadata.cjs +1 -1
  29. package/dist-lib/expo-swift-metadata.mjs +1 -1
  30. package/dist-lib/home-paths.cjs +1 -1
  31. package/dist-lib/host/bridge-host.cjs +92 -38
  32. package/dist-lib/host/fetch-proxy-handler.cjs +5 -9
  33. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  34. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  35. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  36. package/dist-lib/host/websocket-proxy.cjs +1 -1
  37. package/dist-lib/index.cjs +60 -30
  38. package/dist-lib/jump-to-source-babel.cjs +1 -1
  39. package/dist-lib/jump-to-source-native.cjs +1 -1
  40. package/dist-lib/kotlin-host.cjs +1 -1
  41. package/dist-lib/menu.cjs +1 -1
  42. package/dist-lib/menu.mjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  45. package/dist-lib/metro-production-bundle.cjs +1 -1
  46. package/dist-lib/metro-production-bundle.mjs +1 -1
  47. package/dist-lib/metro.cjs +59 -29
  48. package/dist-lib/native-app-identity-project.cjs +43 -22
  49. package/dist-lib/native-app-identity-project.mjs +43 -22
  50. package/dist-lib/native-app-identity.cjs +1 -1
  51. package/dist-lib/native-app-identity.mjs +1 -1
  52. package/dist-lib/native-firebase-metadata.cjs +1 -1
  53. package/dist-lib/native-firebase-metadata.mjs +1 -1
  54. package/dist-lib/pdfium-raster.cjs +1 -1
  55. package/dist-lib/pdfium-raster.mjs +1 -1
  56. package/dist-lib/plist.cjs +1 -1
  57. package/dist-lib/plist.mjs +1 -1
  58. package/dist-lib/profiles.cjs +1 -1
  59. package/dist-lib/public-brand.cjs +1 -1
  60. package/dist-lib/public-origins-lib-esm.json +24 -24
  61. package/dist-lib/public-origins-lib.json +53 -53
  62. package/dist-lib/react-native-host-modules.cjs +1 -1
  63. package/dist-lib/react-native-host-modules.mjs +1 -1
  64. package/dist-lib/reap-browser.cjs +1 -1
  65. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  66. package/dist-lib/sdk.cjs +1 -1
  67. package/dist-lib/sdk.mjs +1 -1
  68. package/dist-lib/skills.cjs +120 -54
  69. package/dist-lib/swift-compile.cjs +27 -3
  70. package/dist-lib/swift-compile.mjs +27 -3
  71. package/dist-lib/swift-package.cjs +1 -1
  72. package/dist-lib/swift-package.mjs +1 -1
  73. package/dist-lib/swift-submit.cjs +1 -1
  74. package/dist-lib/swift-submit.mjs +1 -1
  75. package/dist-lib/swift-toolchain.cjs +1 -1
  76. package/dist-lib/swift.cjs +1 -1
  77. package/dist-lib/vite-swift.cjs +75 -30
  78. package/dist-lib/vite.cjs +11 -10
  79. package/dist-lib/worklet-executable.cjs +1 -1
  80. package/dist-lib/worklet-executable.mjs +1 -1
  81. package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +3 -0
  82. package/dist-types/packages/peach-engine/src/render-worker/gesture-arbitration-native.d.ts +124 -0
  83. package/dist-types/packages/peach-kit/src/transitions/screen-transition-math.d.ts +2 -2
  84. package/package.json +1 -1
  85. package/runtime-companion.json +1 -1
  86. package/src/bundle-channel.mjs +4 -3
  87. package/src/cli-runtime.ts +6 -0
  88. package/src/native-firebase-config.ts +14 -0
  89. package/src/swift-compile.ts +28 -1
  90. package/src/vite-plugin-one.ts +3 -3
  91. package/src/xcode-project.ts +45 -22
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2299 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2300 | (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;
@@ -5129,7 +5129,7 @@ var swiftCoverageProvenance;
5129
5129
  var init_provenance = __esm({
5130
5130
  "src/swift-coverage/provenance.ts"() {
5131
5131
  "use strict";
5132
- 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":"b37f72dc848b4e2bc1ef1c875bd39c6085dc3e7038f03164102d3718c3dad217","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
5132
+ 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":"96a57d4b999e75658683d635d3522d6c7ae30b4c8bc38a8114af353bce5162ff","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
5133
5133
  }
5134
5134
  });
5135
5135
 
@@ -10663,8 +10663,8 @@ function developerDirs() {
10663
10663
  }
10664
10664
  return found;
10665
10665
  }
10666
- function readNativeSdk(developerDir) {
10667
- const env = { ...process.env, DEVELOPER_DIR: developerDir };
10666
+ function readNativeSdk(developerDir2) {
10667
+ const env = { ...process.env, DEVELOPER_DIR: developerDir2 };
10668
10668
  const xcrun = (args) => (
10669
10669
  // runner-toolchain-platform: darwin
10670
10670
  (0, import_node_child_process15.execFileSync)("xcrun", args, {
@@ -10703,19 +10703,19 @@ function nativeGraphMismatches(read) {
10703
10703
  function pinnedNativeSdk() {
10704
10704
  if (resolvedPinnedSdk) return resolvedPinnedSdk;
10705
10705
  let mismatches;
10706
- for (const developerDir of developerDirs()) {
10706
+ for (const developerDir2 of developerDirs()) {
10707
10707
  let read;
10708
10708
  try {
10709
- read = readNativeSdk(developerDir);
10709
+ read = readNativeSdk(developerDir2);
10710
10710
  } catch {
10711
10711
  continue;
10712
10712
  }
10713
10713
  if (read.sdk !== NATIVE_GRAPH_SDK_VERSION) continue;
10714
10714
  const differ = nativeGraphMismatches(read);
10715
10715
  if (differ.length === 0) {
10716
- process.env.DEVELOPER_DIR = developerDir;
10716
+ process.env.DEVELOPER_DIR = developerDir2;
10717
10717
  resolvedPinnedSdk = {
10718
- developerDir,
10718
+ developerDir: developerDir2,
10719
10719
  sdkPath: read.sdkPath,
10720
10720
  compiler: read.compiler
10721
10721
  };
@@ -24760,6 +24760,28 @@ function compileSwiftProjectOnce(input, options) {
24760
24760
  (0, import_node_fs49.rmSync)(linked, { force: true });
24761
24761
  report("compiling and linking Swift modules");
24762
24762
  const frameworkInterfaces = /* @__PURE__ */ new Map();
24763
+ const nativeDeclarations = /* @__PURE__ */ new Map();
24764
+ for (const [file, contents] of Object.entries(input.files)) {
24765
+ if (!file.endsWith(".modulemap")) continue;
24766
+ const name3 = moduleMapName(contents);
24767
+ const umbrella = /\bumbrella\s+header\s+"([^"]+)"/.exec(contents)?.[1];
24768
+ if (!name3 || !umbrella) continue;
24769
+ const header = input.files[import_node_path46.default.posix.join(import_node_path46.default.posix.dirname(file), umbrella)];
24770
+ if (header === void 0) continue;
24771
+ const included = new Set(
24772
+ [
24773
+ ...header.matchAll(/^\s*#\s*(?:import|include)\s*[<"]([^">]+)[">]/gm)
24774
+ ].map((match) => import_node_path46.default.posix.basename(match[1]))
24775
+ );
24776
+ const declarations = nativeDeclarations.get(name3) ?? /* @__PURE__ */ new Set();
24777
+ for (const declaration of swiftInterfaceDeclarations(header))
24778
+ declarations.add(declaration);
24779
+ for (const [candidate, source] of Object.entries(input.files))
24780
+ if (included.has(import_node_path46.default.posix.basename(candidate)))
24781
+ for (const declaration of swiftInterfaceDeclarations(source))
24782
+ declarations.add(declaration);
24783
+ nativeDeclarations.set(name3, declarations);
24784
+ }
24763
24785
  const frameworkInterface = (name3) => {
24764
24786
  if (frameworkInterfaces.has(name3)) return frameworkInterfaces.get(name3);
24765
24787
  const source = distribution ? import_node_path46.default.join(frameworkRoot, "modules", `${name3}-Swift.h`) : import_node_path46.default.join(
@@ -24787,10 +24809,12 @@ function compileSwiftProjectOnce(input, options) {
24787
24809
  ))
24788
24810
  declared.add(name4);
24789
24811
  }
24812
+ for (const declaration of nativeDeclarations.get(name3) ?? [])
24813
+ declared.add(declaration);
24790
24814
  const own = withoutSwiftDeclarations(
24791
24815
  clangInterfaceHeader((0, import_node_fs49.readFileSync)(source, "utf8")),
24792
24816
  declared,
24793
- `#import <${name3}/${name3}.h>`
24817
+ nativeDeclarations.has(name3) ? `@import ${name3};` : `#import <${name3}/${name3}.h>`
24794
24818
  );
24795
24819
  const owners = sdkObjCDeclarationOwners(import_node_path46.default.dirname(import_node_path46.default.dirname(headers)));
24796
24820
  const foreign = /* @__PURE__ */ new Map();
@@ -25238,7 +25262,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
25238
25262
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
25239
25263
  MULTI_MANIFEST_VERSION = 68;
25240
25264
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
25241
- compilerSourceDigest = true ? "0dc8ec5771fbb3c2f4e287a53570e9f15b27a2c933eb41530f414a37408c01d5" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
25265
+ compilerSourceDigest = true ? "3c645ce8a5442f60dce1735912506ad6fa5d09cb92da26cff3950c374b371e2b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
25242
25266
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
25243
25267
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
25244
25268
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -27462,6 +27486,16 @@ function loadProject(xcodeproj) {
27462
27486
  loaded.set(projectFile, { digest: digest3, project: result });
27463
27487
  return result;
27464
27488
  }
27489
+ function selectedDeveloperDir() {
27490
+ developerDir ??= process.platform === "darwin" ? (
27491
+ // runner-toolchain-platform: darwin
27492
+ (0, import_node_child_process30.execFileSync)("xcode-select", ["-p"], {
27493
+ encoding: "utf8",
27494
+ stdio: ["ignore", "pipe", "pipe"]
27495
+ }).trim()
27496
+ ) : "";
27497
+ return developerDir;
27498
+ }
27465
27499
  function defaultConfiguration(project) {
27466
27500
  const configList = project.object(str(project.project.buildConfigurationList));
27467
27501
  const names = list(configList?.buildConfigurations).flatMap(
@@ -27528,15 +27562,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
27528
27562
  resolving.delete(marker);
27529
27563
  return value;
27530
27564
  };
27531
- let developerDir;
27532
27565
  const derivedSettings = {
27533
- DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? (developerDir ??= process.platform === "darwin" ? (
27534
- // runner-toolchain-platform: darwin
27535
- (0, import_node_child_process30.execFileSync)("xcode-select", ["-p"], {
27536
- encoding: "utf8",
27537
- stdio: ["ignore", "pipe", "pipe"]
27538
- }).trim()
27539
- ) : ""),
27566
+ DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? selectedDeveloperDir(),
27540
27567
  PRODUCT_NAME: () => get("TARGET_NAME"),
27541
27568
  PRODUCT_MODULE_NAME: () => applyOperator(get("PRODUCT_NAME"), "c99extidentifier"),
27542
27569
  EXECUTABLE_NAME: () => get("PRODUCT_NAME"),
@@ -28267,7 +28294,16 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
28267
28294
  order.push(ref);
28268
28295
  };
28269
28296
  visit3(app);
28270
- const headerPhase = (ref) => list(ref.target.buildPhases).flatMap((phaseId) => {
28297
+ const headerPhases = /* @__PURE__ */ new Map();
28298
+ const headerPhase = (ref) => {
28299
+ const key2 = `${ref.project.xcodeproj}\0${ref.id}`;
28300
+ const cached2 = headerPhases.get(key2);
28301
+ if (cached2) return cached2;
28302
+ const files2 = readHeaderPhase(ref);
28303
+ headerPhases.set(key2, files2);
28304
+ return files2;
28305
+ };
28306
+ const readHeaderPhase = (ref) => list(ref.target.buildPhases).flatMap((phaseId) => {
28271
28307
  const phase = ref.project.object(phaseId);
28272
28308
  if (phase?.isa !== "PBXHeadersBuildPhase") return [];
28273
28309
  return list(phase.files).flatMap((id) => {
@@ -28284,6 +28320,23 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
28284
28320
  ];
28285
28321
  });
28286
28322
  });
28323
+ const projectNonFrameworkHeaders = /* @__PURE__ */ new Map();
28324
+ const nonFrameworkHeadersOf = (project) => {
28325
+ const cached2 = projectNonFrameworkHeaders.get(project);
28326
+ if (cached2) return cached2;
28327
+ const headers = /* @__PURE__ */ new Map();
28328
+ for (const other of projectTargets(project)) {
28329
+ if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
28330
+ const otherProduct = productName(other);
28331
+ for (const { file, visibility } of headerPhase(other)) {
28332
+ if (visibility === "Project") continue;
28333
+ const key2 = `${otherProduct}/${import_node_path50.default.basename(file)}`;
28334
+ if (!headers.has(key2)) headers.set(key2, file);
28335
+ }
28336
+ }
28337
+ projectNonFrameworkHeaders.set(project, headers);
28338
+ return headers;
28339
+ };
28287
28340
  const productNames = /* @__PURE__ */ new Map();
28288
28341
  const productName = (ref) => {
28289
28342
  const key2 = `${ref.project.xcodeproj}\0${ref.id}`;
@@ -28516,16 +28569,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
28516
28569
  const qualified2 = `${product}/${name4}`;
28517
28570
  if (!ownHeaders.has(qualified2)) ownHeaders.set(qualified2, file);
28518
28571
  }
28519
- const nonFrameworkHeaders = /* @__PURE__ */ new Map();
28520
- for (const other of projectTargets(ref.project)) {
28521
- if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
28522
- const otherProduct = productName(other);
28523
- for (const { file, visibility } of headerPhase(other)) {
28524
- if (visibility === "Project") continue;
28525
- const key2 = `${otherProduct}/${import_node_path50.default.basename(file)}`;
28526
- if (!nonFrameworkHeaders.has(key2)) nonFrameworkHeaders.set(key2, file);
28527
- }
28528
- }
28572
+ const nonFrameworkHeaders = nonFrameworkHeadersOf(ref.project);
28529
28573
  const wrapper = import_node_path50.default.join(settings2("BUILT_PRODUCTS_DIR"), `${product}.framework`);
28530
28574
  const moduleMap = (settings2("DEFINES_MODULE") === "YES" || !framework) && settings2("MODULEMAP_FILE") ? absolute(settings2("MODULEMAP_FILE")) : null;
28531
28575
  const frameworkUmbrella = !compatibility && framework && members2.sources.length > 0 && moduleMap ? import_node_path50.default.join(import_node_path50.default.dirname(moduleMap), `${moduleName}-umbrella.h`) : null;
@@ -29224,7 +29268,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
29224
29268
  cocoapods
29225
29269
  };
29226
29270
  }
29227
- var import_node_child_process30, import_node_crypto22, import_node_fs52, import_node_path50, 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, workspaceResolvedFile, SwiftPackageResolutionRequired;
29271
+ var import_node_child_process30, import_node_crypto22, import_node_fs52, import_node_path50, 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, developerDir, preparedSourcePhases, isPodsProject, targetRefs, workspaceResolvedFile, SwiftPackageResolutionRequired;
29228
29272
  var init_xcode_project = __esm({
29229
29273
  "src/xcode-project.ts"() {
29230
29274
  "use strict";
@@ -29415,7 +29459,7 @@ var init_swift_standin_digest = __esm({
29415
29459
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
29416
29460
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
29417
29461
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
29418
- STANDIN_SOURCE_DIGEST = true ? "318c5e93a7c7c8e4ce1dbf748ec63c84273728043e6bafd140c6563890d717d0" : standinSourceDigest();
29462
+ STANDIN_SOURCE_DIGEST = true ? "8a800a5151c426f07ff690c34df9a6d538c005318051ef52635fc568c44736f6" : standinSourceDigest();
29419
29463
  }
29420
29464
  });
29421
29465
 
@@ -48994,6 +49038,15 @@ const result = JSON.stringify(getConfig(root, { skipSDKVersionRequirement: true
48994
49038
  if (Buffer.byteLength(result) > 1024 * 1024) throw new Error('Expo native configuration exceeds 1 MiB.');
48995
49039
  writeFileSync(process.argv[2], result, { mode: 0o600 });`;
48996
49040
  function hasExpoConfig(projectRoot) {
49041
+ const packagePath = import_node_path51.default.join(projectRoot, "package.json");
49042
+ const manifest = import_node_fs53.default.existsSync(packagePath) ? JSON.parse(import_node_fs53.default.readFileSync(packagePath, "utf8")) : null;
49043
+ if (isRecord(manifest)) {
49044
+ const dependencies = [manifest.dependencies, manifest.devDependencies].filter(
49045
+ isRecord
49046
+ );
49047
+ if (dependencies.some((deps) => "one" in deps) && !dependencies.some((deps) => "expo" in deps))
49048
+ return false;
49049
+ }
48997
49050
  const appJsonPath = import_node_path51.default.join(projectRoot, "app.json");
48998
49051
  const appJson = import_node_fs53.default.existsSync(appJsonPath) ? JSON.parse(import_node_fs53.default.readFileSync(appJsonPath, "utf8")) : null;
48999
49052
  const staticExpo = isRecord(appJson) && (isRecord(appJson.expo) || [appJson.ios, appJson.android].some(
@@ -50562,7 +50615,7 @@ init_swift_native_pin();
50562
50615
  init_xcode_project();
50563
50616
  var EXPO_NATIVE_ENTRY_NAME = "ios";
50564
50617
  function expoNativeCompilerDigestValue() {
50565
- return true ? "3c8bd65a3c749594ba3fad51bc9caeee0a5bf0ac9e8c6e569e513ec366ee6554" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
50618
+ return true ? "14d88f98100ab2aa1697716b744e5a82c52ac4b234218a17662b547201295088" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
50566
50619
  }
50567
50620
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
50568
50621
  function readSources(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2299 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2300 | (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.2299 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2300 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/bundle-global-footer.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2299 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2300 | (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.2299 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2300 | (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;
@@ -14189,7 +14189,7 @@ var swiftCoverageProvenance;
14189
14189
  var init_provenance = __esm({
14190
14190
  "src/swift-coverage/provenance.ts"() {
14191
14191
  "use strict";
14192
- 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":"b37f72dc848b4e2bc1ef1c875bd39c6085dc3e7038f03164102d3718c3dad217","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
14192
+ 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":"96a57d4b999e75658683d635d3522d6c7ae30b4c8bc38a8114af353bce5162ff","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
14193
14193
  }
14194
14194
  });
14195
14195
 
@@ -19723,8 +19723,8 @@ function developerDirs() {
19723
19723
  }
19724
19724
  return found;
19725
19725
  }
19726
- function readNativeSdk(developerDir) {
19727
- const env = { ...process.env, DEVELOPER_DIR: developerDir };
19726
+ function readNativeSdk(developerDir2) {
19727
+ const env = { ...process.env, DEVELOPER_DIR: developerDir2 };
19728
19728
  const xcrun = (args) => (
19729
19729
  // runner-toolchain-platform: darwin
19730
19730
  (0, import_node_child_process16.execFileSync)("xcrun", args, {
@@ -19763,19 +19763,19 @@ function nativeGraphMismatches(read) {
19763
19763
  function pinnedNativeSdk() {
19764
19764
  if (resolvedPinnedSdk) return resolvedPinnedSdk;
19765
19765
  let mismatches;
19766
- for (const developerDir of developerDirs()) {
19766
+ for (const developerDir2 of developerDirs()) {
19767
19767
  let read;
19768
19768
  try {
19769
- read = readNativeSdk(developerDir);
19769
+ read = readNativeSdk(developerDir2);
19770
19770
  } catch {
19771
19771
  continue;
19772
19772
  }
19773
19773
  if (read.sdk !== NATIVE_GRAPH_SDK_VERSION) continue;
19774
19774
  const differ = nativeGraphMismatches(read);
19775
19775
  if (differ.length === 0) {
19776
- process.env.DEVELOPER_DIR = developerDir;
19776
+ process.env.DEVELOPER_DIR = developerDir2;
19777
19777
  resolvedPinnedSdk = {
19778
- developerDir,
19778
+ developerDir: developerDir2,
19779
19779
  sdkPath: read.sdkPath,
19780
19780
  compiler: read.compiler
19781
19781
  };
@@ -33845,6 +33845,28 @@ function compileSwiftProjectOnce(input, options) {
33845
33845
  (0, import_node_fs52.rmSync)(linked, { force: true });
33846
33846
  report("compiling and linking Swift modules");
33847
33847
  const frameworkInterfaces = /* @__PURE__ */ new Map();
33848
+ const nativeDeclarations = /* @__PURE__ */ new Map();
33849
+ for (const [file, contents] of Object.entries(input.files)) {
33850
+ if (!file.endsWith(".modulemap")) continue;
33851
+ const name3 = moduleMapName(contents);
33852
+ const umbrella = /\bumbrella\s+header\s+"([^"]+)"/.exec(contents)?.[1];
33853
+ if (!name3 || !umbrella) continue;
33854
+ const header = input.files[import_node_path50.default.posix.join(import_node_path50.default.posix.dirname(file), umbrella)];
33855
+ if (header === void 0) continue;
33856
+ const included = new Set(
33857
+ [
33858
+ ...header.matchAll(/^\s*#\s*(?:import|include)\s*[<"]([^">]+)[">]/gm)
33859
+ ].map((match) => import_node_path50.default.posix.basename(match[1]))
33860
+ );
33861
+ const declarations = nativeDeclarations.get(name3) ?? /* @__PURE__ */ new Set();
33862
+ for (const declaration of swiftInterfaceDeclarations(header))
33863
+ declarations.add(declaration);
33864
+ for (const [candidate, source] of Object.entries(input.files))
33865
+ if (included.has(import_node_path50.default.posix.basename(candidate)))
33866
+ for (const declaration of swiftInterfaceDeclarations(source))
33867
+ declarations.add(declaration);
33868
+ nativeDeclarations.set(name3, declarations);
33869
+ }
33848
33870
  const frameworkInterface = (name3) => {
33849
33871
  if (frameworkInterfaces.has(name3)) return frameworkInterfaces.get(name3);
33850
33872
  const source = distribution ? import_node_path50.default.join(frameworkRoot, "modules", `${name3}-Swift.h`) : import_node_path50.default.join(
@@ -33872,10 +33894,12 @@ function compileSwiftProjectOnce(input, options) {
33872
33894
  ))
33873
33895
  declared.add(name4);
33874
33896
  }
33897
+ for (const declaration of nativeDeclarations.get(name3) ?? [])
33898
+ declared.add(declaration);
33875
33899
  const own = withoutSwiftDeclarations(
33876
33900
  clangInterfaceHeader((0, import_node_fs52.readFileSync)(source, "utf8")),
33877
33901
  declared,
33878
- `#import <${name3}/${name3}.h>`
33902
+ nativeDeclarations.has(name3) ? `@import ${name3};` : `#import <${name3}/${name3}.h>`
33879
33903
  );
33880
33904
  const owners = sdkObjCDeclarationOwners(import_node_path50.default.dirname(import_node_path50.default.dirname(headers)));
33881
33905
  const foreign = /* @__PURE__ */ new Map();
@@ -34323,7 +34347,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
34323
34347
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
34324
34348
  MULTI_MANIFEST_VERSION = 68;
34325
34349
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
34326
- compilerSourceDigest = true ? "0dc8ec5771fbb3c2f4e287a53570e9f15b27a2c933eb41530f414a37408c01d5" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
34350
+ compilerSourceDigest = true ? "3c645ce8a5442f60dce1735912506ad6fa5d09cb92da26cff3950c374b371e2b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
34327
34351
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
34328
34352
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
34329
34353
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -36706,6 +36730,16 @@ function loadProject(xcodeproj) {
36706
36730
  loaded.set(projectFile, { digest: digest3, project: result });
36707
36731
  return result;
36708
36732
  }
36733
+ function selectedDeveloperDir() {
36734
+ developerDir ??= process.platform === "darwin" ? (
36735
+ // runner-toolchain-platform: darwin
36736
+ (0, import_node_child_process31.execFileSync)("xcode-select", ["-p"], {
36737
+ encoding: "utf8",
36738
+ stdio: ["ignore", "pipe", "pipe"]
36739
+ }).trim()
36740
+ ) : "";
36741
+ return developerDir;
36742
+ }
36709
36743
  function defaultConfiguration(project2) {
36710
36744
  const configList = project2.object(str(project2.project.buildConfigurationList));
36711
36745
  const names = list(configList?.buildConfigurations).flatMap(
@@ -36772,15 +36806,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
36772
36806
  resolving2.delete(marker);
36773
36807
  return value;
36774
36808
  };
36775
- let developerDir;
36776
36809
  const derivedSettings = {
36777
- DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? (developerDir ??= process.platform === "darwin" ? (
36778
- // runner-toolchain-platform: darwin
36779
- (0, import_node_child_process31.execFileSync)("xcode-select", ["-p"], {
36780
- encoding: "utf8",
36781
- stdio: ["ignore", "pipe", "pipe"]
36782
- }).trim()
36783
- ) : ""),
36810
+ DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? selectedDeveloperDir(),
36784
36811
  PRODUCT_NAME: () => get("TARGET_NAME"),
36785
36812
  PRODUCT_MODULE_NAME: () => applyOperator(get("PRODUCT_NAME"), "c99extidentifier"),
36786
36813
  EXECUTABLE_NAME: () => get("PRODUCT_NAME"),
@@ -37694,7 +37721,16 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
37694
37721
  order.push(ref);
37695
37722
  };
37696
37723
  visit3(app);
37697
- const headerPhase = (ref) => list(ref.target.buildPhases).flatMap((phaseId) => {
37724
+ const headerPhases = /* @__PURE__ */ new Map();
37725
+ const headerPhase = (ref) => {
37726
+ const key2 = `${ref.project.xcodeproj}\0${ref.id}`;
37727
+ const cached3 = headerPhases.get(key2);
37728
+ if (cached3) return cached3;
37729
+ const files2 = readHeaderPhase(ref);
37730
+ headerPhases.set(key2, files2);
37731
+ return files2;
37732
+ };
37733
+ const readHeaderPhase = (ref) => list(ref.target.buildPhases).flatMap((phaseId) => {
37698
37734
  const phase = ref.project.object(phaseId);
37699
37735
  if (phase?.isa !== "PBXHeadersBuildPhase") return [];
37700
37736
  return list(phase.files).flatMap((id) => {
@@ -37711,6 +37747,23 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
37711
37747
  ];
37712
37748
  });
37713
37749
  });
37750
+ const projectNonFrameworkHeaders = /* @__PURE__ */ new Map();
37751
+ const nonFrameworkHeadersOf = (project2) => {
37752
+ const cached3 = projectNonFrameworkHeaders.get(project2);
37753
+ if (cached3) return cached3;
37754
+ const headers = /* @__PURE__ */ new Map();
37755
+ for (const other of projectTargets(project2)) {
37756
+ if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
37757
+ const otherProduct = productName(other);
37758
+ for (const { file, visibility } of headerPhase(other)) {
37759
+ if (visibility === "Project") continue;
37760
+ const key2 = `${otherProduct}/${import_node_path55.default.basename(file)}`;
37761
+ if (!headers.has(key2)) headers.set(key2, file);
37762
+ }
37763
+ }
37764
+ projectNonFrameworkHeaders.set(project2, headers);
37765
+ return headers;
37766
+ };
37714
37767
  const productNames = /* @__PURE__ */ new Map();
37715
37768
  const productName = (ref) => {
37716
37769
  const key2 = `${ref.project.xcodeproj}\0${ref.id}`;
@@ -37943,16 +37996,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
37943
37996
  const qualified3 = `${product}/${name4}`;
37944
37997
  if (!ownHeaders.has(qualified3)) ownHeaders.set(qualified3, file);
37945
37998
  }
37946
- const nonFrameworkHeaders = /* @__PURE__ */ new Map();
37947
- for (const other of projectTargets(ref.project)) {
37948
- if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
37949
- const otherProduct = productName(other);
37950
- for (const { file, visibility } of headerPhase(other)) {
37951
- if (visibility === "Project") continue;
37952
- const key2 = `${otherProduct}/${import_node_path55.default.basename(file)}`;
37953
- if (!nonFrameworkHeaders.has(key2)) nonFrameworkHeaders.set(key2, file);
37954
- }
37955
- }
37999
+ const nonFrameworkHeaders = nonFrameworkHeadersOf(ref.project);
37956
38000
  const wrapper = import_node_path55.default.join(settings2("BUILT_PRODUCTS_DIR"), `${product}.framework`);
37957
38001
  const moduleMap = (settings2("DEFINES_MODULE") === "YES" || !framework) && settings2("MODULEMAP_FILE") ? absolute(settings2("MODULEMAP_FILE")) : null;
37958
38002
  const frameworkUmbrella = !compatibility && framework && members2.sources.length > 0 && moduleMap ? import_node_path55.default.join(import_node_path55.default.dirname(moduleMap), `${moduleName2}-umbrella.h`) : null;
@@ -38651,7 +38695,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
38651
38695
  cocoapods
38652
38696
  };
38653
38697
  }
38654
- var import_node_child_process31, import_node_crypto25, import_node_fs56, import_node_path55, 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;
38698
+ var import_node_child_process31, import_node_crypto25, import_node_fs56, import_node_path55, 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, developerDir, preparedSourcePhases, isPodsProject, targetRefs, NativeAppTargetSelectionError, workspaceResolvedFile, SwiftPackageResolutionRequired;
38655
38699
  var init_xcode_project = __esm({
38656
38700
  "src/xcode-project.ts"() {
38657
38701
  "use strict";
@@ -38844,7 +38888,7 @@ var init_swift_standin_digest = __esm({
38844
38888
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
38845
38889
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
38846
38890
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
38847
- STANDIN_SOURCE_DIGEST = true ? "318c5e93a7c7c8e4ce1dbf748ec63c84273728043e6bafd140c6563890d717d0" : standinSourceDigest();
38891
+ STANDIN_SOURCE_DIGEST = true ? "8a800a5151c426f07ff690c34df9a6d538c005318051ef52635fc568c44736f6" : standinSourceDigest();
38848
38892
  }
38849
38893
  });
38850
38894
 
@@ -55789,7 +55833,7 @@ var init_nitro_superset = __esm({
55789
55833
  init_nitroContract();
55790
55834
  init_swift_standin_digest();
55791
55835
  NITRO_SUPERSET_ENTRY_NAME = "superset";
55792
- NITRO_COMPILER_DIGEST = true ? "3ac8f9ccff4c474a3190ac4d02dc192452001e663ee487ba12ba8ace17bedb02" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
55836
+ NITRO_COMPILER_DIGEST = true ? "9393367a8c7442a5ce3f6e81f9ff408f0afdbf5eeadaeed359561a348a6b1818" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
55793
55837
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
55794
55838
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
55795
55839
  published2 = /* @__PURE__ */ new Map();
@@ -55810,7 +55854,7 @@ var init_nitro_superset = __esm({
55810
55854
  var runtime_companion_default;
55811
55855
  var init_runtime_companion = __esm({
55812
55856
  "runtime-companion.json"() {
55813
- runtime_companion_default = { abi: 1, sha256: "2d222761043905cd744125bbf673c568fc842d35d058bf6975d86a828f7090e6", file: "node/cli-2d222761043905cd744125bbf673c568fc842d35d058bf6975d86a828f7090e6.cjs" };
55857
+ runtime_companion_default = { abi: 1, sha256: "60900a3af6e6213c855e6682baa0ebdb6a6865510e4e3a51a24d4c584b3fdec2", file: "node/cli-60900a3af6e6213c855e6682baa0ebdb6a6865510e4e3a51a24d4c584b3fdec2.cjs" };
55814
55858
  }
55815
55859
  });
55816
55860
 
@@ -55821,6 +55865,7 @@ __export(cli_runtime_exports, {
55821
55865
  cliCompanionPath: () => cliCompanionPath,
55822
55866
  ensureCliCompanion: () => ensureCliCompanion,
55823
55867
  getCliRuntime: () => getCliRuntime,
55868
+ loadCliRuntime: () => loadCliRuntime,
55824
55869
  verifyCliCompanion: () => verifyCliCompanion
55825
55870
  });
55826
55871
  function cliCompanionPath() {
@@ -55868,6 +55913,10 @@ async function ensureCliCompanion(root) {
55868
55913
  (0, import_node_fs103.rmSync)(staged, { force: true });
55869
55914
  }
55870
55915
  }
55916
+ async function loadCliRuntime() {
55917
+ if (!loaded2) await ensureCliCompanion(peachRuntimeRoot());
55918
+ return getCliRuntime();
55919
+ }
55871
55920
  function getCliRuntime() {
55872
55921
  if (loaded2) return loaded2.runtime;
55873
55922
  const root = peachRuntimeRoot();
@@ -63989,6 +64038,15 @@ const result = JSON.stringify(getConfig(root, { skipSDKVersionRequirement: true
63989
64038
  if (Buffer.byteLength(result) > 1024 * 1024) throw new Error('Expo native configuration exceeds 1 MiB.');
63990
64039
  writeFileSync(process.argv[2], result, { mode: 0o600 });`;
63991
64040
  function hasExpoConfig(projectRoot) {
64041
+ const packagePath = import_node_path56.default.join(projectRoot, "package.json");
64042
+ const manifest = import_node_fs57.default.existsSync(packagePath) ? JSON.parse(import_node_fs57.default.readFileSync(packagePath, "utf8")) : null;
64043
+ if (isRecord(manifest)) {
64044
+ const dependencies = [manifest.dependencies, manifest.devDependencies].filter(
64045
+ isRecord
64046
+ );
64047
+ if (dependencies.some((deps) => "one" in deps) && !dependencies.some((deps) => "expo" in deps))
64048
+ return false;
64049
+ }
63992
64050
  const appJsonPath = import_node_path56.default.join(projectRoot, "app.json");
63993
64051
  const appJson = import_node_fs57.default.existsSync(appJsonPath) ? JSON.parse(import_node_fs57.default.readFileSync(appJsonPath, "utf8")) : null;
63994
64052
  const staticExpo = isRecord(appJson) && (isRecord(appJson.expo) || [appJson.ios, appJson.android].some(
@@ -65524,7 +65582,7 @@ init_swift_native_pin();
65524
65582
  init_xcode_project();
65525
65583
  var EXPO_NATIVE_ENTRY_NAME = "ios";
65526
65584
  function expoNativeCompilerDigestValue() {
65527
- return true ? "3c8bd65a3c749594ba3fad51bc9caeee0a5bf0ac9e8c6e569e513ec366ee6554" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
65585
+ return true ? "14d88f98100ab2aa1697716b744e5a82c52ac4b234218a17662b547201295088" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
65528
65586
  }
65529
65587
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
65530
65588
  function readSources(value) {
@@ -75509,7 +75567,6 @@ var NATIVE_RUNTIME_PACKAGE_NAMES = [
75509
75567
 
75510
75568
  // ../peach-globals/src/guest-modules/lazy-stub-patterns.ts
75511
75569
  var LAZY_STUB_PATTERNS = [
75512
- "@10play/tentap-editor",
75513
75570
  "@adobe/react-native-aepcore",
75514
75571
  "@azesmway/react-native-unity",
75515
75572
  "@azzapp/react-native-skia-video",
@@ -75582,8 +75639,6 @@ var LAZY_STUB_PATTERNS = [
75582
75639
  "react-native-agora",
75583
75640
  "react-native-android-location-enabler",
75584
75641
  "react-native-animateable-text",
75585
- "react-native-app-clip",
75586
- "react-native-avoid-softinput",
75587
75642
  "react-native-azure-auth",
75588
75643
  "react-native-bare-kit",
75589
75644
  "react-native-bluetooth-classic",
@@ -75598,7 +75653,6 @@ var LAZY_STUB_PATTERNS = [
75598
75653
  "react-native-extra-dimensions-android",
75599
75654
  "react-native-fast-opencv",
75600
75655
  "react-native-fast-shadow",
75601
- "react-native-fast-squircle",
75602
75656
  "react-native-fast-tflite",
75603
75657
  "react-native-file-viewer-turbo",
75604
75658
  "react-native-floating-label-input",