peachsim 0.1.2399 → 0.1.2401

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 (110) hide show
  1. package/README.md +2 -2
  2. package/cli/bin.ts +1 -1
  3. package/cli/catalog/content.ts +520 -0
  4. package/cli/catalog/index.ts +4 -0
  5. package/cli/catalog/meta.ts +3881 -0
  6. package/cli/catalog/renderers.ts +659 -0
  7. package/cli/catalog/routes.ts +237 -0
  8. package/cli/catalog/types.ts +96 -0
  9. package/cli/commands/inspect.ts +3 -3
  10. package/cli/commands/record.ts +1 -1
  11. package/cli/dev-build-freshness.ts +1 -0
  12. package/cli/help-core.ts +6 -6
  13. package/cli/hidden-runtime-alias.ts +1 -1
  14. package/cli/outbound-endpoints.ts +5 -0
  15. package/cli/parse-args.ts +1 -1
  16. package/dist-lib/agent-daemon-client.cjs +1 -1
  17. package/dist-lib/agent-events.cjs +1 -1
  18. package/dist-lib/attached-projects.cjs +1 -1
  19. package/dist-lib/auth/shared-session.cjs +1 -1
  20. package/dist-lib/backend-origin.cjs +1 -1
  21. package/dist-lib/beta.cjs +1 -1
  22. package/dist-lib/beta.mjs +1 -1
  23. package/dist-lib/bridge-constants.cjs +1 -1
  24. package/dist-lib/bridge-contract-input.cjs +1 -1
  25. package/dist-lib/bridge-contract-input.mjs +1 -1
  26. package/dist-lib/bridge-contract.cjs +1 -1
  27. package/dist-lib/bridge-contract.mjs +1 -1
  28. package/dist-lib/bundle-channel.cjs +53 -46
  29. package/dist-lib/capture-contract.cjs +1 -1
  30. package/dist-lib/capture-contract.mjs +1 -1
  31. package/dist-lib/cloud-contract.cjs +1 -1
  32. package/dist-lib/cloud-contract.mjs +1 -1
  33. package/dist-lib/cloud-test-args.cjs +1 -1
  34. package/dist-lib/cloud-test-args.mjs +1 -1
  35. package/dist-lib/cloud.cjs +1 -1
  36. package/dist-lib/cloud.mjs +1 -1
  37. package/dist-lib/config.cjs +1 -1
  38. package/dist-lib/config.mjs +1 -1
  39. package/dist-lib/detox/index.cjs +2 -2
  40. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  41. package/dist-lib/expo-swift-bundle.cjs +51 -44
  42. package/dist-lib/expo-swift-metadata.cjs +1 -1
  43. package/dist-lib/expo-swift-metadata.mjs +1 -1
  44. package/dist-lib/home-paths.cjs +1 -1
  45. package/dist-lib/host/bridge-host.cjs +53 -46
  46. package/dist-lib/host/fetch-proxy-handler.cjs +44 -41
  47. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  48. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  49. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  50. package/dist-lib/host/websocket-proxy.cjs +1 -1
  51. package/dist-lib/index.cjs +48 -45
  52. package/dist-lib/jump-to-source-babel.cjs +1 -1
  53. package/dist-lib/jump-to-source-native.cjs +1 -1
  54. package/dist-lib/kotlin-host.cjs +1 -1
  55. package/dist-lib/menu.cjs +1 -1
  56. package/dist-lib/menu.mjs +1 -1
  57. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  58. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  59. package/dist-lib/metro-production-bundle.cjs +1 -1
  60. package/dist-lib/metro-production-bundle.mjs +1 -1
  61. package/dist-lib/metro.cjs +53 -50
  62. package/dist-lib/native-app-identity-project.cjs +22 -19
  63. package/dist-lib/native-app-identity-project.mjs +4 -3
  64. package/dist-lib/native-app-identity.cjs +1 -1
  65. package/dist-lib/native-app-identity.mjs +1 -1
  66. package/dist-lib/native-firebase-metadata.cjs +1 -1
  67. package/dist-lib/native-firebase-metadata.mjs +1 -1
  68. package/dist-lib/pdfium-raster.cjs +1 -1
  69. package/dist-lib/pdfium-raster.mjs +1 -1
  70. package/dist-lib/plist.cjs +1 -1
  71. package/dist-lib/plist.mjs +1 -1
  72. package/dist-lib/profiles.cjs +1 -1
  73. package/dist-lib/public-brand.cjs +1 -1
  74. package/dist-lib/public-origins-lib-esm.json +24 -24
  75. package/dist-lib/public-origins-lib.json +59 -59
  76. package/dist-lib/react-native-host-modules.cjs +1 -1
  77. package/dist-lib/react-native-host-modules.mjs +1 -1
  78. package/dist-lib/reap-browser.cjs +1 -1
  79. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  80. package/dist-lib/sdk.cjs +1 -1
  81. package/dist-lib/sdk.mjs +1 -1
  82. package/dist-lib/skills.cjs +68 -61
  83. package/dist-lib/swift-compile.cjs +28 -30
  84. package/dist-lib/swift-compile.mjs +24 -26
  85. package/dist-lib/swift-package.cjs +1 -1
  86. package/dist-lib/swift-package.mjs +1 -1
  87. package/dist-lib/swift-submit.cjs +1 -1
  88. package/dist-lib/swift-submit.mjs +1 -1
  89. package/dist-lib/swift-toolchain.cjs +1 -1
  90. package/dist-lib/swift.cjs +1 -1
  91. package/dist-lib/vite-swift.cjs +29 -31
  92. package/dist-lib/vite.cjs +39 -36
  93. package/dist-lib/worklet-executable.cjs +1 -1
  94. package/dist-lib/worklet-executable.mjs +1 -1
  95. package/dist-types/packages/peach-engine/src/capture/browserAccessibilityContract.d.ts +1 -0
  96. package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +2 -0
  97. package/kotlin/sdk.tar.gz +0 -0
  98. package/kotlin/toolchain.json +2 -2
  99. package/package.json +1 -3
  100. package/runtime-companion.json +1 -1
  101. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKState.h +78 -0
  102. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKStateMachine.h +69 -0
  103. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.apinotes +269 -0
  104. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.h +15 -0
  105. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKitBase.h +38 -0
  106. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Modules/module.modulemap +6 -0
  107. package/src/expo-swift-host.ts +30 -22
  108. package/src/wasm-optimize.ts +23 -24
  109. package/src/worklets-babel.ts +2 -6
  110. package/cli/registry.ts +0 -2
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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;
@@ -29340,7 +29340,7 @@ var init_wasm_narrow_boundary = __esm({
29340
29340
  async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
29341
29341
  const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
29342
29342
  const requestedCores = Number(process.env.BINARYEN_CORES);
29343
- const environment = { ...process.env, WASM_OPT_PATH: binary2 };
29343
+ const environment = { ...process.env };
29344
29344
  if (Number.isInteger(admittedCores) && admittedCores > 0)
29345
29345
  environment.BINARYEN_CORES = String(
29346
29346
  Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
@@ -29354,7 +29354,7 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
29354
29354
  const thunks = `${output2}.thunks.wat`;
29355
29355
  (0, import_node_fs35.writeFileSync)(guest, narrowed.module);
29356
29356
  (0, import_node_fs35.writeFileSync)(thunks, narrowed.thunks);
29357
- await (0, import_node_util3.promisify)(import_node_child_process20.execFile)(
29357
+ await runBinaryen(
29358
29358
  (0, import_node_path34.join)((0, import_node_path34.dirname)(binary2), "wasm-merge"),
29359
29359
  [
29360
29360
  ...features,
@@ -29372,39 +29372,39 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
29372
29372
  (0, import_node_fs35.rmSync)(guest);
29373
29373
  (0, import_node_fs35.rmSync)(thunks);
29374
29374
  }
29375
- const result = await (0, import_wasm_opt.wasmOpt)(
29376
- [
29377
- ...LOWERING,
29378
- ...optimize ? ["-Oz"] : [],
29379
- ...names,
29380
- ...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
29381
- ...features,
29382
- narrowed ? merged : file,
29383
- "-o",
29384
- output2
29385
- ],
29386
- { env: environment }
29387
- );
29388
- if (narrowed) (0, import_node_fs35.rmSync)(merged);
29389
- if (result.status !== 0)
29390
- throw new Error(`wasm-opt exited ${result.status}: ${result.stderr}`);
29375
+ try {
29376
+ await runBinaryen(
29377
+ binary2,
29378
+ [
29379
+ ...LOWERING,
29380
+ ...optimize ? ["-Oz"] : [],
29381
+ ...names,
29382
+ ...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
29383
+ ...features,
29384
+ narrowed ? merged : file,
29385
+ "-o",
29386
+ output2
29387
+ ],
29388
+ { env: environment, maxBuffer: Infinity }
29389
+ );
29390
+ } finally {
29391
+ if (narrowed) (0, import_node_fs35.rmSync)(merged);
29392
+ }
29391
29393
  }
29392
29394
  async function installWasmOpt() {
29393
- if (import_wasm_opt.BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
29394
- throw new Error("the Binaryen release pins must match the wasm-opt package");
29395
29395
  const platform2 = `${process.platform}-${process.arch}`;
29396
29396
  const release = BINARYEN_RELEASES.get(platform2);
29397
29397
  if (!release) throw new Error(`no pinned Binaryen release for ${platform2}`);
29398
- const destDir = (0, import_node_path34.join)(rnxHomeDir(), "tools", "binaryen", import_wasm_opt.BINARYEN_VERSION, platform2);
29398
+ const destDir = (0, import_node_path34.join)(rnxHomeDir(), "tools", "binaryen", BINARYEN_VERSION, platform2);
29399
29399
  const binary2 = (0, import_node_path34.join)(destDir, "bin", "wasm-opt");
29400
29400
  if (!(0, import_node_fs35.existsSync)(binary2))
29401
29401
  await installVerifiedTarball({
29402
- url: `https://github.com/WebAssembly/binaryen/releases/download/version_${import_wasm_opt.BINARYEN_VERSION}/binaryen-version_${import_wasm_opt.BINARYEN_VERSION}-${release.asset}.tar.gz`,
29402
+ url: `https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-${release.asset}.tar.gz`,
29403
29403
  digest: { algorithm: "sha256", encoding: "hex", value: release.sha256 },
29404
29404
  destDir,
29405
29405
  installedMarker: "bin/wasm-opt",
29406
29406
  stripComponents: 1,
29407
- label: `Binaryen ${import_wasm_opt.BINARYEN_VERSION}`
29407
+ label: `Binaryen ${BINARYEN_VERSION}`
29408
29408
  });
29409
29409
  return binary2;
29410
29410
  }
@@ -29417,7 +29417,7 @@ async function lowerWasm(file, output2, options) {
29417
29417
  await installWasmOpt()
29418
29418
  );
29419
29419
  }
29420
- var import_node_child_process20, import_node_fs35, import_node_path34, import_node_util3, import_wasm_opt, FEATURES, KEEP_WASM_NAMES, LOWERING, WASM_LOWER_IDENTITY, PINNED_BINARYEN_VERSION, BINARYEN_RELEASES;
29420
+ var import_node_child_process20, import_node_fs35, import_node_path34, import_node_util3, FEATURES, KEEP_WASM_NAMES, LOWERING, BINARYEN_VERSION, runBinaryen, WASM_LOWER_IDENTITY, BINARYEN_RELEASES;
29421
29421
  var init_wasm_optimize = __esm({
29422
29422
  "src/wasm-optimize.ts"() {
29423
29423
  "use strict";
@@ -29426,7 +29426,6 @@ var init_wasm_optimize = __esm({
29426
29426
  import_node_path34 = require("node:path");
29427
29427
  import_node_util3 = require("node:util");
29428
29428
  init_src();
29429
- import_wasm_opt = require("wasm-opt");
29430
29429
  init_admitted_mac_build();
29431
29430
  init_home_paths();
29432
29431
  init_wasm_narrow_boundary();
@@ -29445,8 +29444,9 @@ var init_wasm_optimize = __esm({
29445
29444
  ];
29446
29445
  KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
29447
29446
  LOWERING = ["--memory64-lowering", "--table64-lowering"];
29448
- WASM_LOWER_IDENTITY = `binaryen ${import_wasm_opt.BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
29449
- PINNED_BINARYEN_VERSION = "132";
29447
+ BINARYEN_VERSION = "132";
29448
+ runBinaryen = (0, import_node_util3.promisify)(import_node_child_process20.execFile);
29449
+ WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
29450
29450
  BINARYEN_RELEASES = /* @__PURE__ */ new Map([
29451
29451
  [
29452
29452
  "linux-x64",
@@ -35976,7 +35976,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
35976
35976
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
35977
35977
  MULTI_MANIFEST_VERSION = 69;
35978
35978
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
35979
- compilerSourceDigest = true ? "a7c6b86fa906ddaed892a77b892771eb00a88c3e16a8cbbc5da264ba641b523a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
35979
+ compilerSourceDigest = true ? "e9903c7ebf2ae396a07925e2a04b37ce38e5f1731c5bc94f6f0e83a9d6bc2cbf" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
35980
35980
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
35981
35981
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
35982
35982
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -50531,7 +50531,7 @@ var init_swift_standin_digest = __esm({
50531
50531
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
50532
50532
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
50533
50533
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
50534
- STANDIN_SOURCE_DIGEST = true ? "fec4f05a294fbb68be2ff982a65c3f9a221683428d10495c67265397e1901461" : standinSourceDigest();
50534
+ STANDIN_SOURCE_DIGEST = true ? "452e58b6d6a9ad1b373b2d6df2ddb32802505c8bd43da19f49858f006a4f0464" : standinSourceDigest();
50535
50535
  }
50536
50536
  });
50537
50537
 
@@ -64867,7 +64867,7 @@ var init_nitro_superset = __esm({
64867
64867
  init_nitroContract();
64868
64868
  init_swift_standin_digest();
64869
64869
  NITRO_SUPERSET_ENTRY_NAME = "superset";
64870
- NITRO_COMPILER_DIGEST = true ? "805beb73b5810b9cfdb66e9b0a02ed57bd77e5a5bab85b9c829600892edbe614" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
64870
+ NITRO_COMPILER_DIGEST = true ? "0ee082c55c7987b7a437615cb187f9688fc9c6f93887dab00cf2566a462c1b27" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
64871
64871
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
64872
64872
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
64873
64873
  published = /* @__PURE__ */ new Map();
@@ -66106,7 +66106,7 @@ var init_expo_native_compiler_digest = __esm({
66106
66106
 
66107
66107
  // src/expo-native-prebuilt.ts
66108
66108
  function expoNativeCompilerDigestValue() {
66109
- return true ? "33b5977107b76d8fdf1fec6bb42695561d977a2505d9a3f30af786b097dd2d18" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
66109
+ return true ? "a9ec5c8c45c8fd26c4fc913361bf75fe125d800f96d12f8b2a0662dba43eaa08" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
66110
66110
  }
66111
66111
  function readSources(value) {
66112
66112
  const sources = isRecord(value) ? value.sources : null;
@@ -67193,10 +67193,7 @@ function cloneNativeTarget(target) {
67193
67193
  sourceDirectories: { ...target.sourceDirectories }
67194
67194
  };
67195
67195
  }
67196
- function podSupportsIOS(pod) {
67197
- if (!isRecord(pod) || typeof pod.podName !== "string" || typeof pod.podspecDir !== "string")
67198
- throw new Error("invalid Expo autolinking pod");
67199
- const base2 = import_node_path101.default.join(pod.podspecDir, pod.podName);
67196
+ function podSupportsIOS(base2) {
67200
67197
  if (import_node_fs102.default.existsSync(`${base2}.podspec.json`)) {
67201
67198
  const platforms2 = JSON.parse(
67202
67199
  import_node_fs102.default.readFileSync(`${base2}.podspec.json`, "utf8")
@@ -67953,8 +67950,16 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
67953
67950
  );
67954
67951
  const namespaces = resolution && typeof resolution === "object" ? Reflect.get(resolution, "swiftModuleNames") : null;
67955
67952
  const modules = resolution && typeof resolution === "object" ? Reflect.get(resolution, "modules") : null;
67956
- const pods = resolution && typeof resolution === "object" ? Reflect.get(resolution, "pods") : null;
67957
- if (Array.isArray(pods) && pods.length > 0 && !pods.some(podSupportsIOS)) {
67953
+ const resolvedPods = resolution && typeof resolution === "object" ? Reflect.get(resolution, "pods") : null;
67954
+ const pods = Array.isArray(resolvedPods) ? resolvedPods.map((pod) => {
67955
+ if (!isRecord(pod) || typeof pod.podName !== "string" || typeof pod.podspecDir !== "string")
67956
+ throw new Error("invalid Expo autolinking pod");
67957
+ return {
67958
+ base: import_node_path101.default.join(pod.podspecDir, pod.podName),
67959
+ namespace: pod.podName.replace(/[^a-zA-Z0-9]/g, "_")
67960
+ };
67961
+ }) : [];
67962
+ if (pods.length > 0 && !pods.some((pod) => podSupportsIOS(pod.base))) {
67958
67963
  report(`${packageName} was not linked: no pod supports iOS`);
67959
67964
  continue;
67960
67965
  }
@@ -67964,7 +67969,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
67964
67969
  };
67965
67970
  const subscriberNames = delegateNames("appDelegateSubscribers");
67966
67971
  const handlerNames = delegateNames("reactDelegateHandlers");
67967
- const deferredToWorkspace = prepareNative && !installedWorkspace && Array.isArray(pods) && pods.length > 0;
67972
+ const deferredToWorkspace = prepareNative && !installedWorkspace && pods.length > 0;
67968
67973
  const dependencyOnly = answered || (!Array.isArray(modules) || modules.length === 0) && subscriberNames.length === 0 && handlerNames.length === 0;
67969
67974
  if (dependencyOnly) {
67970
67975
  if (installed || prepareNative || metadataOnly || !Array.isArray(namespaces)) {
@@ -68158,15 +68163,16 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
68158
68163
  if (surface) files2[`Sources/${namespace}/PeachObjCSurface.swift`] = surface;
68159
68164
  }
68160
68165
  }
68161
- const podspec = import_node_fs102.default.existsSync(ios) ? import_node_fs102.default.readdirSync(ios).find((name3) => name3.endsWith(".podspec")) : void 0;
68162
- const podspecText = podspec ? import_node_fs102.default.readFileSync(import_node_path101.default.join(ios, podspec), "utf8") : null;
68166
+ const pod = pods.length === 1 ? pods[0] : pods.find((pod2) => pod2.namespace === namespace);
68167
+ const podspec = pod ? `${pod.base}.podspec` : null;
68168
+ const podspecText = podspec && import_node_fs102.default.existsSync(podspec) ? import_node_fs102.default.readFileSync(resolveSource(podspec), "utf8") : null;
68163
68169
  const usesReact = Boolean(
68164
68170
  !installed && podspecText && /\bdependency[\s(]+['"](?:React-(?!Core['"/])[\w-]+|ReactCommon|ReactCodegen|ExpoModulesWorklets|ExpoModulesJSI)(?:\/[^'"]*)?['"]/.test(
68165
68171
  podspecText.replace(/^[ \t]*#[^\n]*/gm, "")
68166
68172
  )
68167
68173
  );
68168
68174
  const absentFrameworks = [];
68169
- if (podspecText && !installed) {
68175
+ if (podspec && podspecText && !installed) {
68170
68176
  const declared = [
68171
68177
  ...podspecText.matchAll(
68172
68178
  /\bvendored_frameworks\s*=\s*(\[[^\]]*\]|'[^'\n]*'|"[^"\n]*")/g
@@ -68177,13 +68183,14 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
68177
68183
  )
68178
68184
  );
68179
68185
  for (const entry2 of declared) {
68180
- const base2 = import_node_path101.default.dirname(import_node_path101.default.resolve(ios, entry2));
68186
+ const declaredPath = import_node_path101.default.resolve(import_node_path101.default.dirname(podspec), entry2);
68187
+ const base2 = import_node_path101.default.dirname(declaredPath);
68181
68188
  const name3 = new RegExp(
68182
68189
  `^${import_node_path101.default.basename(entry2).replace(/[.+^${}()|[\]\\]/g, "\\$&").replaceAll("*", "[^/]*")}$`
68183
68190
  );
68184
68191
  const found = import_node_fs102.default.existsSync(base2) ? import_node_fs102.default.readdirSync(base2).filter((child) => name3.test(child)) : [];
68185
68192
  if (found.length === 0)
68186
- absentFrameworks.push(import_node_path101.default.relative(appRoot, import_node_path101.default.resolve(ios, entry2)));
68193
+ absentFrameworks.push(import_node_path101.default.relative(appRoot, declaredPath));
68187
68194
  for (const child of found) frameworks.add(resolveSource(import_node_path101.default.join(base2, child)));
68188
68195
  }
68189
68196
  }
@@ -68230,7 +68237,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
68230
68237
  owners.set(className2, classOwners);
68231
68238
  const configured = module2.registration !== null && configuredExpoSwiftModule(closure, module2.name, module2.nativeName, appConfig);
68232
68239
  if (configured && !module2.subscriber && !module2.handler) continue;
68233
- if (Array.isArray(pods) && pods.length > 0) needsNativeWorkspace = true;
68240
+ if (pods.length > 0) needsNativeWorkspace = true;
68234
68241
  const unit2 = {
68235
68242
  namespace,
68236
68243
  moduleId: `${namespace}.${module2.name}`,
@@ -72988,7 +72995,7 @@ var import_node_path5 = require("node:path");
72988
72995
  init_src();
72989
72996
 
72990
72997
  // runtime-companion.json
72991
- var runtime_companion_default = { abi: 1, sha256: "5a932e58b4c91ce16844d88e18e0e55d3d48fa1d1fde04f7c9e475d5bab9e7c3", file: "node/cli-5a932e58b4c91ce16844d88e18e0e55d3d48fa1d1fde04f7c9e475d5bab9e7c3.cjs" };
72998
+ var runtime_companion_default = { abi: 1, sha256: "658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85", file: "node/cli-658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85.cjs" };
72992
72999
 
72993
73000
  // src/cli-runtime.ts
72994
73001
  init_answeredNativePackages();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 40761776;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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;
@@ -2476,7 +2476,7 @@ function isValidRuntimeVersion(value) {
2476
2476
  }
2477
2477
 
2478
2478
  // runtime-companion.json
2479
- var runtime_companion_default = { abi: 1, sha256: "5a932e58b4c91ce16844d88e18e0e55d3d48fa1d1fde04f7c9e475d5bab9e7c3", file: "node/cli-5a932e58b4c91ce16844d88e18e0e55d3d48fa1d1fde04f7c9e475d5bab9e7c3.cjs" };
2479
+ var runtime_companion_default = { abi: 1, sha256: "658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85", file: "node/cli-658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85.cjs" };
2480
2480
 
2481
2481
  // src/answeredNativePackages.ts
2482
2482
  var import_node_async_hooks = require("node:async_hooks");
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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;
@@ -23130,7 +23130,7 @@ var init_wasm_narrow_boundary = __esm({
23130
23130
  async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
23131
23131
  const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
23132
23132
  const requestedCores = Number(process.env.BINARYEN_CORES);
23133
- const environment = { ...process.env, WASM_OPT_PATH: binary2 };
23133
+ const environment = { ...process.env };
23134
23134
  if (Number.isInteger(admittedCores) && admittedCores > 0)
23135
23135
  environment.BINARYEN_CORES = String(
23136
23136
  Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
@@ -23144,7 +23144,7 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
23144
23144
  const thunks = `${output2}.thunks.wat`;
23145
23145
  (0, import_node_fs47.writeFileSync)(guest, narrowed.module);
23146
23146
  (0, import_node_fs47.writeFileSync)(thunks, narrowed.thunks);
23147
- await (0, import_node_util5.promisify)(import_node_child_process25.execFile)(
23147
+ await runBinaryen(
23148
23148
  (0, import_node_path45.join)((0, import_node_path45.dirname)(binary2), "wasm-merge"),
23149
23149
  [
23150
23150
  ...features,
@@ -23162,39 +23162,39 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
23162
23162
  (0, import_node_fs47.rmSync)(guest);
23163
23163
  (0, import_node_fs47.rmSync)(thunks);
23164
23164
  }
23165
- const result = await (0, import_wasm_opt.wasmOpt)(
23166
- [
23167
- ...LOWERING,
23168
- ...optimize ? ["-Oz"] : [],
23169
- ...names,
23170
- ...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
23171
- ...features,
23172
- narrowed ? merged : file,
23173
- "-o",
23174
- output2
23175
- ],
23176
- { env: environment }
23177
- );
23178
- if (narrowed) (0, import_node_fs47.rmSync)(merged);
23179
- if (result.status !== 0)
23180
- throw new Error(`wasm-opt exited ${result.status}: ${result.stderr}`);
23165
+ try {
23166
+ await runBinaryen(
23167
+ binary2,
23168
+ [
23169
+ ...LOWERING,
23170
+ ...optimize ? ["-Oz"] : [],
23171
+ ...names,
23172
+ ...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
23173
+ ...features,
23174
+ narrowed ? merged : file,
23175
+ "-o",
23176
+ output2
23177
+ ],
23178
+ { env: environment, maxBuffer: Infinity }
23179
+ );
23180
+ } finally {
23181
+ if (narrowed) (0, import_node_fs47.rmSync)(merged);
23182
+ }
23181
23183
  }
23182
23184
  async function installWasmOpt() {
23183
- if (import_wasm_opt.BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
23184
- throw new Error("the Binaryen release pins must match the wasm-opt package");
23185
23185
  const platform = `${process.platform}-${process.arch}`;
23186
23186
  const release = BINARYEN_RELEASES.get(platform);
23187
23187
  if (!release) throw new Error(`no pinned Binaryen release for ${platform}`);
23188
- const destDir = (0, import_node_path45.join)(rnxHomeDir(), "tools", "binaryen", import_wasm_opt.BINARYEN_VERSION, platform);
23188
+ const destDir = (0, import_node_path45.join)(rnxHomeDir(), "tools", "binaryen", BINARYEN_VERSION, platform);
23189
23189
  const binary2 = (0, import_node_path45.join)(destDir, "bin", "wasm-opt");
23190
23190
  if (!(0, import_node_fs47.existsSync)(binary2))
23191
23191
  await installVerifiedTarball({
23192
- url: `https://github.com/WebAssembly/binaryen/releases/download/version_${import_wasm_opt.BINARYEN_VERSION}/binaryen-version_${import_wasm_opt.BINARYEN_VERSION}-${release.asset}.tar.gz`,
23192
+ url: `https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-${release.asset}.tar.gz`,
23193
23193
  digest: { algorithm: "sha256", encoding: "hex", value: release.sha256 },
23194
23194
  destDir,
23195
23195
  installedMarker: "bin/wasm-opt",
23196
23196
  stripComponents: 1,
23197
- label: `Binaryen ${import_wasm_opt.BINARYEN_VERSION}`
23197
+ label: `Binaryen ${BINARYEN_VERSION}`
23198
23198
  });
23199
23199
  return binary2;
23200
23200
  }
@@ -23207,7 +23207,7 @@ async function lowerWasm(file, output2, options) {
23207
23207
  await installWasmOpt()
23208
23208
  );
23209
23209
  }
23210
- var import_node_child_process25, import_node_fs47, import_node_path45, import_node_util5, import_wasm_opt, FEATURES, KEEP_WASM_NAMES, LOWERING, WASM_LOWER_IDENTITY, PINNED_BINARYEN_VERSION, BINARYEN_RELEASES;
23210
+ var import_node_child_process25, import_node_fs47, import_node_path45, import_node_util5, FEATURES, KEEP_WASM_NAMES, LOWERING, BINARYEN_VERSION, runBinaryen, WASM_LOWER_IDENTITY, BINARYEN_RELEASES;
23211
23211
  var init_wasm_optimize = __esm({
23212
23212
  "src/wasm-optimize.ts"() {
23213
23213
  "use strict";
@@ -23216,7 +23216,6 @@ var init_wasm_optimize = __esm({
23216
23216
  import_node_path45 = require("node:path");
23217
23217
  import_node_util5 = require("node:util");
23218
23218
  init_src();
23219
- import_wasm_opt = require("wasm-opt");
23220
23219
  init_admitted_mac_build();
23221
23220
  init_home_paths();
23222
23221
  init_wasm_narrow_boundary();
@@ -23235,8 +23234,9 @@ var init_wasm_optimize = __esm({
23235
23234
  ];
23236
23235
  KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
23237
23236
  LOWERING = ["--memory64-lowering", "--table64-lowering"];
23238
- WASM_LOWER_IDENTITY = `binaryen ${import_wasm_opt.BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
23239
- PINNED_BINARYEN_VERSION = "132";
23237
+ BINARYEN_VERSION = "132";
23238
+ runBinaryen = (0, import_node_util5.promisify)(import_node_child_process25.execFile);
23239
+ WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
23240
23240
  BINARYEN_RELEASES = /* @__PURE__ */ new Map([
23241
23241
  [
23242
23242
  "linux-x64",
@@ -29766,7 +29766,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
29766
29766
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
29767
29767
  MULTI_MANIFEST_VERSION = 69;
29768
29768
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
29769
- compilerSourceDigest = true ? "a7c6b86fa906ddaed892a77b892771eb00a88c3e16a8cbbc5da264ba641b523a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
29769
+ compilerSourceDigest = true ? "e9903c7ebf2ae396a07925e2a04b37ce38e5f1731c5bc94f6f0e83a9d6bc2cbf" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
29770
29770
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
29771
29771
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
29772
29772
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -34011,7 +34011,7 @@ var init_swift_standin_digest = __esm({
34011
34011
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
34012
34012
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
34013
34013
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
34014
- STANDIN_SOURCE_DIGEST = true ? "fec4f05a294fbb68be2ff982a65c3f9a221683428d10495c67265397e1901461" : standinSourceDigest();
34014
+ STANDIN_SOURCE_DIGEST = true ? "452e58b6d6a9ad1b373b2d6df2ddb32802505c8bd43da19f49858f006a4f0464" : standinSourceDigest();
34015
34015
  }
34016
34016
  });
34017
34017
 
@@ -56393,7 +56393,7 @@ init_swift_native_pin();
56393
56393
  init_xcode_project();
56394
56394
  var EXPO_NATIVE_ENTRY_NAME = "ios";
56395
56395
  function expoNativeCompilerDigestValue() {
56396
- return true ? "33b5977107b76d8fdf1fec6bb42695561d977a2505d9a3f30af786b097dd2d18" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
56396
+ return true ? "a9ec5c8c45c8fd26c4fc913361bf75fe125d800f96d12f8b2a0662dba43eaa08" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
56397
56397
  }
56398
56398
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
56399
56399
  function readSources(value) {
@@ -57502,10 +57502,7 @@ function cloneNativeTarget(target) {
57502
57502
  sourceDirectories: { ...target.sourceDirectories }
57503
57503
  };
57504
57504
  }
57505
- function podSupportsIOS(pod) {
57506
- if (!isRecord(pod) || typeof pod.podName !== "string" || typeof pod.podspecDir !== "string")
57507
- throw new Error("invalid Expo autolinking pod");
57508
- const base = import_node_path89.default.join(pod.podspecDir, pod.podName);
57505
+ function podSupportsIOS(base) {
57509
57506
  if (import_node_fs90.default.existsSync(`${base}.podspec.json`)) {
57510
57507
  const platforms2 = JSON.parse(
57511
57508
  import_node_fs90.default.readFileSync(`${base}.podspec.json`, "utf8")
@@ -58263,8 +58260,16 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
58263
58260
  );
58264
58261
  const namespaces = resolution && typeof resolution === "object" ? Reflect.get(resolution, "swiftModuleNames") : null;
58265
58262
  const modules = resolution && typeof resolution === "object" ? Reflect.get(resolution, "modules") : null;
58266
- const pods = resolution && typeof resolution === "object" ? Reflect.get(resolution, "pods") : null;
58267
- if (Array.isArray(pods) && pods.length > 0 && !pods.some(podSupportsIOS)) {
58263
+ const resolvedPods = resolution && typeof resolution === "object" ? Reflect.get(resolution, "pods") : null;
58264
+ const pods = Array.isArray(resolvedPods) ? resolvedPods.map((pod) => {
58265
+ if (!isRecord(pod) || typeof pod.podName !== "string" || typeof pod.podspecDir !== "string")
58266
+ throw new Error("invalid Expo autolinking pod");
58267
+ return {
58268
+ base: import_node_path89.default.join(pod.podspecDir, pod.podName),
58269
+ namespace: pod.podName.replace(/[^a-zA-Z0-9]/g, "_")
58270
+ };
58271
+ }) : [];
58272
+ if (pods.length > 0 && !pods.some((pod) => podSupportsIOS(pod.base))) {
58268
58273
  report(`${packageName} was not linked: no pod supports iOS`);
58269
58274
  continue;
58270
58275
  }
@@ -58274,7 +58279,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
58274
58279
  };
58275
58280
  const subscriberNames = delegateNames("appDelegateSubscribers");
58276
58281
  const handlerNames = delegateNames("reactDelegateHandlers");
58277
- const deferredToWorkspace = prepareNative && !installedWorkspace && Array.isArray(pods) && pods.length > 0;
58282
+ const deferredToWorkspace = prepareNative && !installedWorkspace && pods.length > 0;
58278
58283
  const dependencyOnly = answered || (!Array.isArray(modules) || modules.length === 0) && subscriberNames.length === 0 && handlerNames.length === 0;
58279
58284
  if (dependencyOnly) {
58280
58285
  if (installed || prepareNative || metadataOnly || !Array.isArray(namespaces)) {
@@ -58468,15 +58473,16 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
58468
58473
  if (surface) files2[`Sources/${namespace}/PeachObjCSurface.swift`] = surface;
58469
58474
  }
58470
58475
  }
58471
- const podspec = import_node_fs90.default.existsSync(ios) ? import_node_fs90.default.readdirSync(ios).find((name3) => name3.endsWith(".podspec")) : void 0;
58472
- const podspecText = podspec ? import_node_fs90.default.readFileSync(import_node_path89.default.join(ios, podspec), "utf8") : null;
58476
+ const pod = pods.length === 1 ? pods[0] : pods.find((pod2) => pod2.namespace === namespace);
58477
+ const podspec = pod ? `${pod.base}.podspec` : null;
58478
+ const podspecText = podspec && import_node_fs90.default.existsSync(podspec) ? import_node_fs90.default.readFileSync(resolveSource(podspec), "utf8") : null;
58473
58479
  const usesReact = Boolean(
58474
58480
  !installed && podspecText && /\bdependency[\s(]+['"](?:React-(?!Core['"/])[\w-]+|ReactCommon|ReactCodegen|ExpoModulesWorklets|ExpoModulesJSI)(?:\/[^'"]*)?['"]/.test(
58475
58481
  podspecText.replace(/^[ \t]*#[^\n]*/gm, "")
58476
58482
  )
58477
58483
  );
58478
58484
  const absentFrameworks = [];
58479
- if (podspecText && !installed) {
58485
+ if (podspec && podspecText && !installed) {
58480
58486
  const declared = [
58481
58487
  ...podspecText.matchAll(
58482
58488
  /\bvendored_frameworks\s*=\s*(\[[^\]]*\]|'[^'\n]*'|"[^"\n]*")/g
@@ -58487,13 +58493,14 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
58487
58493
  )
58488
58494
  );
58489
58495
  for (const entry2 of declared) {
58490
- const base = import_node_path89.default.dirname(import_node_path89.default.resolve(ios, entry2));
58496
+ const declaredPath = import_node_path89.default.resolve(import_node_path89.default.dirname(podspec), entry2);
58497
+ const base = import_node_path89.default.dirname(declaredPath);
58491
58498
  const name3 = new RegExp(
58492
58499
  `^${import_node_path89.default.basename(entry2).replace(/[.+^${}()|[\]\\]/g, "\\$&").replaceAll("*", "[^/]*")}$`
58493
58500
  );
58494
58501
  const found = import_node_fs90.default.existsSync(base) ? import_node_fs90.default.readdirSync(base).filter((child) => name3.test(child)) : [];
58495
58502
  if (found.length === 0)
58496
- absentFrameworks.push(import_node_path89.default.relative(appRoot, import_node_path89.default.resolve(ios, entry2)));
58503
+ absentFrameworks.push(import_node_path89.default.relative(appRoot, declaredPath));
58497
58504
  for (const child of found) frameworks.add(resolveSource(import_node_path89.default.join(base, child)));
58498
58505
  }
58499
58506
  }
@@ -58540,7 +58547,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
58540
58547
  owners.set(className2, classOwners);
58541
58548
  const configured = module2.registration !== null && configuredExpoSwiftModule(closure, module2.name, module2.nativeName, appConfig);
58542
58549
  if (configured && !module2.subscriber && !module2.handler) continue;
58543
- if (Array.isArray(pods) && pods.length > 0) needsNativeWorkspace = true;
58550
+ if (pods.length > 0) needsNativeWorkspace = true;
58544
58551
  const unit2 = {
58545
58552
  namespace,
58546
58553
  moduleId: `${namespace}.${module2.name}`,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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;