peachsim 0.1.2189 → 0.1.2191

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 (102) hide show
  1. package/cli/commands/daemon.ts +13 -1
  2. package/cli/commands/package.ts +1 -1
  3. package/cli/commands/setup.ts +4 -2
  4. package/cli/commands/shell-url.ts +1 -1
  5. package/cli/main.ts +2 -0
  6. package/dist-lib/agent-daemon-client.cjs +1 -1
  7. package/dist-lib/agent-events.cjs +1 -1
  8. package/dist-lib/attached-projects.cjs +1 -1
  9. package/dist-lib/auth/shared-session.cjs +1 -1
  10. package/dist-lib/backend-origin.cjs +1 -1
  11. package/dist-lib/beta.cjs +1 -1
  12. package/dist-lib/beta.mjs +1 -1
  13. package/dist-lib/bridge-constants.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.mjs +1 -1
  16. package/dist-lib/bridge-contract.cjs +1 -1
  17. package/dist-lib/bridge-contract.mjs +1 -1
  18. package/dist-lib/bundle-channel.cjs +85 -135
  19. package/dist-lib/capture-contract.cjs +1 -1
  20. package/dist-lib/capture-contract.mjs +1 -1
  21. package/dist-lib/cloud-contract.cjs +1 -1
  22. package/dist-lib/cloud-contract.mjs +1 -1
  23. package/dist-lib/cloud-test-args.cjs +1 -1
  24. package/dist-lib/cloud-test-args.mjs +1 -1
  25. package/dist-lib/cloud.cjs +1 -1
  26. package/dist-lib/cloud.mjs +1 -1
  27. package/dist-lib/config.cjs +1 -1
  28. package/dist-lib/config.mjs +1 -1
  29. package/dist-lib/detox/index.cjs +1 -1
  30. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  31. package/dist-lib/expo-swift-bundle.cjs +59 -131
  32. package/dist-lib/expo-swift-metadata.cjs +1 -1
  33. package/dist-lib/expo-swift-metadata.mjs +1 -1
  34. package/dist-lib/home-paths.cjs +1 -1
  35. package/dist-lib/host/bridge-host.cjs +85 -135
  36. package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
  37. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  38. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  39. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  40. package/dist-lib/host/websocket-proxy.cjs +1 -1
  41. package/dist-lib/index.cjs +7 -5
  42. package/dist-lib/jump-to-source-babel.cjs +1 -1
  43. package/dist-lib/jump-to-source-native.cjs +1 -1
  44. package/dist-lib/kotlin-host.cjs +7 -2
  45. package/dist-lib/menu.cjs +1 -1
  46. package/dist-lib/menu.mjs +1 -1
  47. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  48. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  49. package/dist-lib/metro-production-bundle.cjs +1 -1
  50. package/dist-lib/metro-production-bundle.mjs +1 -1
  51. package/dist-lib/metro.cjs +7 -5
  52. package/dist-lib/native-app-identity-project.cjs +6 -4
  53. package/dist-lib/native-app-identity-project.mjs +6 -4
  54. package/dist-lib/native-app-identity.cjs +1 -1
  55. package/dist-lib/native-app-identity.mjs +1 -1
  56. package/dist-lib/native-firebase-metadata.cjs +1 -1
  57. package/dist-lib/native-firebase-metadata.mjs +1 -1
  58. package/dist-lib/pdfium-raster.cjs +1 -1
  59. package/dist-lib/pdfium-raster.mjs +1 -1
  60. package/dist-lib/plist.cjs +1 -1
  61. package/dist-lib/plist.mjs +1 -1
  62. package/dist-lib/profiles.cjs +1 -1
  63. package/dist-lib/public-brand.cjs +1 -1
  64. package/dist-lib/public-origins-lib-esm.json +24 -24
  65. package/dist-lib/public-origins-lib.json +53 -53
  66. package/dist-lib/react-native-host-modules.cjs +1 -1
  67. package/dist-lib/react-native-host-modules.mjs +1 -1
  68. package/dist-lib/reap-browser.cjs +1 -1
  69. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  70. package/dist-lib/sdk.cjs +1 -1
  71. package/dist-lib/sdk.mjs +1 -1
  72. package/dist-lib/skills.cjs +105 -139
  73. package/dist-lib/swift-compile.cjs +14 -117
  74. package/dist-lib/swift-compile.mjs +14 -117
  75. package/dist-lib/swift-package.cjs +1 -1
  76. package/dist-lib/swift-package.mjs +1 -1
  77. package/dist-lib/swift-submit.cjs +1 -1
  78. package/dist-lib/swift-submit.mjs +1 -1
  79. package/dist-lib/swift-toolchain.cjs +1 -1
  80. package/dist-lib/swift.cjs +1 -1
  81. package/dist-lib/vite-swift.cjs +57 -129
  82. package/dist-lib/vite.cjs +4 -4
  83. package/dist-lib/worklet-executable.cjs +1 -1
  84. package/dist-lib/worklet-executable.mjs +1 -1
  85. package/dist-types/packages/peach-engine/src/engine/computed-padding.d.ts +40 -0
  86. package/dist-types/packages/peach-engine/src/engine/layout-engine.d.ts +3 -0
  87. package/dist-types/packages/peach-engine/src/engine/node.d.ts +3 -0
  88. package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +60 -0
  89. package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +2 -0
  90. package/dist-types/packages/peach-engine/src/settings/device-spec-bus.d.ts +10 -0
  91. package/kotlin/sdk.tar.gz +0 -0
  92. package/package.json +1 -1
  93. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindSession.h +2 -12
  94. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +12 -0
  95. package/src/kotlin-host.ts +6 -1
  96. package/src/podspec-sources.ts +21 -2
  97. package/src/swift-compile.ts +21 -114
  98. package/src/swift-host.ts +12 -8
  99. package/src/swift-interface-bodies.ts +7 -1
  100. package/src/swift-objc-standin.ts +46 -8
  101. package/src/swift-packages.ts +1 -0
  102. package/src/xcode-project.ts +6 -4
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2189 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2189 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2189 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2189 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2189 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2189 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
39
39
  var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
