peachsim 0.1.2369 → 0.1.2371

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 (106) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +1 -1
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +1 -1
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +1 -1
  13. package/dist-lib/bundle-channel.cjs +173 -76
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +1 -1
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +1 -1
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +1 -1
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +1 -1
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +1 -1
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +172 -75
  27. package/dist-lib/expo-swift-metadata.cjs +1 -1
  28. package/dist-lib/expo-swift-metadata.mjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +173 -76
  31. package/dist-lib/host/fetch-proxy-handler.cjs +7 -5
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +7 -5
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +7 -5
  47. package/dist-lib/native-app-identity-project.cjs +2 -2
  48. package/dist-lib/native-app-identity-project.mjs +2 -2
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +53 -53
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +178 -81
  68. package/dist-lib/swift-compile.cjs +32 -13
  69. package/dist-lib/swift-compile.mjs +32 -13
  70. package/dist-lib/swift-package.cjs +1 -1
  71. package/dist-lib/swift-package.mjs +1 -1
  72. package/dist-lib/swift-submit.cjs +1 -1
  73. package/dist-lib/swift-submit.mjs +1 -1
  74. package/dist-lib/swift-toolchain.cjs +1 -1
  75. package/dist-lib/swift.cjs +1 -1
  76. package/dist-lib/vite-swift.cjs +151 -72
  77. package/dist-lib/vite.cjs +7 -5
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +1 -0
  81. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +14 -0
  82. package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +6 -0
  83. package/kotlin/sdk.tar.gz +0 -0
  84. package/node-runtime.json +1 -1
  85. package/package.json +1 -1
  86. package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DCAppAttestService.h +223 -0
  87. package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DCDevice.h +90 -0
  88. package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DCError.h +52 -0
  89. package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DeviceCheck.h +13 -0
  90. package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Modules/module.modulemap +6 -0
  91. package/sdk/ios/usr/include/_modules/_Availability.h +33 -0
  92. package/sdk/ios/usr/include/_modules/_os_availability.h +33 -0
  93. package/sdk/ios/usr/include/availability.modulemap +50 -0
  94. package/sdk/ios/usr/include/module.modulemap +4 -0
  95. package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +77 -0
  96. package/sdk/ios/usr/lib/swift/StoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +7 -0
  97. package/sdk/ios/usr/lib/swift/SwiftUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +23 -0
  98. package/sdk/ios/usr/lib/swift/UIKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
  99. package/src/native-static-libraries.ts +16 -16
  100. package/src/podspec-sources.ts +19 -1
  101. package/src/swift-compile.ts +38 -24
  102. package/src/swift-objc-standin.ts +11 -5
  103. package/src/swift-packages.ts +40 -28
  104. package/src/swift-shipped-binaries.ts +6 -2
  105. package/src/swift-standin-emit.ts +65 -11
  106. package/src/swift-standins.ts +30 -4
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2369 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2371 | (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;
@@ -12362,8 +12362,8 @@ var init_registry = __esm({
12362
12362
  range: ">=2.0.4 <3.0.0",
12363
12363
  coverage: 0.5,
12364
12364
  note: "native seam for the unchanged 2.0.4 JavaScript over the DocumentScanner TurboModule on iOS",
12365
- working: 'scanDocument rejects with code "document scan error" and "Document scanning is not supported on this device", as the iOS simulator does where VNDocumentCameraViewController.isSupported is false',
12366
- missing: "the VisionKit document camera: scanning, cancel, and base64 or file-path results; Android native module"
12365
+ working: 'scanDocument presents the simulator document camera with its camera access alert; Close dismisses it and rejects code "document scan error" with the AVFoundation error description, as on the iOS 27 simulator',
12366
+ missing: "scanned pages, cancel, and base64 or file-path results, which need a capture device; Android native module"
12367
12367
  }
12368
12368
  ]
12369
12369
  },
@@ -19714,9 +19714,9 @@ var init_registry = __esm({
19714
19714
  {
19715
19715
  range: "1.0.0",
19716
19716
  coverage: 0.6,
19717
- note: "unchanged package JavaScript runs over its own HybridNitroFS Swift (FileManager), compiled to wasm by the Nitro source path; no seam or stub answers NitroFS. An unmodified install does not currently compile: the package depends on react-native-safe-area-context, and the Turbo build fails on its missing safeareacontext codegen headers. The observed behavior used a setup with that installed dependency removed. Behavior was observed against the Swift source rules, not captured from a native simulator.",
19718
- working: "DOCUMENT_DIR, CACHE_DIR and BUNDLE_DIR; exists, mkdir, writeFile and readFile in utf8, ascii and base64, overwrite, stat, file:// paths, copyFile, copy of a directory tree, rename, unlink of a file and a tree, dirname, basename, extname, and the package error messages for missing, wrong-kind and invalid inputs",
19719
- missing: "readdir on an existing directory traps in the Swift SDK (URLResourceValues.contentType is not implemented) and ends the Swift process; readdir of a regular file returns an empty list where Apple Foundation is expected to throw; uploadFile and downloadFile were not run; no native simulator capture"
19717
+ note: "unchanged package JavaScript and HybridNitroFS Swift (FileManager) compile through the shared Nitro source path. The focused readdir proof keeps the complete npm install and uses a locally built SDK and matching frameworks. The earlier Expo screen proof removed safe-area-context after its unrelated Turbo codegen-header failure; current full-screen boot was not rerun. Foundation resource types match native iOS captures.",
19718
+ working: "DOCUMENT_DIR, CACHE_DIR and BUNDLE_DIR; exists, mkdir, writeFile and readFile in utf8, ascii and base64, overwrite, stat, file:// paths, copyFile, copy of a directory tree, rename, unlink of a file and a tree, dirname, basename, extname, and the package error messages for missing, wrong-kind and invalid inputs; readdir returns native UTI identifiers for regular files, misleading extensions, extensionless files, directories and unknown extensions, with empty-directory and cleanup behavior verified",
19719
+ missing: "readdir of a regular file returns an empty list where Apple Foundation is expected to throw; uploadFile and downloadFile were not run; current full Expo boot with its unrelated Turbo providers, native NitroFS package parity, and Android were not run; source readdir repair requires the matching SDK and framework distribution"
19720
19720
  }
19721
19721
  ]
19722
19722
  },
