peachsim 0.1.1811 → 0.1.1812

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/cloud-client.ts +53 -23
  2. package/cli/commands/control.ts +9 -0
  3. package/cli/commands/platform.ts +11 -18
  4. package/dist-lib/agent-daemon-client.cjs +1 -1
  5. package/dist-lib/agent-events.cjs +1 -1
  6. package/dist-lib/attached-projects.cjs +1 -1
  7. package/dist-lib/auth/shared-session.cjs +1 -1
  8. package/dist-lib/backend-origin.cjs +1 -1
  9. package/dist-lib/beta.cjs +1 -1
  10. package/dist-lib/beta.mjs +1 -1
  11. package/dist-lib/bridge-constants.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.mjs +1 -1
  14. package/dist-lib/bridge-contract.cjs +1 -1
  15. package/dist-lib/bridge-contract.mjs +1 -1
  16. package/dist-lib/bundle-channel.cjs +447 -371
  17. package/dist-lib/capture-contract.cjs +1 -1
  18. package/dist-lib/capture-contract.mjs +1 -1
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +1 -1
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +1 -1
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +1 -1
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/config.mjs +1 -1
  27. package/dist-lib/detox/index.cjs +1 -1
  28. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  29. package/dist-lib/expo-swift-bundle.cjs +122 -46
  30. package/dist-lib/expo-swift-metadata.cjs +1 -1
  31. package/dist-lib/expo-swift-metadata.mjs +1 -1
  32. package/dist-lib/home-paths.cjs +1 -1
  33. package/dist-lib/host/bridge-host.cjs +438 -362
  34. package/dist-lib/host/fetch-proxy-handler.cjs +1 -2
  35. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  36. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  37. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  38. package/dist-lib/host/websocket-proxy.cjs +1 -1
  39. package/dist-lib/index.cjs +35 -12
  40. package/dist-lib/jump-to-source-babel.cjs +1 -1
  41. package/dist-lib/jump-to-source-native.cjs +1 -1
  42. package/dist-lib/kotlin-host.cjs +1 -1
  43. package/dist-lib/menu.cjs +1 -1
  44. package/dist-lib/menu.mjs +1 -1
  45. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  46. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  47. package/dist-lib/metro-production-bundle.cjs +1 -1
  48. package/dist-lib/metro-production-bundle.mjs +1 -1
  49. package/dist-lib/metro.cjs +35 -12
  50. package/dist-lib/native-app-identity-project.cjs +35 -11
  51. package/dist-lib/native-app-identity-project.mjs +35 -11
  52. package/dist-lib/native-app-identity.cjs +1 -1
  53. package/dist-lib/native-app-identity.mjs +1 -1
  54. package/dist-lib/native-firebase-metadata.cjs +1 -1
  55. package/dist-lib/native-firebase-metadata.mjs +1 -1
  56. package/dist-lib/pdfium-raster.cjs +1 -1
  57. package/dist-lib/pdfium-raster.mjs +1 -1
  58. package/dist-lib/plist.cjs +1 -1
  59. package/dist-lib/plist.mjs +1 -1
  60. package/dist-lib/profiles.cjs +1 -1
  61. package/dist-lib/public-brand.cjs +1 -1
  62. package/dist-lib/public-origins-lib-esm.json +24 -24
  63. package/dist-lib/public-origins-lib.json +53 -53
  64. package/dist-lib/react-native-host-modules.cjs +1 -1
  65. package/dist-lib/react-native-host-modules.mjs +1 -1
  66. package/dist-lib/reap-browser.cjs +1 -1
  67. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  68. package/dist-lib/sdk.cjs +1 -1
  69. package/dist-lib/sdk.mjs +1 -1
  70. package/dist-lib/skills.cjs +492 -389
  71. package/dist-lib/swift-compile.cjs +46 -11
  72. package/dist-lib/swift-compile.mjs +46 -11
  73. package/dist-lib/swift-package.cjs +12 -4
  74. package/dist-lib/swift-package.mjs +9 -3
  75. package/dist-lib/swift-submit.cjs +1 -1
  76. package/dist-lib/swift-submit.mjs +1 -1
  77. package/dist-lib/swift-toolchain.cjs +18 -1
  78. package/dist-lib/swift.cjs +1 -1
  79. package/dist-lib/vite-swift.cjs +75 -30
  80. package/dist-lib/vite.cjs +1 -2
  81. package/dist-lib/worklet-executable.cjs +1 -1
  82. package/dist-lib/worklet-executable.mjs +1 -1
  83. package/package.json +1 -1
  84. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h +1 -1
  85. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h +12 -50
  86. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewControllerLayoutEnvironment.h +2 -8
  87. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +62 -0
  88. package/sdk/ios/usr/include/module.modulemap +8 -3
  89. package/src/expo-native-workspace.ts +56 -27
  90. package/src/nitro-adapter.lock.json +265 -265
  91. package/src/nitro-superset.lock.json +14 -14
  92. package/src/nitroContract.ts +1 -0
  93. package/src/swift-compile.ts +20 -6
  94. package/src/swift-distribution.lock.json +9 -9
  95. package/src/swift-link-roots.ts +13 -2
  96. package/src/swift-objc-compile.ts +12 -0
  97. package/src/swift-objc-standin.ts +5 -2
  98. package/src/swift-package.ts +21 -1
  99. package/src/swift-toolchain.ts +17 -0
  100. package/src/turbo-bundle.ts +3 -4
  101. package/src/turbo-runtime.lock.json +20 -20
  102. package/src/xcode-project.ts +29 -12
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (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": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "5bdd15dce967553923b0437502e56f70165424d2f22cdde0e2d7aacd618e27cc", "swift-package.ts": "2194c5ae36b78b186968ea96076c3ef30d4d04774df0d7c11cd30decf7f07c15", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "06aa435a4d7a23d6c3316f9e8553da5fe7af976c0d52b90113fcff1dcc08e666", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "19a9b7d8cf3cf4f702fb169baf6f56875b07969dc4073b316f8250280497da59", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "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": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "5bdd15dce967553923b0437502e56f70165424d2f22cdde0e2d7aacd618e27cc", "swift-package.ts": "80932fd45cd31e57871475180148f79f273719ac94d94deabce16dc138fdf387", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "ca9c37935257702de6c0377eaf2ddae141f2ef647326e8039ff8e7a0475ef2a0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "76e78ea9974671ff3b7e7a5d65e508306d8eadeb6b6bf859bd2ccc03f4ef6e72", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
43
43
  }