40
40
  var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
41
41
  "<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
42
- define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "e7cf8a143d47ff86b4ee2db4a8266e96b100926104990dba795321bc5923df3e", "home-paths.ts": "f5583b61f8bdd81823b3b29ff519a48daf9993719f194ddb7de22218472e90f9", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "8ffd57670829ddd2b10e812defbd9016859744be88713c5ba65847aa6e26dff4", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
42
+ define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "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": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "e7cf8a143d47ff86b4ee2db4a8266e96b100926104990dba795321bc5923df3e", "home-paths.ts": "f5583b61f8bdd81823b3b29ff519a48daf9993719f194ddb7de22218472e90f9", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "86f79e98323ec065e0e5195324c75ca608f490efbd95dcc25c53d5aa0b9aecc9", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
43
43
  }
44
44
  });
45
45
 
@@ -11988,7 +11988,7 @@ function swiftInterfaceWithoutBodies(text5, keepDefaults = false) {
11988
11988
  continue;
11989
11989
  }
11990
11990
  const char = text5[i];
11991
- if (char === "=" && parens > 0 && text5[i - 1] === " " && text5[i + 1] === " ") {
11991
+ if (!keepDefaults && char === "=" && parens > 0 && text5[i - 1] === " " && text5[i + 1] === " ") {
11992
11992
  out = out.trimEnd();
11993
11993
  i = skipExpression(text5, i + 1);
11994
11994
  continue;
@@ -14134,10 +14134,11 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
14134
14134
  "-module-cache-path",
14135
14135
  moduleCache,
14136
14136
  "-minimum-access-level",
14137
- // symbol graphs hide public underscored names at the public threshold.
14138
- // original clang headers remain the declaration boundary, and a swift
14139
- // overlay names its underscored and spi declarations.
14140
- original || surface.interface ? "internal" : "public",
14137
+ // symbol graphs hide public underscored names at the public threshold,
14138
+ // including a function with an underscored parameter. clang headers
14139
+ // remain the declaration boundary, and a swift overlay names its
14140
+ // underscored and spi declarations.
14141
+ "internal",
14141
14142
  ...surface.interface ? ["-include-spi-symbols"] : [],
14142
14143
  "-skip-synthesized-members",
14143
14144
  "-omit-extension-block-symbols",
@@ -14236,6 +14237,13 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
14236
14237
  writeHeaders();
14237
14238
  }
14238
14239
  const ownHeaders = new Set(headerFiles(headersDir).map((name3) => import_node_path27.default.basename(name3)));
14240
+ const functionPointers = new Set(
14241
+ [...originals.values()].flatMap(
14242
+ (text5) => [...text5.matchAll(/\btypedef\b[^;{}]*?\(\s*\*\s*(\w+)\s*\)\s*\(/g)].map(
14243
+ (match) => match[1]
14244
+ )
14245
+ )
14246
+ );
14239
14247
  const graphs = import_node_fs30.default.readdirSync(out).filter((name3) => name3.endsWith(".symbols.json")).sort().map((name3) => {
14240
14248
  const graph = JSON.parse(import_node_fs30.default.readFileSync(import_node_path27.default.join(out, name3), "utf8"));
14241
14249
  return {
@@ -14243,6 +14251,22 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
14243
14251
  symbols: graph.symbols.filter((symbol2) => {
14244
14252
  const header = /^c:([^@]+\.h)@/.exec(symbol2.identifier.precise)?.[1];
14245
14253
  return !header || ownHeaders.has(header);
14254
+ }).map((symbol2) => {
14255
+ if (symbol2.kind.identifier !== "swift.typealias" || !symbol2.identifier.precise.startsWith("c:") || !functionPointers.has(symbol2.pathComponents.at(-1) ?? ""))
14256
+ return symbol2;
14257
+ const fragments = symbol2.declarationFragments ?? [];
14258
+ const equals = fragments.findIndex(
14259
+ (fragment) => fragment.spelling.includes("=")
14260
+ );
14261
+ const arrow = fragments.findLastIndex(
14262
+ (fragment) => fragment.spelling.includes("->")
14263
+ );
14264
+ return {
14265
+ ...symbol2,
14266
+ declarationFragments: fragments.map(
14267
+ (fragment, index) => index > equals && index < arrow && fragment.kind === "typeIdentifier" && functionPointers.has(fragment.spelling) ? { ...fragment, spelling: `@escaping ${fragment.spelling}` } : fragment
14268
+ )
14269
+ };
14246
14270
  })
14247
14271
  };
14248
14272
  });
@@ -23013,7 +23037,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
23013
23037
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
23014
23038
  var MULTI_MANIFEST_VERSION = 68;
23015
23039
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
23016
- var compilerSourceDigest = true ? "2a1da81ab7798d1b1b2f07ce1f9d3314f5461acfea19548a6c5065edb1133762" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
23040
+ var compilerSourceDigest = true ? "9d8d3ae2b2d5324ea93c50de702176f964cf229949899cccbeb49f982845e24b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
23017
23041
  function swiftArtifactHash(input, release, moduleRoot) {
23018
23042
  const hash = (0, import_node_crypto19.createHash)("sha256");
23019
23043
  hash.update(`swift-compile
@@ -23422,6 +23446,9 @@ function emitSwiftPackageManifest(args) {
23422
23446
  ' publicHeadersPath: "include",'
23423
23447
  ] : native?.flags ? [` sources: ${JSON.stringify(native.sources)},`] : target.sources !== void 0 ? [` sources: ${JSON.stringify(target.sources)},`] : [],
23424
23448
  ...!native?.clang && target.publicHeadersPath !== void 0 ? [` publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)},`] : [],
23449
+ // swiftpm appends the root package's name after a target's own flags
23450
+ // unless the target opts out of package access
23451
+ ...!clang && target.swiftFlags?.includes("-package-name") ? [" packageAccess: false,"] : [],
23425
23452
  // the native backend supplies dependency module maps without their
23426
23453
  // compiled modules. textual c++ includes keep those dependencies usable.
23427
23454
  ` ${clang ? nativeSettings : swiftSettings}${link}`,
@@ -23812,117 +23839,6 @@ var FOUNDATION_OVERLAY_GLOBALS = /* @__PURE__ */ new Set([
23812
23839
  "NSFileErrorMinimum",
23813
23840
  "NSFormattingErrorMaximum",
23814
23841
  "NSFormattingErrorMinimum",
23815
- "NSFoundationVersionNumber",
23816
- "NSFoundationVersionNumber10_0",
23817
- "NSFoundationVersionNumber10_1",
23818
- "NSFoundationVersionNumber10_10",
23819
- "NSFoundationVersionNumber10_10_1",
23820
- "NSFoundationVersionNumber10_10_2",
23821
- "NSFoundationVersionNumber10_10_3",
23822
- "NSFoundationVersionNumber10_10_4",
23823
- "NSFoundationVersionNumber10_10_5",
23824
- "NSFoundationVersionNumber10_10_Max",
23825
- "NSFoundationVersionNumber10_11",
23826
- "NSFoundationVersionNumber10_11_1",
23827
- "NSFoundationVersionNumber10_11_2",
23828
- "NSFoundationVersionNumber10_11_3",
23829
- "NSFoundationVersionNumber10_11_4",
23830
- "NSFoundationVersionNumber10_11_Max",
23831
- "NSFoundationVersionNumber10_1_1",
23832
- "NSFoundationVersionNumber10_1_2",
23833
- "NSFoundationVersionNumber10_1_3",
23834
- "NSFoundationVersionNumber10_1_4",
23835
- "NSFoundationVersionNumber10_2",
23836
- "NSFoundationVersionNumber10_2_1",
23837
- "NSFoundationVersionNumber10_2_2",
23838
- "NSFoundationVersionNumber10_2_3",
23839
- "NSFoundationVersionNumber10_2_4",
23840
- "NSFoundationVersionNumber10_2_5",
23841
- "NSFoundationVersionNumber10_2_6",
23842
- "NSFoundationVersionNumber10_2_7",
23843
- "NSFoundationVersionNumber10_2_8",
23844
- "NSFoundationVersionNumber10_3",
23845
- "NSFoundationVersionNumber10_3_1",
23846
- "NSFoundationVersionNumber10_3_2",
23847
- "NSFoundationVersionNumber10_3_3",
23848
- "NSFoundationVersionNumber10_3_4",
23849
- "NSFoundationVersionNumber10_3_5",
23850
- "NSFoundationVersionNumber10_3_6",
23851
- "NSFoundationVersionNumber10_3_7",
23852
- "NSFoundationVersionNumber10_3_8",
23853
- "NSFoundationVersionNumber10_3_9",
23854
- "NSFoundationVersionNumber10_4",
23855
- "NSFoundationVersionNumber10_4_1",
23856
- "NSFoundationVersionNumber10_4_10",
23857
- "NSFoundationVersionNumber10_4_11",
23858
- "NSFoundationVersionNumber10_4_2",
23859
- "NSFoundationVersionNumber10_4_3",
23860
- "NSFoundationVersionNumber10_4_4_Intel",
23861
- "NSFoundationVersionNumber10_4_4_PowerPC",
23862
- "NSFoundationVersionNumber10_4_5",
23863
- "NSFoundationVersionNumber10_4_6",
23864
- "NSFoundationVersionNumber10_4_7",
23865
- "NSFoundationVersionNumber10_4_8",
23866
- "NSFoundationVersionNumber10_4_9",
23867
- "NSFoundationVersionNumber10_5",
23868
- "NSFoundationVersionNumber10_5_1",
23869
- "NSFoundationVersionNumber10_5_2",
23870
- "NSFoundationVersionNumber10_5_3",
23871
- "NSFoundationVersionNumber10_5_4",
23872
- "NSFoundationVersionNumber10_5_5",
23873
- "NSFoundationVersionNumber10_5_6",
23874
- "NSFoundationVersionNumber10_5_7",
23875
- "NSFoundationVersionNumber10_5_8",
23876
- "NSFoundationVersionNumber10_6",
23877
- "NSFoundationVersionNumber10_6_1",
23878
- "NSFoundationVersionNumber10_6_2",
23879
- "NSFoundationVersionNumber10_6_3",
23880
- "NSFoundationVersionNumber10_6_4",
23881
- "NSFoundationVersionNumber10_6_5",
23882
- "NSFoundationVersionNumber10_6_6",
23883
- "NSFoundationVersionNumber10_6_7",
23884
- "NSFoundationVersionNumber10_6_8",
23885
- "NSFoundationVersionNumber10_7",
23886
- "NSFoundationVersionNumber10_7_1",
23887
- "NSFoundationVersionNumber10_7_2",
23888
- "NSFoundationVersionNumber10_7_3",
23889
- "NSFoundationVersionNumber10_7_4",
23890
- "NSFoundationVersionNumber10_8",
23891
- "NSFoundationVersionNumber10_8_1",
23892
- "NSFoundationVersionNumber10_8_2",
23893
- "NSFoundationVersionNumber10_8_3",
23894
- "NSFoundationVersionNumber10_8_4",
23895
- "NSFoundationVersionNumber10_9",
23896
- "NSFoundationVersionNumber10_9_1",
23897
- "NSFoundationVersionNumber10_9_2",
23898
- "NSFoundationVersionNumber_iOS_4_0",
23899
- "NSFoundationVersionNumber_iOS_4_1",
23900
- "NSFoundationVersionNumber_iOS_4_2",
23901
- "NSFoundationVersionNumber_iOS_4_3",
23902
- "NSFoundationVersionNumber_iOS_5_0",
23903
- "NSFoundationVersionNumber_iOS_5_1",
23904
- "NSFoundationVersionNumber_iOS_6_0",
23905
- "NSFoundationVersionNumber_iOS_6_1",
23906
- "NSFoundationVersionNumber_iOS_7_0",
23907
- "NSFoundationVersionNumber_iOS_7_1",
23908
- "NSFoundationVersionNumber_iOS_8_0",
23909
- "NSFoundationVersionNumber_iOS_8_1",
23910
- "NSFoundationVersionNumber_iOS_8_2",
23911
- "NSFoundationVersionNumber_iOS_8_3",
23912
- "NSFoundationVersionNumber_iOS_8_4",
23913
- "NSFoundationVersionNumber_iOS_8_x_Max",
23914
- "NSFoundationVersionNumber_iOS_9_0",
23915
- "NSFoundationVersionNumber_iOS_9_1",
23916
- "NSFoundationVersionNumber_iOS_9_2",
23917
- "NSFoundationVersionNumber_iOS_9_3",
23918
- "NSFoundationVersionNumber_iOS_9_4",
23919
- "NSFoundationVersionNumber_iOS_9_x_Max",
23920
- "NSFoundationVersionNumber_iPhoneOS_2_0",
23921
- "NSFoundationVersionNumber_iPhoneOS_2_1",
23922
- "NSFoundationVersionNumber_iPhoneOS_2_2",
23923
- "NSFoundationVersionNumber_iPhoneOS_3_0",
23924
- "NSFoundationVersionNumber_iPhoneOS_3_1",
23925
- "NSFoundationVersionNumber_iPhoneOS_3_2",
23926
23842
  "NSFoundationVersionWithFileManagerResourceForkSupport",
23927
23843
  "NSFreeHashTable",
23928
23844
  "NSFreeMapTable",
@@ -25001,7 +24917,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
25001
24917
  for (const file of Object.keys(input.files)) {
25002
24918
  if (!file.endsWith(".swift")) continue;
25003
24919
  const target = bySourcePath.find(
25004
- (candidate) => candidate.path === "." || file.startsWith(`${candidate.path}/`)
24920
+ (candidate) => (candidate.path === "." || file.startsWith(`${candidate.path}/`)) && (candidate.sources === void 0 || candidate.sources.some((source) => {
24921
+ const selected = import_node_path45.default.posix.join(candidate.path, source);
24922
+ return file === selected || file.startsWith(`${selected}/`);
24923
+ }))
25005
24924
  );
25006
24925
  const excluded = target?.exclude?.some(
25007
24926
  (name3) => file === import_node_path45.default.posix.join(target.path, name3)
@@ -25054,7 +24973,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
25054
24973
  const targetEntries = (target) => {
25055
24974
  const prefix = target.path === "." ? "" : `${target.path}/`;
25056
24975
  return Object.entries(input.files).filter(
25057
- ([file]) => file.startsWith(prefix) && !target.exclude?.some(
24976
+ ([file]) => file.startsWith(prefix) && (target.sources === void 0 || !(file.endsWith(".swift") || isSwiftNativeTranslationUnit(file)) || target.sources.some((source) => {
24977
+ const selected = import_node_path45.default.posix.join(prefix, source);
24978
+ return file === selected || file.startsWith(`${selected}/`);
24979
+ })) && !target.exclude?.some(
25058
24980
  (excluded) => file === `${prefix}${excluded}` || file.startsWith(`${prefix}${excluded}/`)
25059
24981
  ) && !targets.some(
25060
24982
  (candidate) => candidate.name !== target.name && candidate.path !== "." && candidate.path.startsWith(prefix) && file.startsWith(`${candidate.path}/`)
@@ -25209,8 +25131,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
25209
25131
  )) {
25210
25132
  const include2 = match[1];
25211
25133
  const producer = /(?:^|\/)([^/]+)-Swift\.h$/.exec(include2)?.[1];
25212
- if (producer && targets.some((value) => value.name === producer))
25213
- producers2.add(producer);
25134
+ if (producer && swiftTargets.has(producer)) producers2.add(producer);
25214
25135
  const local = [
25215
25136
  import_node_path45.default.posix.join(import_node_path45.default.posix.dirname(file), include2),
25216
25137
  `${includes}${include2}`,
@@ -29729,8 +29650,10 @@ function isIosAppTarget(ref, options = {}) {
29729
29650
  },
29730
29651
  options
29731
29652
  );
29653
+ const platforms2 = settingList(get("SUPPORTED_PLATFORMS"));
29654
+ if (platforms2.length > 0) return platforms2.some(isIosPlatform);
29732
29655
  const sdk = get("SDKROOT");
29733
- return sdk === "auto" ? settingList(get("SUPPORTED_PLATFORMS")).some(isIosPlatform) : sdk === "" || isIosPlatform(sdk);
29656
+ return sdk === "" || isIosPlatform(sdk);
29734
29657
  }
29735
29658
  function isIosPlatform(name3) {
29736
29659
  return name3.startsWith("iphoneos") || name3.startsWith("iphonesimulator");
@@ -32275,7 +32198,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
32275
32198
  return hash.digest("hex");
32276
32199
  }
32277
32200
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
32278
- var STANDIN_SOURCE_DIGEST = true ? "8357df1eb62bbe4eb3a2bc4588867a6b75d1052c41e274e31fec2fde3700676e" : standinSourceDigest();
32201
+ var STANDIN_SOURCE_DIGEST = true ? "8bf9878abc11473e9367806d1a6ac0089e4451eefdc2a1e5830542f3e83e80cf" : standinSourceDigest();
32279
32202
 
32280
32203
  // src/expoSwiftContract.ts
32281
32204
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -32546,7 +32469,7 @@ async function packageTreeDigest(root) {
32546
32469
  // src/expo-native-prebuilt.ts
32547
32470
  var EXPO_NATIVE_ENTRY_NAME = "ios";
32548
32471
  function expoNativeCompilerDigestValue() {
32549
- return true ? "71d42de432341241c4ed964764fe540e192d2c68c59ab6123dd11f47da4fb36e" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
32472
+ return true ? "b94cda9bfcf7bc33627ad755dd1d150970b3a3ad790430aa313cfc6d23d36831" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
32550
32473
  }
32551
32474
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
32552
32475
  function readSources(value) {
@@ -33496,6 +33419,7 @@ function resolveSwiftPackages(options) {
33496
33419
  dir: target.dir,
33497
33420
  files: files2,
33498
33421
  exclude: target.exclude,
33422
+ ...target.sources ? { sources: target.sources } : {},
33499
33423
  packageDir: pkg.manifest.dir,
33500
33424
  remote: pkg.remote,
33501
33425
  iosDeployment: pkg.manifest.iosDeployment,
@@ -38525,7 +38449,7 @@ var import_node_fs74 = __toESM(require("node:fs"), 1);
38525
38449
  var import_node_module7 = require("node:module");
38526
38450
  var import_node_path71 = __toESM(require("node:path"), 1);
38527
38451
  var import_node_util13 = require("node:util");
38528
- var recipe = true ? "ad88035f7f9d4bac52054fb8da3c9cce8606e49c7522c8c0556f8dc3cb900ebd" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
38452
+ var recipe = true ? "3fd6f321c9bd4f9cede042a7cee967febbe9f87df3e90e8e2937322e8ee19455" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
38529
38453
  function reactNativeCoreFloor(reactNativeRoot) {
38530
38454
  const helpers = import_node_fs74.default.readFileSync(
38531
38455
  import_node_path71.default.join(reactNativeRoot, "scripts/cocoapods/helpers.rb"),
@@ -41565,9 +41489,13 @@ async function buildXcodeLayout(root) {
41565
41489
  upcomingFeatures: target.packageUpcomingFeatures.filter(
41566
41490
  (feature) => feature.configuration === null || feature.configuration === packageConfiguration
41567
41491
  ).map((feature) => feature.name),
41568
- swiftFlags: target.packageSwiftFlags.filter(
41569
- (setting) => setting.configuration === null || setting.configuration === packageConfiguration
41570
- ).flatMap((setting) => setting.flags),
41492
+ // the flat build gives every module one package; swiftpm names each
41493
+ // module for its own package, which `@retroactive` and `package` read
41494
+ swiftFlags: ["-package-name", swiftPackageIdentity(target.packageDir)].concat(
41495
+ target.packageSwiftFlags.filter(
41496
+ (setting) => setting.configuration === null || setting.configuration === packageConfiguration
41497
+ ).flatMap((setting) => setting.flags)
41498
+ ),
41571
41499
  linkedLibraries: target.packageLibraries.filter(
41572
41500
  (library) => library.configuration === null || library.configuration === packageConfiguration
41573
41501
  ).map((library) => library.name),
@@ -41925,7 +41853,7 @@ function xcodeManifest(layout2) {
41925
41853
  `let package = Package(name: "app", ${layout2.app.iosDeploymentTarget ? `platforms: [.iOS(${JSON.stringify(layout2.app.iosDeploymentTarget)})], ` : ""}dependencies: [${[...nativePaths].map(([name3, directory]) => `.package(name: ${JSON.stringify(name3)}, path: ${JSON.stringify(directory)})`).join(", ")}], targets: [`,
41926
41854
  ` .executableTarget(name: "${layout2.app.moduleName}", dependencies: [${[...appProducts, ...layout2.targets.map((target) => JSON.stringify(target.name)), ...sdkProducts].join(", ")}], path: "${XCODE_APP_DIR}", ${appSettings}),`,
41927
41855
  ...layout2.targets.map(
41928
- (target) => target.systemLibrary ? ` .systemLibrary(name: "${target.name}", path: "${target.path}"),` : ` .target(name: "${target.name}", ${target.dependencies === void 0 ? "" : `dependencies: [${dependencies(target)}], `}path: "${target.path}", ${target.exclude.length > 0 ? `exclude: ${JSON.stringify(target.exclude)}, ` : ""}${target.resources ? "resources: [], " : ""}${target.publicHeadersPath === void 0 ? "" : `publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)}, `}${clangSettings(target)}${swiftManifestSettings(target)}${libraries(target)}),`
41856
+ (target) => target.systemLibrary ? ` .systemLibrary(name: "${target.name}", path: "${target.path}"),` : ` .target(name: "${target.name}", ${target.dependencies === void 0 ? "" : `dependencies: [${dependencies(target)}], `}path: "${target.path}", ${target.exclude.length > 0 ? `exclude: ${JSON.stringify(target.exclude)}, ` : ""}${target.sources === void 0 ? "" : `sources: ${JSON.stringify(target.sources)}, `}${target.resources ? "resources: [], " : ""}${target.publicHeadersPath === void 0 ? "" : `publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)}, `}${clangSettings(target)}${swiftManifestSettings(target)}${libraries(target)}),`
41929
41857
  ),
41930
41858
  "])",
41931
41859
  ""
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2189 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2189 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2189 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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;