@@ -32333,6 +32333,9 @@ function packageRoot(file) {
32333
32333
  function appIdentity(app) {
32334
32334
  return (0, import_node_crypto7.createHash)("sha256").update(import_node_fs19.default.readFileSync(import_node_path15.default.join(app, "package.json"))).digest("hex");
32335
32335
  }
32336
+ function receiptFile(key2, environment) {
32337
+ return import_node_path15.default.join(cacheDir(), "podspecs", "receipts-v1", key2, `${environment}.json`);
32338
+ }
32336
32339
  function podspecReceiptIdentity(file, appRoot = null) {
32337
32340
  file = import_node_fs19.default.realpathSync(file);
32338
32341
  const app = import_node_fs19.default.realpathSync(appRoot ?? packageRoot(file));
@@ -32401,6 +32404,15 @@ function planPodspec(podspec, appRoot) {
32401
32404
  let receipt = appReceipts.get(app)?.get(key2) ?? receipts.get(key2);
32402
32405
  const restored = process.platform !== "darwin" && receipt !== void 0 && restoredReceipts.has(receipt);
32403
32406
  if (!restored && receipt?.environment !== environment) receipt = void 0;
32407
+ if (!receipt) {
32408
+ const file2 = receiptFile(key2, environment);
32409
+ if (import_node_fs19.default.existsSync(file2)) {
32410
+ receipt = podspecReceiptSchema.parse(JSON.parse(import_node_fs19.default.readFileSync(file2, "utf8")));
32411
+ if (receipt.key !== key2 || receipt.environment !== environment)
32412
+ throw new Error(`podspec receipt identity mismatch: ${file2}`);
32413
+ receipts.set(key2, receipt);
32414
+ }
32415
+ }
32404
32416
  return { file, app, key: key2, environment, source: installed2 ?? file, receipt };
32405
32417
  }
32406
32418
  function podspecEnv() {
@@ -32506,6 +32518,11 @@ function loadPodspecs(files2, appRoot = null) {
32506
32518
  spec: specs[index]
32507
32519
  };
32508
32520
  receipts.set(plan.key, plan.receipt);
32521
+ const file = receiptFile(plan.key, plan.environment);
32522
+ import_node_fs19.default.mkdirSync(import_node_path15.default.dirname(file), { recursive: true });
32523
+ const temporary = `${file}.${(0, import_node_crypto7.randomUUID)()}.tmp`;
32524
+ import_node_fs19.default.writeFileSync(temporary, JSON.stringify(plan.receipt));
32525
+ import_node_fs19.default.renameSync(temporary, file);
32509
32526
  });
32510
32527
  }
32511
32528
  }
@@ -47005,7 +47022,17 @@ function splitTopLevel(text6, separator) {
47005
47022
  }