44
44
  });
45
45
 
@@ -4492,6 +4492,23 @@ var compilerArchives = {
4492
4492
  }
4493
4493
  }
4494
4494
  },
4495
+ "swift-6.4.0-RELEASE-custom-a560ff35bf882b5c": {
4496
+ identity: "a560ff35bf882b5c",
4497
+ hosts: {
4498
+ "darwin-arm64": {
4499
+ checksum: "ec20a41851ac558fe663d78def6b93d0d47c5a0cb69688ee270fd85de637a522",
4500
+ manifest: "253e891527d2213f54eace768b902de89de5e9495a3c5f4018de1985516bd553"
4501
+ },
4502
+ "linux-x64": {
4503
+ checksum: "f0126a2e63d275895036d02d75a901070da0343dbf03bf17342e10cb6f893dee",
4504
+ manifest: "6f951cc4071dd0d6054d85711a7c5fe272273658847831b477a8b24be7254ca0"
4505
+ },
4506
+ "linux-arm64": {
4507
+ checksum: "315fa766559a6e69bfd10dcddf40e04c91155f0db3047d210d74ac87652fb7e6",
4508
+ manifest: "b6f62fca2ec37593e274ee5bac474f21ffc5db14cd82f492ccbc774f8e9b75d8"
4509
+ }
4510
+ }
4511
+ },
4495
4512
  [SWIFT_HOST_COMPILER_RELEASE]: {
4496
4513
  identity: SWIFT_HOST_COMPILER_ID,
4497
4514
  hosts: {
@@ -5342,9 +5359,13 @@ function swiftPackageIdentity(url) {
5342
5359
  const path42 = url.endsWith("/") ? url.slice(0, -1) : url;
5343
5360
  return (path42.split("/").pop() ?? path42).replace(/\.git$/, "").toLowerCase();
5344
5361
  }
5362
+ var fmtConstantInterpreterFlags = (flags) => flags.some((flag) => flag.includes("/fmt/")) ? ["-fexperimental-new-constant-interpreter"] : [];
5363
+ var withoutGlogModuleMap = (flags) => flags.filter(
5364
+ (flag) => !(flag.startsWith("-fmodule-map-file=") && flag.endsWith("/glog.modulemap"))
5365
+ );
5345
5366
  function clangSettingEntries(settings, tool) {
5346
5367
  return (settings ?? []).flatMap(
5347
- (setting) => setting.tool !== tool ? [] : "headerSearchPath" in setting ? [`.headerSearchPath(${JSON.stringify(setting.headerSearchPath)})`] : [`.unsafeFlags(${JSON.stringify(setting.flags)})`]
5368
+ (setting) => setting.tool !== tool ? [] : "headerSearchPath" in setting ? [`.headerSearchPath(${JSON.stringify(setting.headerSearchPath)})`] : [`.unsafeFlags(${JSON.stringify(withoutGlogModuleMap(setting.flags))})`]
5348
5369
  );
5349
5370
  }
5350
5371
  function clangMacroSetting(macro) {
@@ -7331,9 +7352,12 @@ function materializeObjcSdk(cacheDir5) {
7331
7352
  function objcSdkIntakeFlags(headers, toolchainBin, minimum) {
7332
7353
  return [
7333
7354
  ...swiftObjCPlatformFlags(toolchainBin, minimum),
7334
- // AvailabilityInternal.h derives this through __is_target_os(ios), which
7335
- // is false for wasm32.
7355
+ // AvailabilityInternal.h derives these through __is_target_os(ios), which
7356
+ // is false for wasm32. the maximum is the sdk the headers come from, as
7357
+ // xcode defines it, so `#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_26_0`
7358
+ // sources see the members the sdk declares instead of a 17.0 default.
7336
7359
  `-D__IPHONE_OS_VERSION_MIN_REQUIRED=${minimum}`,
7360
+ `-D__IPHONE_OS_VERSION_MAX_ALLOWED=__IPHONE_${NATIVE_GRAPH_SDK_VERSION.replace(".", "_")}`,
7337
7361
  // apple's build setting for a 32-bit target to keep NSInteger and
7338
7362
  // NSUInteger long, the nominal types they have on arm64.
7339
7363
  "-DNS_BUILD_32_LIKE_64=1",
@@ -9193,6 +9217,7 @@ function objcSegmentSizes(bytes) {
9193
9217
  const names = [];
9194
9218
  const sizes = [];
9195
9219
  let hasExportedSymbol = false;
9220
+ let definesCategory = false;
9196
9221
  while (at.offset < bytes.length) {
9197
9222
  const id = bytes[at.offset++];
9198
9223
  const size = leb(bytes, at);
@@ -9232,6 +9257,8 @@ function objcSegmentSizes(bytes) {
9232
9257
  }
9233
9258
  } else if (symKind === 1) {
9234
9259
  const sLen = leb(bytes, at);
9260
+ if (!isUndef && Buffer.from(bytes.subarray(at.offset, at.offset + sLen)).toString().startsWith(".objc_category_"))
9261
+ definesCategory = true;
9235
9262
  at.offset += sLen;
9236
9263
  if (!isUndef) {
9237
9264
  leb(bytes, at);
@@ -9268,6 +9295,7 @@ function objcSegmentSizes(bytes) {
9268
9295
  result.set(name3, (result.get(name3) ?? 0) + (sizes[index] ?? 0));
9269
9296
  });
9270
9297
  result.set("__wasm_exported", hasExportedSymbol ? 1 : 0);
9298
+ result.set("__objc_category", definesCategory ? 1 : 0);
9271
9299
  return result;
9272
9300
  }
9273
9301
  var rootsByDistribution = /* @__PURE__ */ new Map();
@@ -12072,7 +12100,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
12072
12100
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
12073
12101
  var MULTI_MANIFEST_VERSION = 65;
12074
12102
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
12075
- var compilerSourceDigest = true ? "5bed84d1d29562932f8ef8e54d9dae7b5b378ffb937861030ae5b732eda8dafd" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12103
+ var compilerSourceDigest = true ? "c1407efb75c18328e37b50abfe396dce388c41563443b4c3a1485a800114a92c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12076
12104
  function swiftArtifactHash(input, release, moduleRoot) {
12077
12105
  const hash = (0, import_node_crypto8.createHash)("sha256");
12078
12106
  hash.update(`swift-compile
@@ -12157,6 +12185,13 @@ ${target}
12157
12185
  }
12158
12186
  return hash.digest("hex");
12159
12187
  }
12188
+ var nativeCxxCompilerFlags = ["-fno-cxx-modules"];
12189
+ var cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
12190
+ var cxxFlagArray = (flags) => JSON.stringify([
12191
+ ...nativeCxxCompilerFlags,
12192
+ ...fmtConstantInterpreterFlags(flags),
12193
+ ...withoutGlogModuleMap(flags)
12194
+ ]);
12160
12195
  function swiftCrossImportFlags(moduleRoot, distribution) {
12161
12196
  const overlayRoot = import_node_path19.default.join(
12162
12197
  moduleRoot,
@@ -12389,13 +12424,13 @@ function emitSwiftPackageManifest(args) {
12389
12424
  (source) => /\.(?:cc|cpp|cxx|mm)$/.test(source)
12390
12425
  );
12391
12426
  const nativeSettings = native?.clang ? [
12392
- `cSettings: [${cDefines} .unsafeFlags(${flagArray(JSON.stringify([...nativeFlags, ...native.clang.flags]))})]`,
12427
+ `cSettings: [${cDefines} .unsafeFlags(${flagArray(cFlagArray([...nativeFlags, ...native.clang.flags]))})]`,
12393
12428
  ...nativeCxx ? [
12394
- `cxxSettings: [${cxxDefines} .unsafeFlags(${flagArray(JSON.stringify(["-fno-cxx-modules", ...cxxFlagsFor(nativeFlags), ...native.clang.cxxFlags]))})]`
12429
+ `cxxSettings: [${cxxDefines} .unsafeFlags(${flagArray(cxxFlagArray([...cxxFlagsFor(nativeFlags), ...native.clang.cxxFlags]))})]`
12395
12430
  ] : []
12396
12431
  ].join(", ") : [
12397
- `cSettings: [${cDefines}${declaredClangSettings(target, "c")} .unsafeFlags(${flagArray(JSON.stringify([...nativeFlags, ...native?.flags ?? []]))})]`,
12398
- `cxxSettings: [${cxxDefines}${declaredClangSettings(target, "cxx")} .unsafeFlags(${flagArray(JSON.stringify(["-fno-cxx-modules", ...cxxFlagsFor(nativeFlags), ...native?.cxxFlags ?? []]))})]`
12432
+ `cSettings: [${cDefines}${declaredClangSettings(target, "c")} .unsafeFlags(${flagArray(cFlagArray([...nativeFlags, ...native?.flags ?? []]))})]`,
12433
+ `cxxSettings: [${cxxDefines}${declaredClangSettings(target, "cxx")} .unsafeFlags(${flagArray(cxxFlagArray([...cxxFlagsFor(nativeFlags), ...native?.cxxFlags ?? []]))})]`
12399
12434
  ].join(", ");
12400
12435
  const exclusions = native?.clang ? [] : [
12401
12436
  ...native ? native.exclude ?? native.lateSources : [],
@@ -12464,9 +12499,9 @@ function emitSwiftPackageManifest(args) {
12464
12499
  ` path: ${JSON.stringify(group.path)},`,
12465
12500
  ` sources: ${JSON.stringify(group.sources)},`,
12466
12501
  ' publicHeadersPath: "include",',
12467
- ` cSettings: [${macroSettings(owner?.cDefines)}${declaredClangSettings(owner, "c")} .unsafeFlags(${flagArray(JSON.stringify([...nativeFlags, "-I", native.includeDirectory, "-I", args.headerDirectory, ...group.flags]))})],`,
12502
+ ` cSettings: [${macroSettings(owner?.cDefines)}${declaredClangSettings(owner, "c")} .unsafeFlags(${flagArray(cFlagArray([...nativeFlags, "-I", native.includeDirectory, ...args.headerDirectory ? ["-I", args.headerDirectory] : [], ...group.flags]))})],`,
12468
12503
  ...group.sources.some((source) => /\.(?:cc|cpp|cxx|mm)$/.test(source)) ? [
12469
- ` cxxSettings: [${macroSettings(owner?.cxxDefines)}${declaredClangSettings(owner, "cxx")} .unsafeFlags(${flagArray(JSON.stringify(["-fno-cxx-modules", ...cxxFlagsFor(nativeFlags), ...group.cxxFlags]))})]),`
12504
+ ` cxxSettings: [${macroSettings(owner?.cxxDefines)}${declaredClangSettings(owner, "cxx")} .unsafeFlags(${flagArray(cxxFlagArray([...cxxFlagsFor(nativeFlags), ...group.cxxFlags]))})]),`
12470
12505
  ] : [" ),"]
12471
12506
  ]) : [];
12472
12507
  }),
@@ -20702,12 +20737,12 @@ async function ensureLinuxBrowserLibraries(executablePath, browser) {
20702
20737
 
20703
20738
  // src/swift-distribution.lock.json
20704
20739
  var swift_distribution_lock_default = {
20705
- id: "02d639ad58915e23",
20706
- release: "swift-6.4.0-RELEASE-custom-f6868fa6054e83d6",
20740
+ id: "af69e0877dcfc948",
20741
+ release: "swift-6.4.0-RELEASE-custom-a560ff35bf882b5c",
20707
20742
  wasmSdkId: "swift-6.4.0-RELEASE_wasm-peach-5d385b68",
20708
20743
  wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.4.0-RELEASE_wasm-peach-5d385b68.artifactbundle.tar.gz",
20709
20744
  wasmSdkChecksum: "d91882af99821a296c3db4459896b46ceaef37e9a30caad14e5f24cf6b964ae9",
20710
- source: "f02ffbc1528ffd01668f4070775e17be3276bf8f",
20745
+ source: "85e7a5155755f4400d2bd7010abdd09f62dd6f34",
20711
20746
  targets: [
20712
20747
  "ImagePlayground",
20713
20748
  "QuickLookThumbnailing",
@@ -20933,16 +20968,16 @@ var swift_distribution_lock_default = {
20933
20968
  },
20934
20969
  hosts: {
20935
20970
  "darwin-arm64": {
20936
- sha256: "ebc19bfd827f24646f407e3f03229bb6abf4b25196630b08ecd47aa0e93124ce",
20937
- size: 99046695
20971
+ sha256: "dd96208b7ea40e1d8e93d61a716e30191a5e57800074e65837222c042617b96e",
20972
+ size: 99097618
20938
20973
  },
20939
20974
  "linux-x64": {
20940
- sha256: "3dfec8229ec882e90ff60b8ef3db267f2f405bb1bf36c1a7e61a3b0f09e02f67",
20941
- size: 101763946
20975
+ sha256: "bd0ef2a7d0fab414a415a9c2619c0c8c890b792856b1cbdb158a6f74b8d75502",
20976
+ size: 101817050
20942
20977
  },
20943
20978
  "linux-arm64": {
20944
- sha256: "4a272ebeed698230c8ade27e5f8e30282f1ff58c37eaaf08f9ed8bc82185c449",
20945
- size: 101257308
20979
+ sha256: "37006a7363e6af15a31c65afaa3d6e0480bdd59c5d835f923e44e69dcae81e53",
20980
+ size: 101308927
20946
20981
  }
20947
20982
  }
20948
20983
  };
@@ -22272,10 +22307,12 @@ function defaultConfiguration(project) {
22272
22307
  function targetSettings(ref, configuration, builtins, options = {}, overrides = {}) {
22273
22308
  const { project, target } = ref;
22274
22309
  const xcconfigs = [];
22275
- const level = (listId) => {
22310
+ const selected = (listId) => {
22276
22311
  const configList = project.object(listId);
22277
22312
  const configs2 = list(configList?.buildConfigurations).map(project.object);
22278
- const config = configs2.find((entry) => entry?.name === configuration) ?? configs2.find((entry) => entry?.name === str(configList?.defaultConfigurationName));
22313
+ return configs2.find((entry) => entry?.name === configuration) ?? configs2.find((entry) => entry?.name === str(configList?.defaultConfigurationName));
22314
+ };
22315
+ const level = (config) => {
22279
22316
  if (!config) return [];
22280
22317
  const name3 = str(config.name) ?? configuration;
22281
22318
  const base = str(config.baseConfigurationReference);
@@ -22303,10 +22340,11 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
22303
22340
  )
22304
22341
  ];
22305
22342
  };
22343
+ const targetConfig = selected(str(target.buildConfigurationList));
22306
22344
  const levels = [
22307
- { ...builtins, CONFIGURATION: configuration },
22308
- ...level(str(project.project.buildConfigurationList)),
22309
- ...level(str(target.buildConfigurationList)),
22345
+ { ...builtins, CONFIGURATION: str(targetConfig?.name) ?? configuration },
22346
+ ...level(selected(str(project.project.buildConfigurationList))),
22347
+ ...level(targetConfig),
22310
22348
  overrides
22311
22349
  ];
22312
22350
  const resolving = /* @__PURE__ */ new Set();
@@ -22867,7 +22905,11 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
22867
22905
  );
22868
22906
  }
22869
22907
  const app = named[0];
22870
- const configuration = configurationName ?? defaultConfiguration(app.project);
22908
+ const appConfigs = app.project.object(str(app.target.buildConfigurationList));
22909
+ const appConfigNames = list(appConfigs?.buildConfigurations).flatMap(
22910
+ (id) => str(app.project.object(id)?.name) ?? []
22911
+ );
22912
+ const configuration = configurationName === void 0 ? defaultConfiguration(app.project) : appConfigNames.includes(configurationName) ? configurationName : str(appConfigs?.defaultConfigurationName) ?? configurationName;
22871
22913
  const byProduct = /* @__PURE__ */ new Map();
22872
22914
  for (const ref of allTargets) {
22873
22915
  const product = ref.project.object(str(ref.target.productReference));
@@ -23010,7 +23052,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
23010
23052
  };
23011
23053
  const xcconfigs = /* @__PURE__ */ new Set();
23012
23054
  const buildDir = (project) => import_node_path30.default.join(project.projectDir, ".build/peach-xcode/Build");
23013
- const podsBuild = {
23055
+ const workspaceBuild = {
23014
23056
  SYMROOT: import_node_path30.default.join(buildDir(app.project), "Products"),
23015
23057
  OBJROOT: import_node_path30.default.join(buildDir(app.project), "Intermediates.noindex")
23016
23058
  };
@@ -23065,7 +23107,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
23065
23107
  DEVELOPMENT_LANGUAGE: str(ref.project.project.developmentRegion) ?? "en"
23066
23108
  },
23067
23109
  options,
23068
- isPodsProject(ref.project.xcodeproj) ? podsBuild : {}
23110
+ workspaceBuild
23069
23111
  );
23070
23112
  for (const file of read) xcconfigs.add(file);
23071
23113
  const swiftVersion = Number.parseFloat(settings2("SWIFT_VERSION") || "5");
@@ -24681,7 +24723,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
24681
24723
  }
24682
24724
  return hash.digest("hex");
24683
24725
  }
24684
- var STANDIN_SOURCE_DIGEST = true ? "63d927991fc89a5f37015d5a386cf5425237e6a439fcde13dbf4863e11d567e1" : standinSourceDigest();
24726
+ var STANDIN_SOURCE_DIGEST = true ? "2c2a910236bf90e3914c1e97b4cd0a8147ec8a27ab2483f1918095661ebcd85a" : standinSourceDigest();
24685
24727
 
24686
24728
  // src/swift-standins.ts
24687
24729
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -27962,6 +28004,7 @@ function prepareXcodeSwiftProducts(app, binaries, moduleRoot) {
27962
28004
  const sdk = swiftSdkPaths(moduleRoot, toolchain.toolchainBin);
27963
28005
  const frontend = import_node_path40.default.join(toolchain.toolchainBin, "swift-frontend");
27964
28006
  const supplied = new Set(swiftPeachModules(moduleRoot));
28007
+ const implicitImports = swiftDistributionAt(moduleRoot) ? FOUNDATION_IMPLICIT_MODULES.flatMap((module2) => ["-import-module", module2]) : [];
27965
28008
  const modules = import_node_path40.default.join(moduleRoot, "modules");
27966
28009
  const {
27967
28010
  sources,
@@ -28204,6 +28247,7 @@ function prepareXcodeSwiftProducts(app, binaries, moduleRoot) {
28204
28247
  ...target.swift.includePaths.flatMap((file) => ["-I", remap(file)]),
28205
28248
  ...clangFlags.flatMap((flag) => ["-Xcc", flag]),
28206
28249
  ...target.defines.flatMap((flag) => ["-D", flag]),
28250
+ ...implicitImports,
28207
28251
  ...target.mainActorIsolation ? ["-default-isolation", "MainActor"] : [],
28208
28252
  ...target.swift.cxxInterop ? ["-cxx-interoperability-mode=default"] : [],
28209
28253
  ...swiftFlags,
@@ -28565,6 +28609,7 @@ async function prepareXcodeObjCImplementations(app, binaries, moduleRoot) {
28565
28609
  ...objc ? [...swiftObjCRuntimeFlags, "-fobjc-exceptions"] : [],
28566
28610
  ...objcSdkIntakeFlags(headers, toolchain.toolchainBin, minimum),
28567
28611
  ...headerSearch.flags[index],
28612
+ ...cxx ? fmtConstantInterpreterFlags([...flags, ...headerSearch.flags[index]]) : [],
28568
28613
  ...target.includes.flatMap((include) => ["-I", staged(include)]),
28569
28614
  ...target.frameworks.flatMap((framework) => ["-F", staged(framework)]),
28570
28615
  ...moduleMaps[index],
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (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;
@@ -1025,7 +1025,6 @@ var LAZY_STUB_PATTERNS = [
1025
1025
  "react-native-app-clip",
1026
1026
  "react-native-avoid-softinput",
1027
1027
  "react-native-azure-auth",
1028
- "react-native-background-actions",
1029
1028
  "react-native-bare-kit",
1030
1029
  "react-native-bluetooth-classic",
1031
1030
  "react-native-bluetooth-state-manager",
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (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.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.1811",
3
+ "version": "0.1.1812",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -20,7 +20,7 @@ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
20
20
  @class UIImageView, UIImage;
21
21
 
22
22
  UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
23
- @interface UISlider : UIControl <NSCoding>
23
+ PEACH_SWIFT_CLASS(UIKitCore) @interface UISlider : UIControl <NSCoding>
24
24
 
25
25
  @property(nonatomic) float value; // default 0.0. this value will be pinned to min/max
26
26
  @property(nonatomic) float minimumValue; // default 0.0. the current value may change if outside new min value
@@ -6,6 +6,7 @@
6
6
  // Copyright (c) 2009-2018 Apple Inc. All rights reserved.
7
7
  //
8
8
 
9
+ #import <UIKitTypes/UIKitTypes.h>
9
10
  #import <UIKit/UIViewController.h>
10
11
  #import <UIKit/UIKitDefines.h>
11
12
 
@@ -13,63 +14,24 @@ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13
14
 
14
15
  @protocol UISplitViewControllerDelegate;
15
16
 
16
- typedef NS_ENUM(NSInteger, UISplitViewControllerDisplayMode) {
17
- UISplitViewControllerDisplayModeAutomatic,
18
- UISplitViewControllerDisplayModeSecondaryOnly,
19
- UISplitViewControllerDisplayModeOneBesideSecondary, // Two tiled columns. Leading will be UISplitViewControllerColumnSupplementary for UISplitViewControllerStyleTripleColumn, Primary otherwise
20
- UISplitViewControllerDisplayModeOneOverSecondary API_UNAVAILABLE(visionos), // Supplementary column overlaid on Secondary column for UISplitViewControllerStyleTripleColumn, Primary overlaid otherwise
21
-
22
- // For triple-column style only. Three different ways to lay out primary, supplementary, and secondary columns with the secondary more or less visible, and an additional layout that hides the secondary.
23
- UISplitViewControllerDisplayModeTwoBesideSecondary API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos), // All three columns fully displayed side-by-side and interactive
24
- UISplitViewControllerDisplayModeTwoOverSecondary API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(visionos, watchos), // primary and supplementary columns side-by-side in overlay on top of partially visible detail column (detail column has dimming view). For widths too narrow to see much of the detail when the primary and supplementary columns are tiled.
25
- UISplitViewControllerDisplayModeTwoDisplaceSecondary API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(visionos, watchos), // primary, supplementary and detail columns side-by-side, but the dimmed, noninteractive detail has been displaced toward and cropped on the trailing edge. For wider widths than in TwoOverSecondary but still too narrow for TwoBesideSecondary
26
-
27
- UISplitViewControllerDisplayModePrimaryHidden API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeSecondaryOnly", ios(8.0, 14.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeSecondaryOnly,
28
- UISplitViewControllerDisplayModeAllVisible API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeOneBesideSecondary", ios(8.0, 14.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeOneBesideSecondary,
29
- UISplitViewControllerDisplayModePrimaryOverlay API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeOneOverSecondary", ios(8.0, 14.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeOneOverSecondary,
30
- } API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
31
-
32
- typedef NS_ENUM(NSInteger, UISplitViewControllerPrimaryEdge) {
33
- UISplitViewControllerPrimaryEdgeLeading,
34
- UISplitViewControllerPrimaryEdgeTrailing,
35
- } API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
36
-
37
- typedef NS_ENUM(NSInteger, UISplitViewControllerBackgroundStyle) {
38
- UISplitViewControllerBackgroundStyleNone,
39
- UISplitViewControllerBackgroundStyleSidebar,
40
- } API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
41
-
42
- typedef NS_ENUM(NSInteger, UISplitViewControllerStyle) {
43
- UISplitViewControllerStyleUnspecified API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerStyleDoubleColumn", visionos(1.0, 1.0)),
44
- UISplitViewControllerStyleDoubleColumn,
45
- UISplitViewControllerStyleTripleColumn,
46
- } API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
47
-
48
- typedef NS_ENUM(NSInteger, UISplitViewControllerColumn) {
49
- UISplitViewControllerColumnPrimary,
50
- UISplitViewControllerColumnSupplementary, // Valid for UISplitViewControllerStyleTripleColumn only
51
- UISplitViewControllerColumnSecondary,
52
- UISplitViewControllerColumnCompact, // If a vc is set for this column, it will be used when the UISVC is collapsed, instead of stacking the vc’s for the Primary, Supplementary, and Secondary columns
53
- UISplitViewControllerColumnInspector API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(tvos, visionos, watchos),
54
- } API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
55
26
 
56
27
  // Allowed displayModes depend on the splitBehavior
57
28
  // Tile behavior allows SecondaryOnly, OneBesideSecondary, and TwoBesideSecondary display modes
58
29
  // Overlay behavior allows SecondaryOnly, OneOverSecondary, and TwoOverSecondary display modes
59
30
  // Displace behavior allows SecondaryOnly, OneBesideSecondary, and TwoDisplaceSecondary display modes
60
- typedef NS_ENUM(NSInteger, UISplitViewControllerSplitBehavior) {
61
- UISplitViewControllerSplitBehaviorAutomatic,
62
- UISplitViewControllerSplitBehaviorTile,
63
- UISplitViewControllerSplitBehaviorOverlay API_UNAVAILABLE(visionos),
64
- UISplitViewControllerSplitBehaviorDisplace API_UNAVAILABLE(visionos),
65
- } API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
31
+
66
32
 
67
33
  // Control the displayModeButtonItem visibility for column-style UISplitViewController
68
- typedef NS_ENUM(NSInteger, UISplitViewControllerDisplayModeButtonVisibility) {
69
- UISplitViewControllerDisplayModeButtonVisibilityAutomatic,
70
- UISplitViewControllerDisplayModeButtonVisibilityNever,
71
- UISplitViewControllerDisplayModeButtonVisibilityAlways
72
- } API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(watchos);
34
+
73
35
 
74
36
  // This constant can be used with any sizing-related `UISplitViewController` properties to get the default system behavior.
75
37
  UIKIT_EXTERN CGFloat const UISplitViewControllerAutomaticDimension API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
@@ -6,18 +6,12 @@
6
6
  // Copyright © 2025 Apple Inc. All rights reserved.
7
7
  //
8
8
 
9
+ #import <UIKitTypes/UIKitTypes.h>
9
10
  #import <UIKit/UITrait.h>
10
11
 
11
12
  NS_HEADER_AUDIT_BEGIN(nullability, sendability)
12
13
 
13
- typedef NS_ENUM(NSInteger, UISplitViewControllerLayoutEnvironment) {
14
- /// There is no containing split view controller.
15
- UISplitViewControllerLayoutEnvironmentNone,
16
- /// Contained within an expanded split view controller.
17
- UISplitViewControllerLayoutEnvironmentExpanded,
18
- /// Contained within a collapsed split view controller.
19
- UISplitViewControllerLayoutEnvironmentCollapsed
20
- } API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NAME(UISplitViewController.LayoutEnvironment);
14
+
21
15
 
22
16
  /// A trait that specifies whether an ancestor split view controller, if any, is expanded or collapsed.
23
17
  UIKIT_EXTERN API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos) NS_REFINED_FOR_SWIFT
@@ -2207,3 +2207,65 @@ typedef NS_ENUM(NSInteger, UIViewContentMode) {
2207
2207
  UIViewContentModeBottomLeft,
2208
2208
  UIViewContentModeBottomRight,
2209
2209
  } API_UNAVAILABLE(watchos);
2210
+
2211
+ typedef NS_ENUM(NSInteger, UISplitViewControllerDisplayMode) {
2212
+ UISplitViewControllerDisplayModeAutomatic,
2213
+ UISplitViewControllerDisplayModeSecondaryOnly,
2214
+ UISplitViewControllerDisplayModeOneBesideSecondary, // Two tiled columns. Leading will be UISplitViewControllerColumnSupplementary for UISplitViewControllerStyleTripleColumn, Primary otherwise
2215
+ UISplitViewControllerDisplayModeOneOverSecondary API_UNAVAILABLE(visionos), // Supplementary column overlaid on Secondary column for UISplitViewControllerStyleTripleColumn, Primary overlaid otherwise
2216
+
2217
+ // For triple-column style only. Three different ways to lay out primary, supplementary, and secondary columns with the secondary more or less visible, and an additional layout that hides the secondary.
2218
+ UISplitViewControllerDisplayModeTwoBesideSecondary API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos), // All three columns fully displayed side-by-side and interactive
2219
+ UISplitViewControllerDisplayModeTwoOverSecondary API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(visionos, watchos), // primary and supplementary columns side-by-side in overlay on top of partially visible detail column (detail column has dimming view). For widths too narrow to see much of the detail when the primary and supplementary columns are tiled.
2220
+ UISplitViewControllerDisplayModeTwoDisplaceSecondary API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(visionos, watchos), // primary, supplementary and detail columns side-by-side, but the dimmed, noninteractive detail has been displaced toward and cropped on the trailing edge. For wider widths than in TwoOverSecondary but still too narrow for TwoBesideSecondary
2221
+
2222
+ UISplitViewControllerDisplayModePrimaryHidden API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeSecondaryOnly", ios(8.0, 14.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeSecondaryOnly,
2223
+ UISplitViewControllerDisplayModeAllVisible API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeOneBesideSecondary", ios(8.0, 14.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeOneBesideSecondary,
2224
+ UISplitViewControllerDisplayModePrimaryOverlay API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerDisplayModeOneOverSecondary", ios(8.0, 14.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos) = UISplitViewControllerDisplayModeOneOverSecondary,
2225
+ } API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
2226
+
2227
+ typedef NS_ENUM(NSInteger, UISplitViewControllerPrimaryEdge) {
2228
+ UISplitViewControllerPrimaryEdgeLeading,
2229
+ UISplitViewControllerPrimaryEdgeTrailing,
2230
+ } API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
2231
+
2232
+ typedef NS_ENUM(NSInteger, UISplitViewControllerBackgroundStyle) {
2233
+ UISplitViewControllerBackgroundStyleNone,
2234
+ UISplitViewControllerBackgroundStyleSidebar,
2235
+ } API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos);
2236
+
2237
+ typedef NS_ENUM(NSInteger, UISplitViewControllerStyle) {
2238
+ UISplitViewControllerStyleUnspecified API_DEPRECATED_WITH_REPLACEMENT("UISplitViewControllerStyleDoubleColumn", visionos(1.0, 1.0)),
2239
+ UISplitViewControllerStyleDoubleColumn,
2240
+ UISplitViewControllerStyleTripleColumn,
2241
+ } API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
2242
+
2243
+ typedef NS_ENUM(NSInteger, UISplitViewControllerColumn) {
2244
+ UISplitViewControllerColumnPrimary,
2245
+ UISplitViewControllerColumnSupplementary, // Valid for UISplitViewControllerStyleTripleColumn only
2246
+ UISplitViewControllerColumnSecondary,
2247
+ UISplitViewControllerColumnCompact, // If a vc is set for this column, it will be used when the UISVC is collapsed, instead of stacking the vc’s for the Primary, Supplementary, and Secondary columns
2248
+ UISplitViewControllerColumnInspector API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(tvos, visionos, watchos),
2249
+ } API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
2250
+
2251
+ typedef NS_ENUM(NSInteger, UISplitViewControllerSplitBehavior) {
2252
+ UISplitViewControllerSplitBehaviorAutomatic,
2253
+ UISplitViewControllerSplitBehaviorTile,
2254
+ UISplitViewControllerSplitBehaviorOverlay API_UNAVAILABLE(visionos),
2255
+ UISplitViewControllerSplitBehaviorDisplace API_UNAVAILABLE(visionos),
2256
+ } API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);
2257
+
2258
+ typedef NS_ENUM(NSInteger, UISplitViewControllerDisplayModeButtonVisibility) {
2259
+ UISplitViewControllerDisplayModeButtonVisibilityAutomatic,
2260
+ UISplitViewControllerDisplayModeButtonVisibilityNever,
2261
+ UISplitViewControllerDisplayModeButtonVisibilityAlways
2262
+ } API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(watchos);
2263
+
2264
+ typedef NS_ENUM(NSInteger, UISplitViewControllerLayoutEnvironment) {
2265
+ /// There is no containing split view controller.
2266
+ UISplitViewControllerLayoutEnvironmentNone,
2267
+ /// Contained within an expanded split view controller.
2268
+ UISplitViewControllerLayoutEnvironmentExpanded,
2269
+ /// Contained within a collapsed split view controller.
2270
+ UISplitViewControllerLayoutEnvironmentCollapsed
2271
+ } API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
@@ -1,8 +1,13 @@
1
1
  module ObjectiveC [system] {
2
- header "objc/NSObject.h"
3
- header "objc/objc-sync.h"
4
- link "objc"
2
+ umbrella "objc"
5
3
  export *
4
+ module * { export * }
5
+
6
+ module NSObject {
7
+ requires objc
8
+ header "objc/NSObject.h"
9
+ export *
10
+ }
6
11
  }
7
12
 
8
13
  extern module os "os.modulemap"