peachsim 0.1.2111 → 0.1.2113

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 (92) 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 +14 -9
  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 +297 -291
  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 +13 -8
  31. package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
  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 +2 -2
  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 +2 -2
  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 +14 -9
  68. package/dist-lib/swift-compile.cjs +2 -2
  69. package/dist-lib/swift-compile.mjs +2 -2
  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 +2 -2
  77. package/dist-lib/vite.cjs +2 -2
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/package.json +1 -1
  81. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h +2 -1
  82. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h +1 -0
  83. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h +2 -44
  84. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h +1 -1
  85. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h +1 -9
  86. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h +2 -2
  87. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h +4 -3
  88. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h +2 -1
  89. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +67 -0
  90. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Modules/module.modulemap +2 -0
  91. package/src/turbo-compile.ts +14 -1
  92. package/src/turbo-source.ts +6 -2
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2111 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2113 | (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;
@@ -17026,7 +17026,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
17026
17026
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
17027
17027
  var MULTI_MANIFEST_VERSION = 68;
17028
17028
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
17029
- var compilerSourceDigest = true ? "2785fbd24d382cf03125cf053e28d3c4016317441246689f1d4b4c15c2a677b0" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17029
+ var compilerSourceDigest = true ? "ea71d48e0e763d5d66f6bcf76f1c0d531770cb823f7918bdbc8a380ff04b0105" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17030
17030
  function swiftArtifactHash(input, release, moduleRoot) {
17031
17031
  const hash = (0, import_node_crypto13.createHash)("sha256");
17032
17032
  hash.update(`swift-compile
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2111 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2113 | (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;
@@ -5403,7 +5403,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
5403
5403
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
5404
5404
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
5405
5405
  ).join("");
5406
- var compilerSourceDigest = true ? "2785fbd24d382cf03125cf053e28d3c4016317441246689f1d4b4c15c2a677b0" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
5406
+ var compilerSourceDigest = true ? "ea71d48e0e763d5d66f6bcf76f1c0d531770cb823f7918bdbc8a380ff04b0105" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
5407
5407
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
5408
5408
  "CFAllocator",
5409
5409
  "CFArray",
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2111 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2113 | (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.2111 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2113 | (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.2111",
3
+ "version": "0.1.2113",
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",
@@ -6,8 +6,9 @@
6
6
  // Copyright © 2018 Apple Inc. All rights reserved.
7
7
  //
8
8
 
9
+ #import <UIKitTypes/UIKitTypes.h>
9
10
  #import <Foundation/Foundation.h>
10
- #import <UIKit/UIView.h>
11
+ #import <UIUtilities/UIDefines.h>
11
12
 
12
13
  NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13
14
 
@@ -6,6 +6,7 @@
6
6
  // Copyright © 2018 Apple Inc. All rights reserved.
7
7
  //
8
8
 
9
+ #import <UIKitTypes/UIKitTypes.h>
9
10
  #import <Foundation/Foundation.h>
10
11
  #import <UIKitGeometry/UIEdgeInsets.h>
11
12
  #import <UIUtilities/UIDefines.h>
@@ -6,59 +6,17 @@
6
6
  // Copyright © 2016-2019 Apple Inc. All rights reserved.
7
7
  //
8
8
 
9
+ #import <UIKitTypes/UIKitTypes.h>
9
10
  #import <UIKit/UIVisualEffect.h>
10
11
  #import <UIKit/UIKitDefines.h>
11
12
 
12
13
  NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13
14
 
14
- typedef NS_ENUM(NSInteger, UIBlurEffectStyle) {
15
- /* Traditional blur styles.
16
- */
17
- UIBlurEffectStyleExtraLight,
18
- UIBlurEffectStyleLight,
19
- UIBlurEffectStyleDark,
20
- UIBlurEffectStyleExtraDark API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios) API_UNAVAILABLE(watchos),
21
15
 
22
- /* Styles which automatically show one of the traditional blur styles,
23
- * depending on the user interface style.
24
- *
25
- * Regular displays either Light or Dark.
26
- */
27
- UIBlurEffectStyleRegular API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos),
28
- /* Prominent displays either ExtraLight, Dark (on iOS), or ExtraDark (on tvOS).
29
- */
30
- UIBlurEffectStyleProminent API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos),
31
-
32
- /*
33
- * Blur styles available in iOS 13.
34
- *
35
- * Styles which automatically adapt to the user interface style:
36
- */
37
- UIBlurEffectStyleSystemUltraThinMaterial API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
38
- UIBlurEffectStyleSystemThinMaterial API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
39
- UIBlurEffectStyleSystemMaterial API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
40
- UIBlurEffectStyleSystemThickMaterial API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
41
- UIBlurEffectStyleSystemChromeMaterial API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
42
-
43
- /* And always-light and always-dark versions:
44
- */
45
- UIBlurEffectStyleSystemUltraThinMaterialLight API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
46
- UIBlurEffectStyleSystemThinMaterialLight API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
47
- UIBlurEffectStyleSystemMaterialLight API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
48
- UIBlurEffectStyleSystemThickMaterialLight API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
49
- UIBlurEffectStyleSystemChromeMaterialLight API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
50
-
51
- UIBlurEffectStyleSystemUltraThinMaterialDark API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
52
- UIBlurEffectStyleSystemThinMaterialDark API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
53
- UIBlurEffectStyleSystemMaterialDark API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
54
- UIBlurEffectStyleSystemThickMaterialDark API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
55
- UIBlurEffectStyleSystemChromeMaterialDark API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos)
56
-
57
- } API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
58
16
 
59
17
  /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60
18
  UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61
- PEACH_SWIFT_CLASS(SwiftUI) @interface UIBlurEffect : UIVisualEffect
19
+ @interface UIBlurEffect ()
62
20
 
63
21
  + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
64
22
 
@@ -24,7 +24,7 @@ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
24
24
 
25
25
 
26
26
  UIKIT_EXTERN API_AVAILABLE(ios(2.0), watchos(2.0)) NS_SWIFT_SENDABLE
27
- PEACH_SWIFT_CLASS(UIKitCore) @interface UIColor : NSObject <NSSecureCoding, NSCopying>
27
+ @interface UIColor ()
28
28
 
29
29
  // Convenience methods for creating colors
30
30
  + (UIColor *)colorWithWhite:(CGFloat)white alpha:(CGFloat)alpha;
@@ -15,15 +15,7 @@ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
15
15
 
16
16
  // available in iPhone 3.0
17
17
 
18
- typedef NS_ENUM(NSInteger, UIUserInterfaceIdiom) {
19
- UIUserInterfaceIdiomUnspecified = -1,
20
- UIUserInterfaceIdiomPhone API_AVAILABLE(ios(3.2)), // iPhone and iPod touch style UI
21
- UIUserInterfaceIdiomPad API_AVAILABLE(ios(3.2)), // iPad style UI
22
- UIUserInterfaceIdiomTV API_AVAILABLE(ios(9.0)), // Apple TV style UI
23
- UIUserInterfaceIdiomCarPlay API_AVAILABLE(ios(9.0)), // CarPlay style UI
24
- UIUserInterfaceIdiomMac API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) = 5, // Optimized for Mac UI
25
- UIUserInterfaceIdiomVision API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos) = 6, // Vision UI
26
- } API_UNAVAILABLE(watchos);
18
+
27
19
 
28
20
 
29
21
 
@@ -14,7 +14,7 @@
14
14
  #endif
15
15
  #import <UIKit/UIKitDefines.h>
16
16
  #import <UIKit/UIColor.h>
17
- #import <UIKit/UIGeometry.h>
17
+ #import <UIKitGeometry/UIEdgeInsets.h>
18
18
  #import <UIKit/NSItemProvider+UIKitAdditions.h>
19
19
  #if __has_include(<UIFoundation/NSTextAttachment.h>)
20
20
  #import <UIFoundation/NSTextAttachment.h>
@@ -67,7 +67,7 @@ typedef NS_ENUM(NSInteger, UIImageRenderingMode) {
67
67
  @class UIImageSymbolConfiguration;
68
68
 
69
69
  UIKIT_EXTERN API_AVAILABLE(ios(2.0), watchos(2.0)) NS_SWIFT_SENDABLE
70
- PEACH_SWIFT_CLASS(UIKitCore) @interface UIImage : NSObject <NSSecureCoding>
70
+ @interface UIImage ()
71
71
 
72
72
  /*
73
73
  * Retrieve a system-provided image with the specified name.
@@ -6,13 +6,14 @@
6
6
  // Copyright © 2018 Apple Inc. All rights reserved.
7
7
  //
8
8
 
9
- #import <UIKit/UIBarAppearance.h>
10
- #import <UIKit/UITabBar.h>
9
+ #import <UIKitTypes/UIKitTypes.h>
10
+ #import <UIKitGeometry/UIEdgeInsets.h>
11
+ #import <UIUtilities/UIDefines.h>
11
12
 
12
13
  NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13
14
 
14
15
  UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
15
- @interface UITabBarItemStateAppearance : NSObject
16
+ PEACH_SWIFT_CLASS(UIKitCore) @interface UITabBarItemStateAppearance : NSObject
16
17
 
17
18
  - (instancetype)init NS_UNAVAILABLE;
18
19
  + (instancetype)new NS_UNAVAILABLE;
@@ -6,13 +6,14 @@
6
6
  // Copyright © 2016-2018 Apple Inc. All rights reserved.
7
7
  //
8
8
 
9
+ #import <UIKitTypes/UIKitTypes.h>
9
10
  #import <Foundation/Foundation.h>
10
11
  #import <UIKit/UIKitDefines.h>
11
12
 
12
13
  NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13
14
 
14
15
  UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
15
- PEACH_SWIFT_CLASS(SwiftUI) @interface UIVisualEffect : NSObject <NSCopying, NSSecureCoding>
16
+ @interface UIVisualEffect ()
16
17
 
17
18
  @end
18
19
 
@@ -2302,4 +2302,71 @@ typedef NS_ENUM(NSInteger, UIPrintInfoDuplex) {
2302
2302
  UIPrintInfoDuplexShortEdge, // flip back page along short edge (flipped orientation for portrait, same in landscape)
2303
2303
  } API_AVAILABLE(ios(4.2)) API_UNAVAILABLE(tvos, watchos);
2304
2304
 
2305
+ typedef NS_ENUM(NSInteger, UIUserInterfaceIdiom) {
2306
+ UIUserInterfaceIdiomUnspecified = -1,
2307
+ UIUserInterfaceIdiomPhone API_AVAILABLE(ios(3.2)), // iPhone and iPod touch style UI
2308
+ UIUserInterfaceIdiomPad API_AVAILABLE(ios(3.2)), // iPad style UI
2309
+ UIUserInterfaceIdiomTV NS_SWIFT_NAME(UIUserInterfaceIdiom.tv) API_AVAILABLE(ios(9.0)), // Apple TV style UI
2310
+ UIUserInterfaceIdiomCarPlay API_AVAILABLE(ios(9.0)), // CarPlay style UI
2311
+ UIUserInterfaceIdiomMac API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) = 5, // Optimized for Mac UI
2312
+ UIUserInterfaceIdiomVision API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos) = 6, // Vision UI
2313
+ } API_UNAVAILABLE(watchos);
2314
+
2315
+ typedef NS_ENUM(NSInteger, UIBlurEffectStyle) {
2316
+ /* Traditional blur styles.
2317
+ */
2318
+ UIBlurEffectStyleExtraLight,
2319
+ UIBlurEffectStyleLight,
2320
+ UIBlurEffectStyleDark,
2321
+ UIBlurEffectStyleExtraDark API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios) API_UNAVAILABLE(watchos),
2322
+
2323
+ /* Styles which automatically show one of the traditional blur styles,
2324
+ * depending on the user interface style.
2325
+ *
2326
+ * Regular displays either Light or Dark.
2327
+ */
2328
+ UIBlurEffectStyleRegular API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos),
2329
+ /* Prominent displays either ExtraLight, Dark (on iOS), or ExtraDark (on tvOS).
2330
+ */
2331
+ UIBlurEffectStyleProminent API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos),
2332
+
2333
+ /*
2334
+ * Blur styles available in iOS 13.
2335
+ *
2336
+ * Styles which automatically adapt to the user interface style:
2337
+ */
2338
+ UIBlurEffectStyleSystemUltraThinMaterial API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2339
+ UIBlurEffectStyleSystemThinMaterial API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2340
+ UIBlurEffectStyleSystemMaterial API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2341
+ UIBlurEffectStyleSystemThickMaterial API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2342
+ UIBlurEffectStyleSystemChromeMaterial API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2343
+
2344
+ /* And always-light and always-dark versions:
2345
+ */
2346
+ UIBlurEffectStyleSystemUltraThinMaterialLight API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2347
+ UIBlurEffectStyleSystemThinMaterialLight API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2348
+ UIBlurEffectStyleSystemMaterialLight API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2349
+ UIBlurEffectStyleSystemThickMaterialLight API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2350
+ UIBlurEffectStyleSystemChromeMaterialLight API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2351
+
2352
+ UIBlurEffectStyleSystemUltraThinMaterialDark API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2353
+ UIBlurEffectStyleSystemThinMaterialDark API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2354
+ UIBlurEffectStyleSystemMaterialDark API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2355
+ UIBlurEffectStyleSystemThickMaterialDark API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos),
2356
+ UIBlurEffectStyleSystemChromeMaterialDark API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, tvos)
2357
+
2358
+ } API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos);
2359
+ PEACH_SWIFT_CLASS(UIKitCore) @interface UIColor : NSObject <NSSecureCoding, NSCopying>
2360
+ @end
2361
+
2362
+ PEACH_SWIFT_CLASS(UIKitCore) @interface UIImage : NSObject <NSSecureCoding>
2363
+ @end
2364
+
2365
+ PEACH_SWIFT_CLASS(UIKitCore) @interface UIVisualEffect : NSObject <NSCopying, NSSecureCoding>
2366
+ @end
2367
+
2368
+ PEACH_SWIFT_CLASS(UIKitCore) @interface UIBlurEffect : UIVisualEffect
2369
+ @end
2370
+ #import "../../UIKit.framework/Headers/UIBarAppearance.h"
2305
2371
  #import "../../UIKit.framework/Headers/UIBarButtonItemAppearance.h"
2372
+ #import "../../UIKit.framework/Headers/UITabBarAppearance.h"
@@ -1,5 +1,7 @@
1
1
  framework module UIKitTypes {
2
2
  umbrella header "UIKitTypes.h"
3
+ header "../../UIKit.framework/Headers/UIBarAppearance.h"
3
4
  header "../../UIKit.framework/Headers/UIBarButtonItemAppearance.h"
5
+ header "../../UIKit.framework/Headers/UITabBarAppearance.h"
4
6
  export *
5
7
  }
@@ -33,6 +33,7 @@ import {
33
33
  import {
34
34
  collectTurboSources,
35
35
  prepareTurboSourceDependencies,
36
+ TURBO_CORE_PUBLIC_HEADERS,
36
37
  TURBO_CORE_TARGET,
37
38
  type TurboInstalledPod,
38
39
  type TurboProvider,
@@ -114,6 +115,7 @@ export function collectTurboCompileInput(
114
115
  `let package = Package(name: "PeachNativeModule", platforms: [.iOS(${JSON.stringify(iosDeploymentTarget)})], targets: [`,
115
116
  ...dependencyTargets,
116
117
  ...targets.map((target) => {
118
+ const hasCore = targetNames.includes(TURBO_CORE_TARGET)
117
119
  const hasObjcPrefix = Boolean(
118
120
  files[`Sources/${TURBO_CORE_TARGET}/include/PeachTurboPrefix.pch`],
119
121
  )
@@ -130,8 +132,18 @@ export function collectTurboCompileInput(
130
132
  : ['.unsafeFlags(["-fmodules", "-Wno-error=int-conversion"])']),
131
133
  ...clangSettingEntries(target.clangSettings, 'c'),
132
134
  ]
135
+ // the aliased React, folly and boost headers are a C-family search path,
136
+ // never TurboCore's public headers that Swift importers inherit
137
+ const coreHeaders = hasCore
138
+ ? `.headerSearchPath(${JSON.stringify(path.posix.relative(target.path, `Sources/${TURBO_CORE_TARGET}/include`))})`
139
+ : null
140
+ if (coreHeaders) cEntries.push(coreHeaders)
133
141
  const cSettings = cEntries.length ? `, cSettings: [${cEntries.join(', ')}]` : ''
134
- return `.target(name: ${JSON.stringify(target.name)}, dependencies: ${JSON.stringify(target.dependencies?.map((dependency) => dependency.name) ?? [])}, path: ${JSON.stringify(target.path)}, exclude: ${JSON.stringify(target.exclude ?? [])}${cSettings}, cxxSettings: [${(
142
+ const publicHeaders =
143
+ hasCore && target.name === TURBO_CORE_TARGET
144
+ ? `, publicHeadersPath: ${JSON.stringify(TURBO_CORE_PUBLIC_HEADERS)}`
145
+ : ''
146
+ return `.target(name: ${JSON.stringify(target.name)}, dependencies: ${JSON.stringify(target.dependencies?.map((dependency) => dependency.name) ?? [])}, path: ${JSON.stringify(target.path)}, exclude: ${JSON.stringify(target.exclude ?? [])}${publicHeaders}${cSettings}, cxxSettings: [${(
135
147
  target.cxxDefines ?? []
136
148
  )
137
149
  .map((define) => {
@@ -141,6 +153,7 @@ export function collectTurboCompileInput(
141
153
  : `.define(${JSON.stringify(name)})`
142
154
  })
143
155
  .concat(clangSettingEntries(target.clangSettings, 'cxx'))
156
+ .concat(coreHeaders ? [coreHeaders] : [])
144
157
  .join(', ')}], ${swiftManifestSettings(target)}),`
145
158
  }),
146
159
  `.executableTarget(name: "PeachTurboApp", dependencies: ${JSON.stringify(targetNames)}, swiftSettings: [.interoperabilityMode(.Cxx)]),`,
@@ -115,6 +115,7 @@ export interface TurboSourceCollection {
115
115
  export const TURBO_CORE_TARGET = 'TurboCore'
116
116
  const TURBO_FMT_TARGET = 'TurboFmt'
117
117
  export const TURBO_ENTRY_HEADER = 'PeachTurboEntry.hpp'
118
+ export const TURBO_CORE_PUBLIC_HEADERS = 'entry'
118
119
 
119
120
  const REGISTRATION = 'registerCxxModuleToGlobalModuleMap'
120
121
  const CODEGEN_OBJC = /@generated by codegen project: GenerateModuleObjCpp\b/
@@ -2054,12 +2055,15 @@ export async function collectTurboSources(options: {
2054
2055
  )
2055
2056
  const withRuntime = binding.includes('TurboModuleProviderFunctionTypeWithRuntime')
2056
2057
  add(`${core}/include/PeachJsiRuntime.hpp`, TURBO_RUNTIME_HEADER)
2058
+ // the target's public headers are the entry alone: Swift importers of TurboCore
2059
+ // never see the upstream React headers under include, which a Swift pod's SDK
2060
+ // React module defines itself
2057
2061
  add(
2058
- `${core}/include/${TURBO_ENTRY_HEADER}`,
2062
+ `${core}/${TURBO_CORE_PUBLIC_HEADERS}/${TURBO_ENTRY_HEADER}`,
2059
2063
  '#pragma once\nextern "C" void peachTurboInitialize();\n',
2060
2064
  )
2061
2065
  add(
2062
- `${core}/include/module.modulemap`,
2066
+ `${core}/${TURBO_CORE_PUBLIC_HEADERS}/module.modulemap`,
2063
2067
  `module ${TURBO_CORE_TARGET} { header "${TURBO_ENTRY_HEADER}" export * }\n`,
2064
2068
  )
2065
2069
  let decoratorHasPerformanceLogger = false