47006
47023
  function emitSwiftStandin(sourceGraphs, options) {
47007
47024
  const imported = new Set(options.imports);
47008
- const importedTypeModules = options.importedTypeModules ?? /* @__PURE__ */ new Map();
47025
+ const importedTypeModules = new Map(options.importedTypeModules);
47026
+ for (const graph of sourceGraphs)
47027
+ for (const edge of graph.relationships) {
47028
+ if (!/^c:objc\((?:cs|pl)\)/.test(edge.target)) continue;
47029
+ const qualified3 = /^(\w+)\.\w+$/.exec(edge.targetFallback ?? "");
47030
+ if (qualified3)
47031
+ importedTypeModules.set(
47032
+ edge.target,
47033
+ qualified3[1] === "ObjectiveC" ? "Foundation" : qualified3[1]
47034
+ );
47035
+ }
47009
47036
  const ownIds = new Set(
47010
47037
  sourceGraphs.flatMap(
47011
47038
  (graph) => graph.symbols.map((symbol2) => symbol2.identifier.precise)
@@ -47061,7 +47088,10 @@ function emitSwiftStandin(sourceGraphs, options) {
47061
47088
  const conformanceTargets = /* @__PURE__ */ new Map();
47062
47089
  const objectConformers = /* @__PURE__ */ new Set();
47063
47090
  const conformIds = /* @__PURE__ */ new Map();
47064
- const protocolParents = /* @__PURE__ */ new Map();
47091
+ const protocolParents = /* @__PURE__ */ new Map([
47092
+ ["s:SH", ["s:SQ"]],
47093
+ ["s:SL", ["s:SQ"]]
47094
+ ]);
47065
47095
  const requirement = /* @__PURE__ */ new Set();
47066
47096
  const optional3 = /* @__PURE__ */ new Set();
47067
47097
  const overrides = /* @__PURE__ */ new Set();
@@ -47126,9 +47156,7 @@ function emitSwiftStandin(sourceGraphs, options) {
47126
47156
  conditional.push({
47127
47157
  source,
47128
47158
  name: name3,
47129
- where: edge.swiftConstraints.map(
47130
- ({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
47131
- ).join(", ")
47159
+ constraints: edge.swiftConstraints
47132
47160
  });
47133
47161
  } else if (name3) {
47134
47162
  conforms.set(edge.source, [...conforms.get(edge.source) ?? [], name3]);
@@ -47532,7 +47560,7 @@ function emitSwiftStandin(sourceGraphs, options) {
47532
47560
  return;
47533
47561
  }
47534
47562
  emit(
47535
- `${head}${computed} { get${effects} { ${getter} }${settable && !effects ? ` ${parsed.nonmutating ? "nonmutating " : ""}set { ${measured?.set ?? (options.inert ? "" : trap(path148))} }` : ""} }`
47563
+ `${head.replace(/@NSCopying\b\s*/g, "")}${computed} { get${effects} { ${getter} }${settable && !effects ? ` ${parsed.nonmutating ? "nonmutating " : ""}set { ${measured?.set ?? (options.inert ? "" : trap(path148))} }` : ""} }`
47536
47564
  );
47537
47565
  return;
47538
47566
  }
@@ -48038,8 +48066,27 @@ function emitSwiftStandin(sourceGraphs, options) {
48038
48066
  emitWitness(witness.member, " ", witness.path);
48039
48067
  emit("}");
48040
48068
  }
48041
- for (const { source, name: name3, where } of conditional)
48069
+ const refines = (child, parent, seen = /* @__PURE__ */ new Set()) => {
48070
+ if (child === parent) return true;
48071
+ if (seen.has(child)) return false;
48072
+ seen.add(child);
48073
+ return (protocolParents.get(child) ?? []).some((id) => refines(id, parent, seen));
48074
+ };
48075
+ const implies = (stronger, weaker) => weaker.every(
48076
+ (wanted) => stronger.some(
48077
+ (given) => given.kind === wanted.kind && given.lhs === wanted.lhs && (given.rhs === wanted.rhs || given.kind === "conformance" && given.rhsPrecise !== void 0 && wanted.rhsPrecise !== void 0 && refines(given.rhsPrecise, wanted.rhsPrecise))
48078
+ )
48079
+ );
48080
+ for (const [index, { source, name: name3, constraints }] of conditional.entries()) {
48081
+ if (conditional.some(
48082
+ (other, at) => at !== index && other.source === source && other.name === name3 && implies(constraints, other.constraints) && (at < index || !implies(other.constraints, constraints))
48083
+ ))
48084
+ continue;
48085
+ const where = constraints.map(
48086
+ ({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
48087
+ ).join(", ");
48042
48088
  emitAt(pathOf(source), `extension ${pathOf(source)}: ${name3} where ${where} {}`);
48089
+ }
48043
48090
  const banner = [
48044
48091
  ...options.placeholder ? [
48045
48092
  `// placeholder for ${options.module}, generated from ${options.source}: ${options.placeholder}.`,
@@ -48396,7 +48443,7 @@ function iosDeploymentMinimum(version2) {
48396
48443
  if (!parts) return void 0;
48397
48444
  return Number(parts[1]) * 1e4 + Number(parts[2] ?? 0) * 100 + Number(parts[3] ?? 0);
48398
48445
  }
48399
- function moduleMapHeaders(modulemap, directoryHeaders = []) {
48446
+ function moduleMapHeaders(modulemap, directoryHeaders) {
48400
48447
  const tokens2 = moduleMapTokens(import_node_fs43.default.readFileSync(modulemap, "utf8"));
48401
48448
  const open = [];
48402
48449
  const declared = [];
@@ -48488,7 +48535,11 @@ function stageVendorFrameworks(dir, stage) {
48488
48535
  import_node_fs43.default.mkdirSync(target, { recursive: true });
48489
48536
  for (const child of import_node_fs43.default.readdirSync(source)) {
48490
48537
  if (child !== "Modules") {
48491
- import_node_fs43.default.symlinkSync(import_node_path40.default.join(source, child), import_node_path40.default.join(target, child));
48538
+ if (child === "Headers")
48539
+ import_node_fs43.default.cpSync(import_node_path40.default.join(source, child), import_node_path40.default.join(target, child), {
48540
+ recursive: true
48541
+ });
48542
+ else import_node_fs43.default.symlinkSync(import_node_path40.default.join(source, child), import_node_path40.default.join(target, child));
48492
48543
  continue;
48493
48544
  }
48494
48545
  for (const file of import_node_fs43.default.readdirSync(import_node_path40.default.join(source, child), {
@@ -49180,7 +49231,9 @@ function protocolProperties(surface, headersDir, graphs2, toolchainBin, search,
49180
49231
  // the module's own roots first: a defining header may rely on the
49181
49232
  // declarations its umbrella imports before it, as NS_ENUM does
49182
49233
  [
49183
- ...moduleMapHeaders(surface.modulemap).map((file) => import_node_path40.default.join(headersDir, file)),
49234
+ ...moduleMapHeaders(surface.modulemap, headerFiles(headersDir)).map(
49235
+ (file) => import_node_path40.default.join(headersDir, file)
49236
+ ),
49184
49237
  ...candidates.map(({ file }) => file)
49185
49238
  ].map((file) => `#import ${JSON.stringify(file)}
49186
49239
  `).join("")
@@ -49241,7 +49294,7 @@ function protocolProperties(surface, headersDir, graphs2, toolchainBin, search,
49241
49294
  return properties;
49242
49295
  }
49243
49296
  function objcDeclarationAST(surface, framework, toolchainBin, search, work, originalFlags, target) {
49244
- const roots = moduleMapHeaders(surface.modulemap);
49297
+ const roots = moduleMapHeaders(surface.modulemap, headerFiles(surface.headers));
49245
49298
  const probe2 = import_node_path40.default.join(work, "declarations.m");
49246
49299
  import_node_fs43.default.writeFileSync(
49247
49300
  probe2,
@@ -49334,7 +49387,7 @@ function enumValues(graphs2, surface, framework, toolchainBin, search, work, ori
49334
49387
  }
49335
49388
  const values = /* @__PURE__ */ new Map();
49336
49389
  if (wanted.size === 0) return values;
49337
- const roots = moduleMapHeaders(surface.modulemap);
49390
+ const roots = moduleMapHeaders(surface.modulemap, headerFiles(surface.headers));
49338
49391
  const probe2 = import_node_path40.default.join(work, "values.m");
49339
49392
  import_node_fs43.default.writeFileSync(
49340
49393
  probe2,
@@ -62207,25 +62260,44 @@ async function withSwiftFrameworkSlot(frameworkKey, moduleRoot, signal, work) {
62207
62260
  if (staged) return withSwiftRootLock(staged, run11(staged), signal);
62208
62261
  const built2 = new Map(slots.map((slot) => [slot, (0, import_node_fs60.statSync)(slot).mtimeMs]));
62209
62262
  const own = (slot) => swiftFrameworkSlotRecord(slot, SWIFT_FRAMEWORK_SLOT_ORIGIN) === moduleRoot;
62210
- const oldest = slots.sort(
62211
- (left, right) => (built2.get(left) ?? 0) - (built2.get(right) ?? 0)
62212
- );
62213
- for (const slot of [
62214
- ...oldest.filter(own).reverse(),
62215
- // a slot created this run is empty but carries a fresh mtime, so it would
62216
- // otherwise sort behind an occupied slot it should spare
62217
- ...oldest.filter((slot2) => !own(slot2) && swiftFrameworkSlotKey(slot2) === null),
62218
- ...oldest.filter((slot2) => !own(slot2) && swiftFrameworkSlotKey(slot2) !== null)
62219
- ]) {
62263
+ const inputs = new Map(
62264
+ swiftModuleInputFiles(moduleRoot).map((file) => [
62265
+ file,
62266
+ (0, import_node_fs60.readFileSync)(import_node_path57.default.join(moduleRoot, file))
62267
+ ])
62268
+ );
62269
+ const ranked = slots.map((slot) => {
62270
+ let changes = 0;
62271
+ if (swiftFrameworkSlotKey(slot) === null) return { slot, changes: Infinity };
62272
+ const source = import_node_path57.default.join(slot, "source", "packages", import_node_path57.default.basename(moduleRoot));
62273
+ for (const [file, contents2] of inputs) {
62274
+ try {
62275
+ if (!(0, import_node_fs60.readFileSync)(import_node_path57.default.join(source, file)).equals(contents2)) changes++;
62276
+ } catch (error) {
62277
+ if (!vanished(error)) throw error;
62278
+ changes++;
62279
+ }
62280
+ }
62281
+ return { slot, changes };
62282
+ }).sort(
62283
+ (left, right) => left.changes - right.changes || Number(own(right.slot)) - Number(own(left.slot)) || (built2.get(right.slot) ?? 0) - (built2.get(left.slot) ?? 0)
62284
+ );
62285
+ for (const { slot, changes } of ranked) {
62220
62286
  const result = await withSwiftRootLock(
62221
62287
  slot,
62222
- async (lease) => ({ value: await run11(slot)(lease) }),
62288
+ async (lease) => {
62289
+ console.error(
62290
+ `[swift-framework-cache] ${import_node_path57.default.basename(slot)} changedInputs=${changes} totalInputs=${inputs.size}`
62291
+ );
62292
+ return { value: await run11(slot)(lease) };
62293
+ },
62223
62294
  signal,
62224
62295
  false
62225
62296
  );
62226
62297
  if (result) return result.value;
62227
62298
  }
62228
- return withSwiftRootLock(oldest[0], run11(oldest[0]), signal);
62299
+ const nearest = ranked[0].slot;
62300
+ return withSwiftRootLock(nearest, run11(nearest), signal);
62229
62301
  }
62230
62302
  function mirrorTree2(source, target, skip) {
62231
62303
  (0, import_node_fs60.mkdirSync)(target, { recursive: true });
@@ -63129,7 +63201,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
63129
63201
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
63130
63202
  MULTI_MANIFEST_VERSION = 69;
63131
63203
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
63132
- compilerSourceDigest = true ? "9a39c03175ef8814619997609dea6a60b2716c9faa8e3eb0ff43c11aca35c934" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
63204
+ compilerSourceDigest = true ? "1b47386ddb37b973b7110df3031ea52e9d23ac2a578bc7539d91e232e336db2a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
63133
63205
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
63134
63206
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
63135
63207
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -69856,7 +69928,7 @@ var init_swift_standin_digest = __esm({
69856
69928
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
69857
69929
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
69858
69930
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
69859
- STANDIN_SOURCE_DIGEST = true ? "efbc9f7a42a4070a4037afe79a8e1c6cc64d0bef5f78f7fad0fa65c98ea764fa" : standinSourceDigest();
69931
+ STANDIN_SOURCE_DIGEST = true ? "28f94bd80124e52ab64394ba6f56176a69e00f86dab139561b97864d4fafbc8e" : standinSourceDigest();
69860
69932
  }
69861
69933
  });
69862
69934
 
@@ -70351,7 +70423,7 @@ __export(expo_native_prebuilt_exports, {
70351
70423
  servedExpoSwift: () => servedExpoSwift
70352
70424
  });
70353
70425
  function expoNativeCompilerDigestValue() {
70354
- return true ? "72037f67533957c09abbc12f20537bd04c8a8084b174d036f0bd862622bbcb0f" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
70426
+ return true ? "4c225078d2b2548064c58ccf76d885730dc25d68ff55b62fcdab426100487640" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
70355
70427
  }
70356
70428
  function readSources(value) {
70357
70429
  const sources = isRecord(value) ? value.sources : null;
@@ -70996,112 +71068,112 @@ var init_native_static_libraries = __esm({
70996
71068
  name: "skia",
70997
71069
  nativeSha256: "5312f2b194b1f6b6721388028bf919e56400278245b039f47136aa98f0582333",
70998
71070
  upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
70999
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71071
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71000
71072
  archive: "libskia.a"
71001
71073
  },
71002
71074
  {
71003
71075
  name: "skia_svg",
71004
71076
  nativeSha256: "77adc498cff85db7850fb713c306681c6337f9b4ec42991b3764c8f3eff9d8d0",
71005
71077
  upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
71006
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71078
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71007
71079
  archive: "libsvg.a"
71008
71080
  },
71009
71081
  {
71010
71082
  name: "skia_skshaper",
71011
71083
  nativeSha256: "830bcf260bd24fd79ee5d323e26ec667638795e3a0e555f1093371b8342c345c",
71012
71084
  upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
71013
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71085
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71014
71086
  archive: "libskshaper.a"
71015
71087
  },
71016
71088
  {
71017
71089
  name: "skia_skparagraph",
71018
71090
  nativeSha256: "26afd4e5b11d46b0820a2cd7fd9918eb5a041946e1a1c0d4b91a5d54877e9dda",
71019
71091
  upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
71020
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71092
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71021
71093
  archive: "libskparagraph.a"
71022
71094
  },
71023
71095
  {
71024
71096
  name: "skia_skunicode_core",
71025
71097
  nativeSha256: "629f58c4e81157d42e353b2b255bebb2fd94d1f31d8f8157e982fa4367710526",
71026
71098
  upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
71027
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71099
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71028
71100
  archive: "libskunicode_core.a"
71029
71101
  },
71030
71102
  {
71031
71103
  name: "skia_skunicode_libgrapheme",
71032
71104
  nativeSha256: "047bd82306ba688453a3ff9dc02e203cdf16f2084551cca54f5d2b099baf1895",
71033
71105
  upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
71034
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71106
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71035
71107
  archive: "libskunicode_libgrapheme.a"
71036
71108
  },
71037
71109
  {
71038
71110
  name: "skia_skottie",
71039
71111
  nativeSha256: "75c0dfd82a256e761cddc45475b8109ed8c9a442767cf3a8bf8720eef0dd4af7",
71040
71112
  upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
71041
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71113
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71042
71114
  archive: "libskottie.a"
71043
71115
  },
71044
71116
  {
71045
71117
  name: "skia_sksg",
71046
71118
  nativeSha256: "df9652a46505d3c5c74d55b52295ef39218d2b5856e074117461fa2348312c8d",
71047
71119
  upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
71048
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71120
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71049
71121
  archive: "libsksg.a"
71050
71122
  },
71051
71123
  {
71052
71124
  name: "skia",
71053
71125
  nativeSha256: "c9b007c4da16f66d84b2f108af719b424ef91ee0759e58df0b76930bc6f82e31",
71054
71126
  upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
71055
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71127
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71056
71128
  archive: "libskia.a"
71057
71129
  },
71058
71130
  {
71059
71131
  name: "skia_svg",
71060
71132
  nativeSha256: "159705737769610b60216b114a28ba833840aa1df7833424df99edec4405b86f",
71061
71133
  upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
71062
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71134
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71063
71135
  archive: "libsvg.a"
71064
71136
  },
71065
71137
  {
71066
71138
  name: "skia_skshaper",
71067
71139
  nativeSha256: "934f3dbf3f38bca87b463b664a17c1588840f86ec89cf6961fb2a89b6336b35b",
71068
71140
  upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
71069
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71141
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71070
71142
  archive: "libskshaper.a"
71071
71143
  },
71072
71144
  {
71073
71145
  name: "skia_skparagraph",
71074
71146
  nativeSha256: "29a48349fc9b75c252b22fc6ca5ade90636900f82beec58780f03fd66ab345b3",
71075
71147
  upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
71076
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71148
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71077
71149
  archive: "libskparagraph.a"
71078
71150
  },
71079
71151
  {
71080
71152
  name: "skia_skunicode_core",
71081
71153
  nativeSha256: "096e5139c4de528dbba5a9605895f4c725853e48225503bdfa9c1d70241e5f58",
71082
71154
  upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
71083
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71155
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71084
71156
  archive: "libskunicode_core.a"
71085
71157
  },
71086
71158
  {
71087
71159
  name: "skia_skunicode_libgrapheme",
71088
71160
  nativeSha256: "d1ec3c2d5ad6889eb4fbf4a6bab74f39946739501d40de903f7d8cb2181ac37d",
71089
71161
  upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
71090
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71162
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71091
71163
  archive: "libskunicode_libgrapheme.a"
71092
71164
  },
71093
71165
  {
71094
71166
  name: "skia_skottie",
71095
71167
  nativeSha256: "52ea2e046f45f51df6027d783e923864e8c4ef94a1fe4fc5971e436574d8ae57",
71096
71168
  upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
71097
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71169
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71098
71170
  archive: "libskottie.a"
71099
71171
  },
71100
71172
  {
71101
71173
  name: "skia_sksg",
71102
71174
  nativeSha256: "541a74d8f83dc411efe8eeac377486a5054fab4c7710afe406a20a27efe8f627",
71103
71175
  upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
71104
- recipe: "352165178eb75fa94a4378cb4593354b50ec5b53490f907e8d553a4d4c579364",
71176
+ recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
71105
71177
  archive: "libsksg.a"
71106
71178
  },
71107
71179
  {
@@ -71266,14 +71338,15 @@ var init_swift_shipped_archives = __esm({
71266
71338
  // src/swift-shipped-binaries.ts
71267
71339
  function shippedBinaryDiffers(target, checksum) {
71268
71340
  const shipped = SHIPPED_ARCHIVES.get(target);
71269
- return shipped !== void 0 && checksum !== null && checksum !== shipped;
71341
+ return checksum !== null && (shipped !== void 0 ? checksum !== shipped : !SHIPPED_CHECKSUMS.has(checksum));
71270
71342
  }
71271
- var SHIPPED_ARCHIVES;
71343
+ var SHIPPED_ARCHIVES, SHIPPED_CHECKSUMS;
71272
71344
  var init_swift_shipped_binaries = __esm({
71273
71345
  "src/swift-shipped-binaries.ts"() {
71274
71346
  "use strict";
71275
71347
  init_swift_shipped_archives();
71276
71348
  SHIPPED_ARCHIVES = new Map(Object.entries(swift_shipped_archives_default));
71349
+ SHIPPED_CHECKSUMS = new Set(SHIPPED_ARCHIVES.values());
71277
71350
  }
71278
71351
  });
71279
71352
 
@@ -71676,39 +71749,41 @@ function resolveSwiftPackages(options) {
71676
71749
  return pkg;
71677
71750
  };
71678
71751
  const claimed = /* @__PURE__ */ new Set();
71679
- const claimTarget = (pkg, name3) => {
71752
+ const claimDependencies = (pkg, target, binaryOnly = false) => target.dependencies.map((dependency) => {
71753
+ if (dependency.kind === "target")
71754
+ return claimTarget(pkg, dependency.name, binaryOnly);
71755
+ const nested = dependencyPackage(pkg, dependency);
71756
+ return nested && typeof nested !== "string" ? claimProduct(nested, dependency.name, binaryOnly) : false;
71757
+ }).some(Boolean);
71758
+ const claimTarget = (pkg, name3, binaryOnly = false) => {
71680
71759
  const key2 = `${pkg.manifest.dir}\0${name3}`;
71681
- if (claimed.has(key2)) return true;
71760
+ if (!binaryOnly && claimed.has(key2)) return true;
71682
71761
  const target = pkg.manifest.targets.get(name3);
71762
+ if (target?.type === "binary") {
71763
+ const changed = !options.standinTargets?.has(name3) && shippedBinaryDiffers(name3, target.checksum);
71764
+ if (changed) providedTargets.delete(name3);
71765
+ return changed;
71766
+ }
71683
71767
  if (!target || target.type !== "regular" || placeholderPackage(pkg)) return false;
71684
71768
  const files2 = swiftTargetFiles(pkg.manifest, target);
71685
- if (files2.every(
71769
+ if (binaryOnly || files2.every(
71686
71770
  (file) => file.endsWith(".swift") && import_node_fs79.default.readFileSync(file, "utf8").trim() === ""
71687
- ))
71688
- return false;
71771
+ )) {
71772
+ const changed = claimDependencies(pkg, target, true);
71773
+ if (changed) providedTargets.delete(name3);
71774
+ return changed;
71775
+ }
71689
71776
  if (unloweredSources(files2, target, portableAssembly)) return false;
71690
71777
  claimed.add(key2);
71691
71778
  providedTargets.delete(name3);
71692
- for (const dependency of target.dependencies) {
71693
- if (dependency.kind === "target") claimTarget(pkg, dependency.name);
71694
- else {
71695
- const nested = dependencyPackage(pkg, dependency);
71696
- if (nested && typeof nested !== "string") claimProduct(nested, dependency.name);
71697
- }
71698
- }
71779
+ claimDependencies(pkg, target);
71699
71780
  return true;
71700
71781
  };
71701
- const claimProduct = (pkg, product) => {
71782
+ const claimProduct = (pkg, product, binaryOnly = false) => {
71702
71783
  const roots = pkg.manifest.products.get(product)?.targets ?? [];
71703
- for (const root of roots) {
71704
- const target = pkg.manifest.targets.get(root);
71705
- if (target?.type === "binary" && !options.standinTargets?.has(root) && shippedBinaryDiffers(root, target.checksum)) {
71706
- providedTargets.delete(root);
71707
- providedProducts.delete(product);
71708
- }
71709
- }
71710
- if (roots.map((name3) => claimTarget(pkg, name3)).some(Boolean))
71711
- providedProducts.delete(product);
71784
+ const changed = roots.map((name3) => claimTarget(pkg, name3, binaryOnly)).some(Boolean);
71785
+ if (changed) providedProducts.delete(product);
71786
+ return changed;
71712
71787
  };
71713
71788
  for (const { product, source } of products) {
71714
71789
  if (source.kind === "remote" && !options.provided) continue;
@@ -73838,7 +73913,7 @@ function externalConformances(module2, interfaceText) {
73838
73913
  )) {
73839
73914
  const [, extended, conformances] = match;
73840
73915
  if (extended.startsWith(`${module2}.`) || /\bwhere\b/.test(conformances)) continue;
73841
- const own = conformances.split(",").map((name3) => name3.trim()).filter((name3) => name3.startsWith(`${module2}.`));
73916
+ const own = conformances.split(",").map((name3) => name3.trim()).filter((name3) => name3.startsWith(`${module2}.`)).map((name3) => name3.slice(module2.length + 1));
73842
73917
  const type = extended.startsWith("Swift.") ? extended : extended.split(".").slice(1).join(".");
73843
73918
  if (own.length > 0 && type) lines.add(`extension ${type} : ${own.join(", ")} {}
73844
73919
  `);
@@ -73875,8 +73950,9 @@ function wasmFlags(toolchain, imports2) {
73875
73950
  // submodules (os.log), so a vendor interface naming one resolves as the
73876
73951
  // ios sdk resolves it; a second `os` map on the path is a redefinition.
73877
73952
  ...cFlags.flatMap((flag) => ["-Xcc", flag]),
73878
- ...peachModuleDirs(toolchain, imports2, sdkIncludes).flatMap((dir) => ["-I", dir]),
73879
- ...toolchain.standinModules ? ["-I", toolchain.standinModules] : []
73953
+ ...toolchain.standinModules ? ["-I", toolchain.standinModules] : [],
73954
+ ...(toolchain.standinIncludes ?? []).flatMap((dir) => ["-I", dir, "-F", dir]),
73955
+ ...peachModuleDirs(toolchain, imports2, sdkIncludes).flatMap((dir) => ["-I", dir])
73880
73956
  ];
73881
73957
  }
73882
73958
  function objcStandin(surface, binary2, toolchain, work, behavior, frameworks, siblings) {
@@ -75231,7 +75307,9 @@ function gapText(gap) {
75231
75307
  return text6.length > 600 ? `${text6.slice(0, 600)}\u2026` : text6;
75232
75308
  }
75233
75309
  async function buildStandins(binaries, toolchain, provided, behavior) {
75234
- const requested = binaries.filter((binary2) => !provided.has(binary2.target));
75310
+ const requested = binaries.filter(
75311
+ (binary2) => !provided.has(binary2.target) || shippedBinaryDiffers(binary2.target, binary2.checksum)
75312
+ );
75235
75313
  if (requested.length === 0) return { standins: [], gaps: /* @__PURE__ */ new Map() };
75236
75314
  if (process.platform === "darwin" && process.env.TM_EXEC_BUILD_PLATFORM !== "mac" && process.env.TM_SESSION && process.env.CI !== "true" && toolchain.moduleRoot === sourceSwiftCheckout() && !swiftDistributionAt(toolchain.moduleRoot))
75237
75315
  return sourceStandins(requested, toolchain, provided, behavior);
@@ -75246,6 +75324,7 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
75246
75324
  binaries.map((binary2) => [swiftTargetModuleName(binary2.target), binary2])
75247
75325
  );
75248
75326
  const interfaceImports = /* @__PURE__ */ new Map();
75327
+ const retained = new Set(provided);
75249
75328
  for (const binary2 of binaries) {
75250
75329
  const swiftSources = binary2.placeholder ?? binary2.moduleSources;
75251
75330
  if (swiftSources !== void 0) {
@@ -75274,8 +75353,9 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
75274
75353
  interfaceImports.set(binary2, imports2);
75275
75354
  for (const surface of surfaces(artifact.dir, binary2.target)) {
75276
75355
  byModule.set(surface.module, binary2);
75356
+ if (shippedBinaryDiffers(surface.module, binary2.checksum))
75357
+ retained.delete(surface.module);
75277
75358
  for (const module2 of surfaceImports(surface)) imports2.add(module2);
75278
- if (surface.kind === "c") continue;
75279
75359
  if (surface.kind === "objc" || surface.kind === "mixed")
75280
75360
  frameworkSurfaces.set(surface.module, surface);
75281
75361
  if (surface.kind !== "swift" && import_node_path81.default.basename(import_node_path81.default.dirname(surface.modulemap)) !== "Modules")
@@ -75287,7 +75367,13 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
75287
75367
  } catch {
75288
75368
  }
75289
75369
  }
75290
- const generatedToolchain = { ...toolchain, standinModules: modules };
75370
+ provided = retained;
75371
+ const includes = [];
75372
+ const generatedToolchain = {
75373
+ ...toolchain,
75374
+ standinModules: modules,
75375
+ standinIncludes: includes
75376
+ };
75291
75377
  const sourceFrameworks = import_node_path81.default.join(modules, "ios-frameworks");
75292
75378
  import_node_fs84.default.mkdirSync(sourceFrameworks);
75293
75379
  const frameworks = {
@@ -75368,6 +75454,16 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
75368
75454
  for (const standin of result) {
75369
75455
  if (prerequisites.has(standin.module)) {
75370
75456
  const source = standin.files[`${standin.module}.swift`];
75457
+ if (source === void 0) {
75458
+ const dir = import_node_path81.default.join(modules, standin.module, "include");
75459
+ for (const [name3, text6] of Object.entries(standin.files)) {
75460
+ if (!name3.startsWith("include/")) continue;
75461
+ const file = import_node_path81.default.join(modules, standin.module, name3);
75462
+ import_node_fs84.default.mkdirSync(import_node_path81.default.dirname(file), { recursive: true });
75463
+ import_node_fs84.default.writeFileSync(file, text6);
75464
+ }
75465
+ includes.push(dir);
75466
+ }
75371
75467
  if (source !== void 0) {
75372
75468
  const file = import_node_path81.default.join(modules, `${standin.module}.swift`);
75373
75469
  import_node_fs84.default.writeFileSync(file, source);
@@ -75426,6 +75522,7 @@ var init_swift_standins = __esm({
75426
75522
  init_swift_package();
75427
75523
  init_swift_packages();
75428
75524
  init_swift_shared_sdk();
75525
+ init_swift_shipped_binaries();
75429
75526
  init_swift_standin_builtin_behavior();
75430
75527
  init_swift_standin_digest();
75431
75528
  init_swift_standin_emit();
@@ -88781,7 +88878,7 @@ var init_react_native_core = __esm({
88781
88878
  init_swift_distribution();
88782
88879
  init_swift_package();
88783
88880
  init_swiftContract();
88784
- recipe = true ? "dd3712db9c14e08c355db4678d445209474ce42af8991f6c252a4acb1b66fc84" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
88881
+ recipe = true ? "b6dde8c8eae8967beb175e8d5b9f585d060bc8aaad48a9e3473f05381be6f1a2" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
88785
88882
  strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
88786
88883
  building = /* @__PURE__ */ new Map();
88787
88884
  }
@@ -93110,7 +93207,7 @@ var init_nitro_superset = __esm({
93110
93207
  init_nitroContract();
93111
93208
  init_swift_standin_digest();
93112
93209
  NITRO_SUPERSET_ENTRY_NAME = "superset";
93113
- NITRO_COMPILER_DIGEST = true ? "a05dba1dc04471a875888016bd1f06d93174e9c90c159c9b07e295395835d04f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
93210
+ NITRO_COMPILER_DIGEST = true ? "34ba4037c35ea8554af479bc885b9d913128eb1c3b2a67adb298f4492f22742c" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
93114
93211
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
93115
93212
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
93116
93213
  published2 = /* @__PURE__ */ new Map();