peachsim 0.1.2306 → 0.1.2364
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.
- package/README.md +5 -0
- package/cli/cdp.ts +81 -0
- package/cli/cloud-box-artifact.ts +6 -1
- package/cli/cloud-client.ts +19 -0
- package/cli/command-registry.ts +1 -0
- package/cli/commands/box/bundle-plane.ts +28 -4
- package/cli/commands/box.ts +13 -8
- package/cli/commands/canvas.ts +752 -0
- package/cli/commands/cleanup.ts +2 -0
- package/cli/commands/control.ts +22 -6
- package/cli/commands/cpu-profile.ts +1 -80
- package/cli/commands/debug.ts +73 -5
- package/cli/commands/flow.ts +1 -1
- package/cli/commands/inspect/actions.ts +3 -1
- package/cli/commands/inspect/core.ts +18 -5
- package/cli/commands/inspect/settling.ts +20 -19
- package/cli/commands/inspect.ts +24 -14
- package/cli/commands/map.ts +31 -8
- package/cli/commands/platform.ts +89 -7
- package/cli/commands/serve.ts +66 -4
- package/cli/commands/shell-url.ts +25 -5
- package/cli/commands/task-trace.ts +234 -0
- package/cli/dev-build-freshness.ts +151 -49
- package/cli/drivers/linux-cocoapods.lock.json +303 -0
- package/cli/drivers/linux-cocoapods.ts +99 -0
- package/cli/drivers/playwright.ts +1 -5
- package/cli/internal-child-contract.ts +1 -0
- package/cli/internal-child.ts +6 -0
- package/cli/main.ts +6 -0
- package/cli/outbound-endpoints.ts +35 -2
- package/cli/output-redaction.ts +1 -1
- package/cli/remote-metro.ts +109 -0
- package/cli/task-trace.ts +166 -0
- package/cli/taskTraceContract.ts +53 -0
- package/cli/ws-bridge.ts +11 -4
- package/detox/gestures.ts +4 -4
- package/detox/index.ts +10 -3
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +15093 -9243
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +2 -2
- package/dist-lib/config.mjs +2 -2
- package/dist-lib/detox/index.cjs +79 -55
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +12391 -7202
- package/dist-lib/expo-swift-metadata.cjs +3 -1
- package/dist-lib/expo-swift-metadata.mjs +3 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +12498 -8638
- package/dist-lib/host/fetch-proxy-handler.cjs +431 -206
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +17 -3
- package/dist-lib/index.cjs +2187 -805
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +14 -12
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +2176 -791
- package/dist-lib/native-app-identity-project.cjs +1372 -336
- package/dist-lib/native-app-identity-project.mjs +1480 -437
- package/dist-lib/native-app-identity.cjs +11 -1
- package/dist-lib/native-app-identity.mjs +11 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +33 -26
- package/dist-lib/public-origins-lib.json +219 -124
- package/dist-lib/react-native-host-modules.cjs +26 -2
- package/dist-lib/react-native-host-modules.mjs +24 -2
- package/dist-lib/reap-browser.cjs +2 -2
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +42 -28
- package/dist-lib/sdk.mjs +42 -28
- package/dist-lib/skills.cjs +13911 -9671
- package/dist-lib/swift-compile.cjs +2066 -1691
- package/dist-lib/swift-compile.mjs +1942 -1566
- package/dist-lib/swift-package.cjs +18 -10
- package/dist-lib/swift-package.mjs +18 -10
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +20 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +5344 -3572
- package/dist-lib/vite.cjs +2890 -2523
- package/dist-lib/worklet-executable.cjs +36 -10
- package/dist-lib/worklet-executable.mjs +36 -10
- package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/cli-companion.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/engine/android-stretch-effect.d.ts +0 -8
- package/dist-types/packages/peach-engine/src/engine/animated-driven-style.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/animated.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/animation-graph.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/audioContract.d.ts +14 -0
- package/dist-types/packages/peach-engine/src/engine/canvaskit-api.d.ts +7 -4
- package/dist-types/packages/peach-engine/src/engine/core-layout-program.d.ts +19 -0
- package/dist-types/packages/peach-engine/src/engine/core-layout-transition.d.ts +31 -0
- package/dist-types/packages/peach-engine/src/engine/debug-channels.d.ts +86 -0
- package/dist-types/packages/peach-engine/src/engine/fiber-debug-metadata.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/generated/node-kind-contract.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/glass-material.d.ts +3 -2
- package/dist-types/packages/peach-engine/src/engine/host-composite.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +5 -2
- package/dist-types/packages/peach-engine/src/engine/inspect-info.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/engine/layout-animation-owner.d.ts +60 -0
- package/dist-types/packages/peach-engine/src/engine/liquid-glass-rect.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +8 -8
- package/dist-types/packages/peach-engine/src/engine/lottie-runtime.d.ts +4 -6
- package/dist-types/packages/peach-engine/src/engine/lottie-types.d.ts +14 -28
- package/dist-types/packages/peach-engine/src/engine/native-animation-driver.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/engine/native-animation-graph.d.ts +8 -10
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +8 -1
- package/dist-types/packages/peach-engine/src/engine/native-node-drive.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/engine/native-node-geometry.d.ts +34 -0
- package/dist-types/packages/peach-engine/src/engine/native-node-record.d.ts +62 -0
- package/dist-types/packages/peach-engine/src/engine/native-node-style-input.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/engine/native-paint.d.ts +95 -0
- package/dist-types/packages/peach-engine/src/engine/{scroll-range.d.ts → native-scroll-geometry.d.ts} +5 -0
- package/dist-types/packages/peach-engine/src/engine/{scroll-platform.d.ts → native-scroll-personality.d.ts} +58 -72
- package/dist-types/packages/peach-engine/src/engine/native-scroll-tracker.d.ts +40 -0
- package/dist-types/packages/peach-engine/src/engine/native-style-store.d.ts +161 -0
- package/dist-types/packages/peach-engine/src/engine/native-text-style.d.ts +56 -0
- package/dist-types/packages/peach-engine/src/engine/native-trace.d.ts +18 -0
- package/dist-types/packages/peach-engine/src/engine/nativePaintContract.d.ts +68 -0
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +53 -112
- package/dist-types/packages/peach-engine/src/engine/paint-boundary-types.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/engine/portals.d.ts +20 -0
- package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/rn-spring.d.ts +2 -9
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +201 -66
- package/dist-types/packages/peach-engine/src/engine/scroll-momentum-math.d.ts +10 -3
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +5 -11
- package/dist-types/packages/peach-engine/src/engine/shell-owned-values.d.ts +8 -1
- package/dist-types/packages/peach-engine/src/engine/style-schema.d.ts +296 -0
- package/dist-types/packages/peach-engine/src/engine/text-line-break.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/text-metric-policy.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/engine/text-nested.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/text-paint-receipt.d.ts +2 -3
- package/dist-types/packages/peach-engine/src/engine/text-paint.d.ts +4 -1
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +18 -26
- package/dist-types/packages/peach-engine/src/engine/visible-frame.d.ts +1 -2
- package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +4 -2
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +40 -2
- package/dist-types/packages/peach-engine/src/ios/aux-home-scene.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/kernel/kernel.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/observability/types.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/permissions/system-permission-types.d.ts +2 -3
- package/dist-types/packages/peach-engine/src/platform/android-back-panel.d.ts +15 -55
- package/dist-types/packages/peach-engine/src/platform/personality.d.ts +110 -48
- package/dist-types/packages/peach-engine/src/react-native/gesture-touch-metadata.d.ts +14 -0
- package/dist-types/packages/peach-engine/src/react-native/layout-animation.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/remote-stream/client-config.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +9 -3
- package/dist-types/packages/peach-engine/src/render-worker/accessibilityHostContract.d.ts +65 -0
- package/dist-types/packages/peach-engine/src/render-worker/aux-surface-types.d.ts +33 -1
- package/dist-types/packages/peach-engine/src/render-worker/canvaskit-worker-init.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-content-readyContract.d.ts +10 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +5 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +81 -9
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-claims.d.ts +116 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-fields.d.ts +57 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-tree.d.ts +100 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/presentation-frame-layers.d.ts +42 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/presentation-layers.d.ts +49 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/render-tree.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/transition-program.d.ts +65 -0
- package/dist-types/packages/peach-engine/src/render-worker/gesture-arbitration-native.d.ts +17 -7
- package/dist-types/packages/peach-engine/src/render-worker/gesture-seam-protocol.d.ts +8 -1
- package/dist-types/packages/peach-engine/src/render-worker/graph-linked-value.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +32 -2
- package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +35 -3
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +27 -3
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +4 -3
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +14 -12
- package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +23 -3
- package/dist-types/packages/peach-engine/src/render-worker/test-bridge-protocol.d.ts +3 -2
- package/dist-types/packages/peach-engine/src/render-worker/text-inputContract.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/render-worker/tree-sync-port.d.ts +9 -0
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-frame-transaction.d.ts +7 -2
- package/dist-types/packages/peach-engine/src/render-worker/webview-capture-protocol.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +4 -6
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +8 -13
- package/dist-types/packages/peach-engine/src/render-worker/worklet-wire.d.ts +9 -24
- package/dist-types/packages/peach-engine/src/settings/device-spec-bus.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/settings/devices.d.ts +3 -0
- package/dist-types/packages/peach-globals/src/electronBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/globalsContract.d.ts +33 -1
- package/dist-types/packages/peach-globals/src/imagePickerBridgeContract.d.ts +0 -1
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +7 -0
- package/dist-types/packages/peach-globals/src/nativeSurfaceContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +3 -0
- package/dist-types/packages/peach-globals/src/performanceBridgeContract.d.ts +3 -1
- package/dist-types/packages/peach-globals/src/secure-item-store.d.ts +2 -1
- package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +11 -0
- package/dist-types/packages/peach-globals/src/timelineBridgeContract.d.ts +2 -1
- package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +65 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +24 -1
- package/dist-types/packages/peach-kit/src/internal.d.ts +2 -1
- package/dist-types/packages/peach-kit/src/runtime.d.ts +2 -2
- package/dist-types/packages/peach-kit/src/transitions/screen-transition-math.d.ts +29 -4
- package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/ui/{popover-placement.d.ts → native-popover.d.ts} +13 -8
- package/dist-types/packages/peach-kit/src/ui/native-tab-selection.d.ts +39 -0
- package/dist-types/packages/peach-kit/src/ui/presentationContract.d.ts +21 -0
- package/dist-types/packages/peach-kit/src/ui/swift-layout-contract.d.ts +33 -0
- package/java-platform/licenses/android.txt +4 -0
- package/java-platform/licenses/jzlib.txt +28 -0
- package/java-platform/licenses/openjdk.txt +11 -2
- package/kotlin/README.md +5 -2
- package/kotlin/fork/NOTICE +7 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/kotlin/toolchain.json +9 -9
- package/node-runtime.d.json.ts +4 -0
- package/node-runtime.json +1 -0
- package/package.json +4 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h +109 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABGroup.h +41 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABMultiValue.h +56 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABPerson.h +208 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABRecord.h +60 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABSource.h +49 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/AddressBook.h +53 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/AddressBookDefines.h +24 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Modules/module.modulemap +13 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/CoreML.apinotes +95 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/CoreML.h +90 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLAllComputeDevices.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLArrayBatchProvider.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLBatchProvider.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCPUComputeDevice.h +23 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputeDeviceProtocol.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlan.h +106 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlanCost.h +29 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlanDeviceUsage.h +29 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCustomLayer.h +79 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCustomModel.h +53 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLDictionaryConstraint.h +29 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLDictionaryFeatureProvider.h +39 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLExport.h +13 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureDescription.h +66 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h +27 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureType.h +44 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureValue+MLImageConversion.h +96 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureValue.h +92 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLGPUComputeDevice.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageConstraint.h +40 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSize.h +22 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSizeConstraint.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSizeConstraintType.h +19 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLKey.h +35 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMetricKey.h +37 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLComputeDevice.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLModelCompilation.h +62 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLState.h +106 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h +130 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelAsset.h +121 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollection.h +70 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollectionEntry.h +72 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelConfiguration.h +97 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelDescription.h +83 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelError.h +114 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelMetadataKeys.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructure.h +70 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetwork.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetworkLayer.h +35 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructurePipeline.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgram.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramArgument.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBinding.h +36 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBlock.h +36 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramFunction.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramNamedValueType.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramOperation.h +38 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValue.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValueType.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArray.h +316 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayConstraint.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayShapeConstraint.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayShapeConstraintType.h +19 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLNeuralEngineComputeDevice.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLNumericConstraint.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLOptimizationHints.h +45 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLParameterDescription.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLParameterKey.h +85 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLPredictionOptions.h +94 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLReshapeFrequencyHint.h +18 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSequence.h +38 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSequenceConstraint.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSpecializationStrategy.h +17 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLState.h +64 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLStateConstraint.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLTask.h +56 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateContext.h +41 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateProgressEvent.h +25 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateProgressHandlers.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateTask.h +62 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLWritable.h +22 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalBuffer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalBufferCache.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h +2 -2
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h +4 -4
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKBaseEffect.h +159 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectProperty.h +46 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyFog.h +58 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyLight.h +83 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyMaterial.h +36 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyTexture.h +62 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyTransform.h +45 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffects.h +21 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMath.h +19 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h +167 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMathUtils.h +48 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrix3.h +535 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrix4.h +1012 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrixStack.h +130 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKModel.h +227 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKNamedEffect.h +14 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKQuaternion.h +340 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKReflectionMapEffect.h +143 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKSkyboxEffect.h +117 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKTextureLoader.h +357 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector2.h +483 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector3.h +307 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector4.h +587 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKView.h +129 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKViewController.h +102 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKit.apinotes +5 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKit.h +21 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKitBase.h +30 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h +35 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h +134 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassButton.h +48 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h +56 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h +88 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h +68 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h +55 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassViewController.h +56 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h +134 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h +57 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h +31 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKBarcodeEventMetadataRequest.h +76 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h +124 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h +43 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h +35 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h +60 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h +30 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h +94 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h +22 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKError.h +95 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityAuthorizationController.h +52 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityButton.h +68 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h +33 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h +83 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h +130 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h +54 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityIntentToStore.h +40 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityRequest.h +47 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h +28 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionAuthorizationProviding.h +31 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionHandler.h +41 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPassEntry.h +34 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPaymentPassEntry.h +37 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionStatus.h +33 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKLabeledValue.h +28 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h +23 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h +63 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h +170 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPassRelevantDate.h +30 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPass_Types.h +25 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterValidator.h +44 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterView.h +72 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h +64 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h +208 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h +108 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h +147 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h +55 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentInformationEventExtension.h +41 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMerchantSession.h +29 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h +59 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentPass.h +37 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h +255 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h +171 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h +50 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h +49 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentTokenContext.h +59 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h +60 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h +39 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h +52 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKShareSecureElementPassViewController.h +81 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h +42 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h +37 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h +36 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h +43 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h +34 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKVehicleConnectionSession.h +71 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PassKit.apinotes +68 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h +187 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Modules/module.modulemap +8 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h +8 -8
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h +48 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEDRMetadata.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h +2 -2
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h +25 -12
- package/sdk/ios/System/Library/Frameworks/React.framework/Headers/React.h +1 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Modules/module.modulemap +23 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAdaptiveImageGlyph.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h +1 -231
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h +1 -375
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h +1 -545
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h +1 -82
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSText.h +1 -74
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h +1 -210
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutFragment.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutManager.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLineFragment.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextList.h +1 -194
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextListElement.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextRange.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextSelection.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextSelectionNavigation.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h +1 -196
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextTable.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextViewportLayoutController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextViewportRenderingSurface.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h +0 -87
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h +3 -6
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIArrangementViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundExtensionView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBandSelectionInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelection.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionMultiDate.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionSingleDate.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionWeekOfYear.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICanvasFeedbackGenerator.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h +11 -11
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h +15 -15
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewListCell.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewUpdateItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColorPickerViewController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColorWell.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentUnavailableView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuSystem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIConversationContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentProperties.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEditMenuInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEventAttribution.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEventAttributionView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindSession.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h +1 -86
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h +1 -198
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGlassEffect.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHinge.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHingeInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffect.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputSuggestion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKey.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKeyboardLayoutGuide.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h +1 -48
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILetterformAwareAdjusting.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIListContentConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMailConversationContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMainMenuSystem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuDisplayPreferences.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuLeaf.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMessageConversationContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h +3 -6
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageControlProgress.h +4 -4
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPhotoSearchSuggestion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerAccessory.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerInteraction.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerLockState.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerRegion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerStyle.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationControllerSourceItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h +4 -4
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintServiceExtension.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneAccessory.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneAccessoryRegistration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneClosureConfirmation.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSizeRestrictions.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSystemProtectionManager.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneWindowingBehaviors.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScribbleInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollEdgeElementContainerInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchSuggestion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISmartReplySuggestion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h +4 -4
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStandardTextCursorView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h +4 -4
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISymbolContentTransition.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarControllerSidebar.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabGroup.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabSidebarItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h +13 -13
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextCursorDropPositionAnimator.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextCursorView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h +12 -12
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextLoupeSession.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSearching.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSelectionDisplayInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSelectionHighlightView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolTipInteraction.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITrackingLayoutGuide.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateActionPhase.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateLink.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h +5 -5
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h +6 -6
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h +4 -4
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewReservedRegion.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneActivationAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneDragInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferencesIOS.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSAttributedString.h +231 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSLayoutManager.h +375 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSParagraphStyle.h +545 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSStringDrawing.h +82 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSText.h +74 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextContainer.h +210 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextList.h +194 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextStorage.h +196 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIFont.h +86 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIFontDescriptor.h +198 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIKitDefines.h +48 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIKitText.h +11 -11
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Modules/module.modulemap +11 -11
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIAccessibilityTraits.h +91 -0
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.apinotes +43 -0
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +1 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTBase.h +48 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h +1686 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionSession.h +509 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionProperties.h +548 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionSession.h +577 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTErrors.h +144 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor.h +134 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorConfiguration.h +68 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorErrors.h +60 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorFrame.h +82 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorParameters.h +48 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_FrameRateConversion.h +207 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_LowLatencyFrameInterpolation.h +171 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_LowLatencySuperResolutionScaler.h +143 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_MotionBlur.h +207 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_OpticalFlow.h +172 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_SuperResolutionScaler.h +245 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_TemporalNoiseFilter.h +161 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameSilo.h +177 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTHDRPerFrameMetadataGenerationSession.h +116 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMotionEstimationSession.h +176 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMotionEstimationSessionProperties.h +76 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMultiPassStorage.h +96 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationProperties.h +75 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationSession.h +111 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferProperties.h +231 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferSession.h +123 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTSession.h +151 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTUtilities.h +146 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTVideoEncoderList.h +74 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.apinotes +197 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.h +41 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNCalculateImageAestheticsScoresRequest.h +32 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNClassifyImageRequest.h +69 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNCoreMLRequest.h +93 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDefines.h +24 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectAnimalBodyPoseRequest.h +49 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h +85 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectContoursRequest.h +60 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectDocumentSegmentationRequest.h +33 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceCaptureQualityRequest.h +46 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceLandmarksRequest.h +61 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceRectanglesRequest.h +47 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHorizonRequest.h +35 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPose3DRequest.h +67 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h +194 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanHandPoseRequest.h +200 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanRectanglesRequest.h +53 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectRectanglesRequest.h +66 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectTextRectanglesRequest.h +40 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectTrajectoriesRequest.h +71 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectedPoint.h +55 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNError.h +42 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNFaceLandmarks.h +188 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNFaceObservationAccepting.h +32 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateAttentionBasedSaliencyImageRequest.h +42 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateForegroundInstanceMaskRequest.h +34 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateImageFeaturePrintRequest.h +53 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateObjectnessBasedSaliencyImageRequest.h +41 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateOpticalFlowRequest.h +89 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonInstanceMaskRequest.h +34 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h +67 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeometry.h +323 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeometryUtils.h +95 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNHumanBodyRecognizedPoint3D.h +26 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNImageRegistrationRequest.h +67 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h +994 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeAnimalsRequest.h +61 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h +109 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizedPoint3D.h +34 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h +197 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequestHandler.h +419 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequestRevisionProviding.h +26 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNStatefulRequest.h +49 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTargetedImageRequest.h +302 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackHomographicImageRegistrationRequest.h +46 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackObjectRequest.h +53 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackOpticalFlowRequest.h +106 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackRectangleRequest.h +56 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackTranslationalImageRegistrationRequest.h +45 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackingRequest.h +72 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h +201 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h +198 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNVideoProcessor.h +133 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/Vision.apinotes +130 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/Vision.h +67 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Modules/module.modulemap +7 -0
- package/sdk/ios/usr/include/AssertMacros.h +1463 -0
- package/sdk/ios/usr/include/_modules/_os_lock.h +33 -0
- package/sdk/ios/usr/include/libkern/OSCacheControl.h +66 -0
- package/sdk/ios/usr/include/os.modulemap +1 -1
- package/sdk/ios/usr/include/pthread/pthread_spis.h +105 -0
- package/sdk/ios/usr/include/pthread_spis.h +105 -0
- package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
- package/sdk/ios/wasm/include/pthread/sched.h +3 -0
- package/sdk/ios/wasm/include/pthread.h +7 -0
- package/sdk/ios/wasm/include/sched.h +9 -0
- package/sdk/ios/wasm/include/sys/mman.h +2 -2
- package/sdk/ios/wasm/include/sys/poll.h +3 -0
- package/sdk/ios/wasm/include/tgmath.h +5 -0
- package/sdk/ios/wasm/include/unistd.h +5 -1
- package/skills/contrast/SKILL.md +1 -0
- package/skills/peach-debug/SKILL.md +43 -1
- package/skills/peach-debug/references/events.md +14 -1
- package/src/android-autolinking.ts +5 -18
- package/src/answeredNativePackages.ts +24 -5
- package/src/app-config.ts +12 -1
- package/src/assetCatalogContract.ts +3 -39
- package/src/autolinker-process.ts +82 -0
- package/src/bazel-project.ts +1133 -0
- package/src/bridge-contract.ts +3 -0
- package/src/case-insensitive-header-overlay.ts +99 -0
- package/src/config.ts +5 -0
- package/src/device-catalog.ts +9 -0
- package/src/expo-autolinking.ts +12 -15
- package/src/expo-native-prebuilt.ts +28 -5
- package/src/expo-native-workspace.ts +91 -23
- package/src/expo-swift-host.ts +190 -57
- package/src/expo-swift-ready.ts +8 -0
- package/src/expo-workspace-exclusion.ts +96 -27
- package/src/flow-graph-layout.ts +166 -0
- package/src/git-repo-env.ts +7 -0
- package/src/host/app-package-handler.ts +5 -0
- package/src/host/bridge-host.ts +9 -5
- package/src/host/hostname-resolver.ts +55 -2
- package/src/host/staged-host-files.ts +17 -1
- package/src/host/websocket-proxy.ts +19 -2
- package/src/java-static-imports.ts +68 -0
- package/src/kotlin-jvm-sources.ts +35 -0
- package/src/kotlinSdkContract.ts +3 -1
- package/src/launchMetadataContract.ts +8 -0
- package/src/metro-hot-update.ts +68 -0
- package/src/native-app-identity-project.ts +35 -7
- package/src/native-app-identity.ts +32 -0
- package/src/native-package-slice-build.ts +35 -9
- package/src/native-package-slice.ts +10 -4
- package/src/native-slices.ts +1 -1
- package/src/native-static-libraries.ts +50 -22
- package/src/nitro-adapter.lock.json +265 -265
- package/src/nitro-app-providers.ts +28 -0
- package/src/nitro-bundle.ts +4 -41
- package/src/nitro-compile.ts +450 -76
- package/src/nitro-source.ts +585 -114
- package/src/nitro-superset.lock.json +4 -4
- package/src/node-runtime.ts +27 -0
- package/src/nodeRuntimeContract.ts +5 -0
- package/src/one-sdk-bundle.ts +15 -3
- package/src/one-sdk-preparation.ts +69 -9
- package/src/oneSdkContract.ts +13 -2
- package/src/podspec-sources.ts +376 -1814
- package/src/portable-expo-contract.ts +7 -2
- package/src/portable-expo-workspace.ts +7 -2
- package/src/process-group.ts +13 -0
- package/src/react-bridge-importers.ts +1 -0
- package/src/react-native-autolinking.ts +13 -43
- package/src/react-native-bridge-modules.ts +3 -3
- package/src/react-native-core-build.ts +6 -0
- package/src/react-native-host-modules.ts +37 -3
- package/src/reap-browser.ts +1 -0
- package/src/sfSymbolMetricsContract.ts +0 -53
- package/src/sim-client.ts +8 -2
- package/src/storekit-test-store.ts +49 -0
- package/src/stub-pattern-matcher.ts +4 -26
- package/src/swift-compile-budget.ts +42 -0
- package/src/swift-compile.ts +780 -658
- package/src/swift-compiler-digest.ts +2 -0
- package/src/swift-cxx-reachable.ts +20 -21
- package/src/swift-distribution.lock.json +18 -12
- package/src/swift-guest-compile.ts +38 -21
- package/src/swift-guest-image-ledger.ts +28 -19
- package/src/swift-guest-source-inputs.ts +5 -1
- package/src/swift-host.ts +90 -23
- package/src/swift-objc-compile.ts +117 -29
- package/src/swift-objc-standin.ts +12 -1
- package/src/swift-package-manifest.ts +18 -1
- package/src/swift-package.ts +26 -8
- package/src/swift-packages.ts +66 -27
- package/src/swift-resource-class-names.ts +44 -0
- package/src/swift-root-lock.ts +50 -15
- package/src/swift-shared-sdk.ts +2 -4
- package/src/swift-source-file.ts +6 -0
- package/src/swift-standin-emit.ts +10 -0
- package/src/swift-standins.ts +351 -66
- package/src/swift-submit.ts +6 -1
- package/src/swift-toolchain.ts +19 -0
- package/src/swift-wasm-prune.ts +15 -8
- package/src/swiftContract.ts +4 -5
- package/src/turbo-bundle.ts +1 -1
- package/src/turbo-codegen-intake.ts +8 -5
- package/src/turbo-compile.ts +2 -1
- package/src/turbo-runtime.lock.json +24 -24
- package/src/turbo-source.ts +2027 -271
- package/src/vite-plugin-swift.ts +3 -2
- package/src/wasm-optimize.ts +14 -10
- package/src/worker-system-chunks.ts +31 -3
- package/src/worklet-kernel.ts +56 -9
- package/src/worklets-babel.ts +8 -1
- package/src/xcode-header-search.ts +9 -0
- package/src/xcode-project.ts +82 -6
- package/dist-types/packages/peach-engine/src/engine/ios-fast-scroll.d.ts +0 -16
- package/dist-types/packages/peach-engine/src/engine/scroll-pan-contacts.d.ts +0 -12
- package/dist-types/packages/peach-engine/src/engine/scroll-velocity.d.ts +0 -15
- /package/dist-types/packages/{peach-engine → peach-compat}/src/react-bridge.d.ts +0 -0
package/src/bridge-contract.ts
CHANGED
|
@@ -202,6 +202,9 @@ export type SimTapResult = Partial<Omit<SootSimTapResult, 'reason' | 'hit'>> & {
|
|
|
202
202
|
ok?: boolean
|
|
203
203
|
reason?: SimTapResultReason
|
|
204
204
|
diagnostics?: SimTapDiagnostics
|
|
205
|
+
// wall-clock ms when the sdk sent the press, after its idle wait and target
|
|
206
|
+
// lookup, so input latency can be timed from the press rather than the command
|
|
207
|
+
dispatchedAtMs?: number
|
|
205
208
|
// the sdk's pre-dispatch refusals carry the point and screen they checked.
|
|
206
209
|
x?: number
|
|
207
210
|
y?: number
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// xcode resolves #include and #import paths on a case-insensitive file system.
|
|
2
|
+
// a clang vfs overlay marked case-insensitive lists every header under the
|
|
3
|
+
// search roots so lookups match whatever the host file system's case rules are.
|
|
4
|
+
|
|
5
|
+
import { createHash } from 'node:crypto'
|
|
6
|
+
import fs from 'node:fs'
|
|
7
|
+
import path from 'node:path'
|
|
8
|
+
import { writeBuildFile } from './write-build-file'
|
|
9
|
+
|
|
10
|
+
type Node = { files: Map<string, string>; directories: Map<string, Node> }
|
|
11
|
+
|
|
12
|
+
const HEADER = /\.(h|hh|hpp|hxx|inc|inl|def|modulemap|apinotes|tcc)$/i
|
|
13
|
+
const volumeCaseSensitivity = new Map<number, boolean>()
|
|
14
|
+
|
|
15
|
+
function needsCaseOverlay(directory: string): boolean {
|
|
16
|
+
if (process.platform !== 'darwin') return true
|
|
17
|
+
const device = fs.statSync(directory).dev
|
|
18
|
+
const known = volumeCaseSensitivity.get(device)
|
|
19
|
+
if (known !== undefined) return known
|
|
20
|
+
let probed = false
|
|
21
|
+
for (const name of fs.readdirSync(directory)) {
|
|
22
|
+
const alternate = name.replace(/[a-zA-Z]/, (letter) =>
|
|
23
|
+
letter === letter.toLowerCase() ? letter.toUpperCase() : letter.toLowerCase(),
|
|
24
|
+
)
|
|
25
|
+
if (alternate === name) continue
|
|
26
|
+
const original = fs.lstatSync(path.join(directory, name), { throwIfNoEntry: false })
|
|
27
|
+
if (!original) continue
|
|
28
|
+
const changed = fs.lstatSync(path.join(directory, alternate), {
|
|
29
|
+
throwIfNoEntry: false,
|
|
30
|
+
})
|
|
31
|
+
if (!changed || original.ino !== changed.ino || original.dev !== changed.dev) {
|
|
32
|
+
volumeCaseSensitivity.set(device, true)
|
|
33
|
+
return true
|
|
34
|
+
}
|
|
35
|
+
probed = true
|
|
36
|
+
}
|
|
37
|
+
if (probed) volumeCaseSensitivity.set(device, false)
|
|
38
|
+
return !probed
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function scan(directory: string): Node {
|
|
42
|
+
const node: Node = { files: new Map(), directories: new Map() }
|
|
43
|
+
for (const entry of fs.readdirSync(directory, { withFileTypes: true })) {
|
|
44
|
+
const full = path.join(directory, entry.name)
|
|
45
|
+
const stat = entry.isSymbolicLink()
|
|
46
|
+
? fs.statSync(full, { throwIfNoEntry: false })
|
|
47
|
+
: entry
|
|
48
|
+
if (!stat) continue
|
|
49
|
+
if (stat.isDirectory()) node.directories.set(entry.name, scan(full))
|
|
50
|
+
else if (HEADER.test(entry.name)) node.files.set(entry.name, full)
|
|
51
|
+
}
|
|
52
|
+
return node
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function contents(node: Node): object[] {
|
|
56
|
+
return [
|
|
57
|
+
...[...node.directories].map(([name, child]) => ({
|
|
58
|
+
name,
|
|
59
|
+
type: 'directory',
|
|
60
|
+
contents: contents(child),
|
|
61
|
+
})),
|
|
62
|
+
...[...node.files].map(([name, file]) => ({
|
|
63
|
+
name,
|
|
64
|
+
type: 'file',
|
|
65
|
+
'external-contents': file,
|
|
66
|
+
})),
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// one scan per root per process; roots are immutable for the life of a compile.
|
|
71
|
+
const scans = new Map<string, Node>()
|
|
72
|
+
|
|
73
|
+
/** overlays only roots whose filesystem does not already fold case. */
|
|
74
|
+
export function caseInsensitiveHeaderOverlay(
|
|
75
|
+
directory: string,
|
|
76
|
+
roots: readonly string[],
|
|
77
|
+
): string | null {
|
|
78
|
+
const existing = [...new Set(roots)].filter(
|
|
79
|
+
(root) => fs.existsSync(root) && needsCaseOverlay(root),
|
|
80
|
+
)
|
|
81
|
+
if (existing.length === 0) return null
|
|
82
|
+
const unique = existing
|
|
83
|
+
.filter(
|
|
84
|
+
(root) => !existing.some((other) => other !== root && root.startsWith(`${other}/`)),
|
|
85
|
+
)
|
|
86
|
+
.sort()
|
|
87
|
+
const roots_ = unique.map((root) => {
|
|
88
|
+
let node = scans.get(root)
|
|
89
|
+
if (!node) scans.set(root, (node = scan(root)))
|
|
90
|
+
return { name: root, type: 'directory', contents: contents(node) }
|
|
91
|
+
})
|
|
92
|
+
const text = JSON.stringify({ 'case-sensitive': 'false', roots: roots_, version: 0 })
|
|
93
|
+
const file = path.join(
|
|
94
|
+
directory,
|
|
95
|
+
`case-insensitive-${createHash('sha256').update(text).digest('hex').slice(0, 16)}.yaml`,
|
|
96
|
+
)
|
|
97
|
+
writeBuildFile(file, text)
|
|
98
|
+
return file
|
|
99
|
+
}
|
package/src/config.ts
CHANGED
|
@@ -138,6 +138,7 @@ export function isPackageStubs(value: unknown): value is PackageStubs {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
export interface PeachConfig<Settings extends Record<string, any> = Record<string, any>> {
|
|
141
|
+
storeKit?: { configuration: string }
|
|
141
142
|
// host-only engine selection. omitted means the current stable runtime.
|
|
142
143
|
runtimeVersion?: string
|
|
143
144
|
// native host identity. omission preserves the Fabric default.
|
|
@@ -206,6 +207,10 @@ export function isPeachConfig<Settings extends Record<string, any> = Record<stri
|
|
|
206
207
|
): value is PeachConfig<Settings> {
|
|
207
208
|
if (!isRecord(value)) return false
|
|
208
209
|
return (
|
|
210
|
+
(value.storeKit === undefined ||
|
|
211
|
+
(isRecord(value.storeKit) &&
|
|
212
|
+
typeof value.storeKit.configuration === 'string' &&
|
|
213
|
+
value.storeKit.configuration.trim().length > 0)) &&
|
|
209
214
|
(value.nativeRenderer === undefined ||
|
|
210
215
|
value.nativeRenderer === 'paper' ||
|
|
211
216
|
value.nativeRenderer === 'fabric') &&
|
package/src/device-catalog.ts
CHANGED
|
@@ -223,6 +223,7 @@ export interface DeviceSpec {
|
|
|
223
223
|
statusRowCenter?: number
|
|
224
224
|
cameraCutout: CameraCutout | null
|
|
225
225
|
safeAreaInsets: { top: number; bottom: number; left: number; right: number }
|
|
226
|
+
displayEdgeInfo?: { portraitBottom: number; homeAffordanceOverlayAllowance: number }
|
|
226
227
|
osVersion: string
|
|
227
228
|
iosVersion: string
|
|
228
229
|
androidApiLevel: number | null
|
|
@@ -363,6 +364,14 @@ function iosDevice(
|
|
|
363
364
|
return {
|
|
364
365
|
...profile,
|
|
365
366
|
platform: 'ios',
|
|
367
|
+
// the display's portrait reference and overlay allowance are independent of the window safe area.
|
|
368
|
+
displayEdgeInfo:
|
|
369
|
+
profile.displayEdgeInfo ??
|
|
370
|
+
(profile.model.startsWith('iphone-') &&
|
|
371
|
+
profile.model !== 'iphone-se' &&
|
|
372
|
+
profile.model !== 'iphone-duo'
|
|
373
|
+
? { portraitBottom: 34, homeAffordanceOverlayAllowance: 21 }
|
|
374
|
+
: undefined),
|
|
366
375
|
navigationBarHeight: 0,
|
|
367
376
|
navigationBarMode: profile.homeIndicatorHeight > 0 ? 'gesture' : 'none',
|
|
368
377
|
displayCutout: {
|
package/src/expo-autolinking.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { execFile } from 'node:child_process'
|
|
2
1
|
import fs from 'node:fs'
|
|
3
2
|
import { createRequire } from 'node:module'
|
|
4
3
|
import path from 'node:path'
|
|
5
|
-
import {
|
|
6
|
-
import { PEACH_FORKED_SCRIPT_ENV } from './forked-script-contract'
|
|
4
|
+
import { autolinkerJson, runAutolinker } from './autolinker-process'
|
|
7
5
|
import { isRecord } from './is-record'
|
|
8
6
|
|
|
9
7
|
// the autolinker's command line changed across Expo releases: before 1.8.0 it
|
|
@@ -29,8 +27,6 @@ export function autolinkerAppleFlags(autolinkerManifest: string, appRoot: string
|
|
|
29
27
|
return ['--platform', 'ios']
|
|
30
28
|
}
|
|
31
29
|
|
|
32
|
-
const run = promisify(execFile)
|
|
33
|
-
|
|
34
30
|
async function autolinkerResults(appRoot: string) {
|
|
35
31
|
const appRequire = createRequire(path.join(appRoot, 'package.json'))
|
|
36
32
|
let expoRoot: string | undefined
|
|
@@ -52,18 +48,13 @@ async function autolinkerResults(appRoot: string) {
|
|
|
52
48
|
const flags = autolinkerAppleFlags(manifest, appRoot)
|
|
53
49
|
const [search, resolve] = await Promise.all(
|
|
54
50
|
['search', 'resolve'].map(async (command) =>
|
|
55
|
-
|
|
56
|
-
(
|
|
57
|
-
await run(process.execPath, [cli, command, ...flags, '--json'], {
|
|
58
|
-
cwd: appRoot,
|
|
59
|
-
timeout: 120_000,
|
|
60
|
-
maxBuffer: 8 * 1024 * 1024,
|
|
61
|
-
env: { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: '1' },
|
|
62
|
-
})
|
|
63
|
-
).stdout,
|
|
51
|
+
autolinkerJson(
|
|
52
|
+
await runAutolinker(cli, [command, ...flags, '--json'], { cwd: appRoot }),
|
|
64
53
|
),
|
|
65
54
|
),
|
|
66
55
|
)
|
|
56
|
+
if (!isRecord(search) || !isRecord(resolve) || !Array.isArray(resolve.modules))
|
|
57
|
+
throw new Error('invalid Expo Apple autolinking result')
|
|
67
58
|
const modules: AutolinkedModule[] = resolve.modules
|
|
68
59
|
try {
|
|
69
60
|
const scan: unknown = Reflect.get(
|
|
@@ -85,7 +76,13 @@ async function autolinkerResults(appRoot: string) {
|
|
|
85
76
|
} catch (error) {
|
|
86
77
|
if (Reflect.get(Object(error), 'code') !== 'MODULE_NOT_FOUND') throw error
|
|
87
78
|
}
|
|
88
|
-
|
|
79
|
+
const packages: Record<string, { path: string }> = {}
|
|
80
|
+
for (const [name, entry] of Object.entries(search)) {
|
|
81
|
+
if (!isRecord(entry) || typeof entry.path !== 'string')
|
|
82
|
+
throw new Error(`invalid Expo autolinking path for ${name}`)
|
|
83
|
+
packages[name] = { path: entry.path }
|
|
84
|
+
}
|
|
85
|
+
return { search: packages, modules }
|
|
89
86
|
}
|
|
90
87
|
|
|
91
88
|
interface AutolinkedModule {
|
|
@@ -20,6 +20,7 @@ import { peachAnsweredNativePackages } from './answeredNativePackages'
|
|
|
20
20
|
import { expoNativeCompilerDigest } from './expo-native-compiler-digest'
|
|
21
21
|
import {
|
|
22
22
|
declaresNativeDependency,
|
|
23
|
+
hashExpoSourceWorkspace,
|
|
23
24
|
prepareExpoNativeProject,
|
|
24
25
|
reactNativePodsEnvironment,
|
|
25
26
|
} from './expo-native-workspace'
|
|
@@ -33,6 +34,7 @@ import {
|
|
|
33
34
|
type NativeAppIdentity,
|
|
34
35
|
} from './native-app-identity'
|
|
35
36
|
import { readNativeAppIdentityFromXcodeTarget } from './native-app-identity-project'
|
|
37
|
+
import { readExpoConfigAsync } from './native-firebase-config'
|
|
36
38
|
import {
|
|
37
39
|
NATIVE_PREBUILT_ORIGIN,
|
|
38
40
|
nativeEntryKey,
|
|
@@ -41,7 +43,11 @@ import {
|
|
|
41
43
|
import { readTurboMetadata, type TurboCompiledModule } from './nitroContract'
|
|
42
44
|
import { packageTreeDigest } from './package-tree-digest'
|
|
43
45
|
import { swiftNativePin } from './swift-native-pin'
|
|
44
|
-
import {
|
|
46
|
+
import {
|
|
47
|
+
findXcodeProject,
|
|
48
|
+
readXcodeAppTarget,
|
|
49
|
+
type XcodeAppTarget,
|
|
50
|
+
} from './xcode-project'
|
|
45
51
|
|
|
46
52
|
export const EXPO_NATIVE_ENTRY_NAME = 'ios'
|
|
47
53
|
|
|
@@ -102,7 +108,7 @@ function packageRootOf(appRoot: string, file: string): string | null {
|
|
|
102
108
|
|
|
103
109
|
/**
|
|
104
110
|
* every input a standard Expo app's native build depends on, or null when the
|
|
105
|
-
* app is not one the registry can serve: it keeps its own
|
|
111
|
+
* app is not one the registry can serve: it keeps its own Xcode project, its
|
|
106
112
|
* Expo has no fingerprint, or its config compiles app-owned inline modules.
|
|
107
113
|
* the compiler digest and the Swift pin are among the inputs, so they name the
|
|
108
114
|
* published entry on their own. `packages` maps each native package to its
|
|
@@ -114,7 +120,7 @@ export async function expoNativeInputs(appRoot: string): Promise<{
|
|
|
114
120
|
packages: Map<string, string>
|
|
115
121
|
} | null> {
|
|
116
122
|
appRoot = fs.realpathSync(appRoot)
|
|
117
|
-
if (
|
|
123
|
+
if (findXcodeProject(path.join(appRoot, 'ios'))) return null
|
|
118
124
|
const appRequire = createRequire(path.join(appRoot, 'package.json'))
|
|
119
125
|
let fingerprintEntry: string
|
|
120
126
|
try {
|
|
@@ -273,6 +279,23 @@ export function readExpoNativeEntry(value: unknown): ExpoNativeEntry | null {
|
|
|
273
279
|
const published = new Map<string, Promise<ExpoNativeEntry | null>>()
|
|
274
280
|
// the Expo Swift and TurboModule requests of one open look the app up together.
|
|
275
281
|
const lookups = new Map<string, Promise<ExpoNativeEntry | null>>()
|
|
282
|
+
// the fingerprint behind a lookup takes tens of seconds on every load; its
|
|
283
|
+
// answer stands while the app's hashed sources and evaluated config do.
|
|
284
|
+
const answers = new Map<string, { inputs: string; entry: ExpoNativeEntry | null }>()
|
|
285
|
+
|
|
286
|
+
async function answer(appRoot: string): Promise<ExpoNativeEntry | null> {
|
|
287
|
+
if (findXcodeProject(path.join(appRoot, 'ios'))) return null
|
|
288
|
+
const [source, config] = await Promise.all([
|
|
289
|
+
hashExpoSourceWorkspace(appRoot),
|
|
290
|
+
readExpoConfigAsync(appRoot),
|
|
291
|
+
])
|
|
292
|
+
const inputs = `${source.hash}\0${JSON.stringify(config)}`
|
|
293
|
+
const known = answers.get(appRoot)
|
|
294
|
+
if (known?.inputs === inputs) return known.entry
|
|
295
|
+
const entry = await lookup(appRoot)
|
|
296
|
+
answers.set(appRoot, { inputs, entry })
|
|
297
|
+
return entry
|
|
298
|
+
}
|
|
276
299
|
|
|
277
300
|
async function lookup(appRoot: string): Promise<ExpoNativeEntry | null> {
|
|
278
301
|
const app = await expoNativeInputs(appRoot)
|
|
@@ -307,7 +330,7 @@ export function prebuiltExpoNative(
|
|
|
307
330
|
const root = fs.realpathSync(appRoot)
|
|
308
331
|
let pending = lookups.get(root)
|
|
309
332
|
if (!pending) {
|
|
310
|
-
pending =
|
|
333
|
+
pending = answer(root).finally(() => lookups.delete(root))
|
|
311
334
|
lookups.set(root, pending)
|
|
312
335
|
}
|
|
313
336
|
return pending
|
|
@@ -335,7 +358,7 @@ export async function managedExpoNativeAppIdentity(
|
|
|
335
358
|
const read = selectNativeAppIdentityReader(platform, {
|
|
336
359
|
android: async () => null,
|
|
337
360
|
ios: async () =>
|
|
338
|
-
|
|
361
|
+
findXcodeProject(path.join(appRoot, 'ios')) ||
|
|
339
362
|
!declaresNativeDependency(
|
|
340
363
|
JSON.parse(fs.readFileSync(path.join(appRoot, 'package.json'), 'utf8')),
|
|
341
364
|
'expo',
|
|
@@ -3,11 +3,16 @@ import { execFile, execFileSync, spawnSync } from 'node:child_process'
|
|
|
3
3
|
import { createHash } from 'node:crypto'
|
|
4
4
|
import fs from 'node:fs'
|
|
5
5
|
import { createRequire } from 'node:module'
|
|
6
|
+
import os from 'node:os'
|
|
6
7
|
import path from 'node:path'
|
|
7
8
|
import { promisify } from 'node:util'
|
|
8
9
|
import { detectPackageManager } from '../cli/commands/detect'
|
|
9
10
|
import { teamMachineInstalled } from './admitted-mac-build'
|
|
10
|
-
import {
|
|
11
|
+
import {
|
|
12
|
+
untrackedIgnored,
|
|
13
|
+
workspaceExclusion,
|
|
14
|
+
type WorkspaceExclusion,
|
|
15
|
+
} from './expo-workspace-exclusion'
|
|
11
16
|
import { withoutGitRepositoryEnv } from './git-repo-env'
|
|
12
17
|
import { cacheDir } from './home-paths'
|
|
13
18
|
import { failedOutputLine } from './native-failure-output'
|
|
@@ -98,7 +103,7 @@ const NATIVE_PACKAGE_ENTRY =
|
|
|
98
103
|
// node_modules stays out: the js install reconciles it with the hashed
|
|
99
104
|
// lockfiles, and the discovery cache keys the live native inventory separately.
|
|
100
105
|
export async function hashExpoWorkspace(app: string, signal?: AbortSignal) {
|
|
101
|
-
if (process.platform !== 'darwin') {
|
|
106
|
+
if (process.platform !== 'darwin' || process.env.PEACH_PREPARED_NATIVE_WORKSPACES) {
|
|
102
107
|
const source = await hashExpoSourceWorkspace(app, signal)
|
|
103
108
|
const prepared = await portableExpoWorkspace(app, source.hash, signal)
|
|
104
109
|
return {
|
|
@@ -216,20 +221,44 @@ function localPackageDirectories(root: string, app: string) {
|
|
|
216
221
|
|
|
217
222
|
// the prepare reads only the native subset, so it skips the bytes of every
|
|
218
223
|
// other file: a monorepo's sources run to hundreds of megabytes per launch.
|
|
219
|
-
|
|
220
|
-
app: string,
|
|
221
|
-
everyByte: boolean,
|
|
222
|
-
signal?: AbortSignal,
|
|
223
|
-
sourceOnly = false,
|
|
224
|
-
podsEnvironment = reactNativePodsEnvironment(),
|
|
225
|
-
): Promise<{
|
|
224
|
+
type WorkspaceInputs = {
|
|
226
225
|
root: string
|
|
227
226
|
appRelative: string
|
|
228
227
|
hash: string
|
|
229
228
|
// the subset of inputs that decides the prepared workspace
|
|
230
229
|
nativeHash: string
|
|
231
230
|
excluded: WorkspaceExclusion
|
|
232
|
-
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// each native route of one load hashes the same workspace at once; calls that
|
|
234
|
+
// overlap read the same moment, so they share one walk.
|
|
235
|
+
const hashing = new Map<string, Promise<WorkspaceInputs>>()
|
|
236
|
+
async function hashWorkspaceInputs(
|
|
237
|
+
app: string,
|
|
238
|
+
everyByte: boolean,
|
|
239
|
+
signal?: AbortSignal,
|
|
240
|
+
sourceOnly = false,
|
|
241
|
+
podsEnvironment = reactNativePodsEnvironment(),
|
|
242
|
+
): Promise<WorkspaceInputs> {
|
|
243
|
+
const key = JSON.stringify([app, everyByte, sourceOnly, podsEnvironment])
|
|
244
|
+
let pending = hashing.get(key)
|
|
245
|
+
if (!pending) {
|
|
246
|
+
pending = walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment).finally(
|
|
247
|
+
() => hashing.delete(key),
|
|
248
|
+
)
|
|
249
|
+
hashing.set(key, pending)
|
|
250
|
+
}
|
|
251
|
+
const inputs = await pending
|
|
252
|
+
signal?.throwIfAborted()
|
|
253
|
+
return inputs
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
async function walkWorkspaceInputs(
|
|
257
|
+
app: string,
|
|
258
|
+
everyByte: boolean,
|
|
259
|
+
sourceOnly: boolean,
|
|
260
|
+
podsEnvironment: ReturnType<typeof reactNativePodsEnvironment>,
|
|
261
|
+
): Promise<WorkspaceInputs> {
|
|
233
262
|
const root = findWorkspaceRoot(app)
|
|
234
263
|
const excluded = await workspaceExclusion(
|
|
235
264
|
root,
|
|
@@ -306,7 +335,6 @@ async function hashWorkspaceInputs(
|
|
|
306
335
|
.readdirSync(directory, { withFileTypes: true })
|
|
307
336
|
.sort((a, b) => a.name.localeCompare(b.name))
|
|
308
337
|
for (const entry of entries) {
|
|
309
|
-
signal?.throwIfAborted()
|
|
310
338
|
const file = path.join(directory, entry.name)
|
|
311
339
|
const relative = path.relative(root, file)
|
|
312
340
|
if (excluded(relative, entry.isDirectory())) continue
|
|
@@ -357,7 +385,6 @@ async function hashWorkspaceInputs(
|
|
|
357
385
|
}
|
|
358
386
|
walk(root)
|
|
359
387
|
for (let start = 0; start < unread.length; start += 32) {
|
|
360
|
-
signal?.throwIfAborted()
|
|
361
388
|
await Promise.all(
|
|
362
389
|
unread.slice(start, start + 32).map(async ({ file, content }) => {
|
|
363
390
|
const bytes = await fs.promises.readFile(file)
|
|
@@ -389,7 +416,7 @@ async function hashWorkspaceInputs(
|
|
|
389
416
|
process.platform === 'darwin'
|
|
390
417
|
? Promise.all([
|
|
391
418
|
// runner-toolchain-platform: darwin
|
|
392
|
-
execFileAsync('pod', ['--version'], { env: utf8Env
|
|
419
|
+
execFileAsync('pod', ['--version'], { env: utf8Env }).catch(
|
|
393
420
|
(cause: unknown) => {
|
|
394
421
|
throw new Error('CocoaPods is required to install source dependencies', {
|
|
395
422
|
cause,
|
|
@@ -397,17 +424,17 @@ async function hashWorkspaceInputs(
|
|
|
397
424
|
},
|
|
398
425
|
),
|
|
399
426
|
// runner-toolchain-platform: darwin
|
|
400
|
-
execFileAsync('xcodebuild', ['-version'], { env: utf8Env
|
|
427
|
+
execFileAsync('xcodebuild', ['-version'], { env: utf8Env }),
|
|
401
428
|
]).then(([pod, xcode]) => ({ podVersion: pod.stdout, xcode: xcode.stdout }))
|
|
402
429
|
: {},
|
|
403
430
|
execFileAsync(
|
|
404
431
|
pinnedNode ? 'mise' : 'node',
|
|
405
432
|
pinnedNode ? ['exec', pinnedNode, '--', 'node', '--version'] : ['--version'],
|
|
406
|
-
{ cwd: root
|
|
433
|
+
{ cwd: root },
|
|
407
434
|
),
|
|
408
435
|
])
|
|
409
436
|
const toolchain = JSON.stringify({
|
|
410
|
-
preparation:
|
|
437
|
+
preparation: 8,
|
|
411
438
|
appRelative,
|
|
412
439
|
...mac,
|
|
413
440
|
node: node.stdout.trim(),
|
|
@@ -569,7 +596,11 @@ const preparing = new Map<string, ReturnType<typeof prepareWorkspace>>()
|
|
|
569
596
|
// a prepare stays current until a file under its root changes outside the
|
|
570
597
|
// ignored paths. the filesystem reports each edit, so a launch with nothing
|
|
571
598
|
// edited since the last prepare skips the walk, the toolchain probes and the sync.
|
|
572
|
-
type RootWatch = {
|
|
599
|
+
type RootWatch = {
|
|
600
|
+
edits: number
|
|
601
|
+
excluded?: (relative: string) => boolean
|
|
602
|
+
ignoredLater?: (relative: string) => boolean
|
|
603
|
+
}
|
|
573
604
|
const watches = new Map<string, RootWatch>()
|
|
574
605
|
const current = new Map<
|
|
575
606
|
string,
|
|
@@ -593,6 +624,7 @@ function watchRoot(root: string) {
|
|
|
593
624
|
parts.some((_, index) => excluded(parts.slice(0, index + 1).join(path.sep)))
|
|
594
625
|
)
|
|
595
626
|
return
|
|
627
|
+
if (filename && watch.ignoredLater?.(filename)) return
|
|
596
628
|
watch.edits += 1
|
|
597
629
|
})
|
|
598
630
|
watcher.on('error', () => {
|
|
@@ -765,10 +797,15 @@ async function copyInstalledWorkspace(
|
|
|
765
797
|
}
|
|
766
798
|
|
|
767
799
|
// a clone cannot cross volumes, so workspaces live in the first cache on the
|
|
768
|
-
// source's volume: the shared cache, the
|
|
800
|
+
// source's volume: the shared cache, the peach cache, the user's home, else the
|
|
801
|
+
// volume's top (the boot volume's top is the read-only system root)
|
|
769
802
|
function nativeWorkspacesDir(root: string): string {
|
|
770
803
|
const device = fs.statSync(root).dev
|
|
771
|
-
for (const cache of [
|
|
804
|
+
for (const cache of [
|
|
805
|
+
sharedCacheDir(cacheDir()),
|
|
806
|
+
cacheDir(),
|
|
807
|
+
path.join(os.homedir(), '.peach-cache'),
|
|
808
|
+
]) {
|
|
772
809
|
let existing = cache
|
|
773
810
|
while (!fs.existsSync(existing)) existing = path.dirname(existing)
|
|
774
811
|
if (fs.statSync(existing).dev === device)
|
|
@@ -884,7 +921,7 @@ async function prepareWorkspace(
|
|
|
884
921
|
podsEnvironment: ReturnType<typeof reactNativePodsEnvironment>,
|
|
885
922
|
) {
|
|
886
923
|
if (
|
|
887
|
-
process.platform !== 'darwin' &&
|
|
924
|
+
(process.platform !== 'darwin' || process.env.PEACH_PREPARED_NATIVE_WORKSPACES) &&
|
|
888
925
|
(stage === 'workspace' || nativeWorkspaceAvailable())
|
|
889
926
|
) {
|
|
890
927
|
const source = await hashExpoSourceWorkspace(app)
|
|
@@ -905,6 +942,7 @@ async function prepareWorkspace(
|
|
|
905
942
|
podsEnvironment,
|
|
906
943
|
)
|
|
907
944
|
watch.excluded = excluded
|
|
945
|
+
watch.ignoredLater = await untrackedIgnored(root, linkedPackageDirectories(root, app))
|
|
908
946
|
const manifest = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8'))
|
|
909
947
|
const appManifest = JSON.parse(fs.readFileSync(path.join(app, 'package.json'), 'utf8'))
|
|
910
948
|
const work = path.join(nativeWorkspacesDir(root), nativeHash)
|
|
@@ -929,6 +967,7 @@ async function prepareWorkspace(
|
|
|
929
967
|
await fs.promises.rm(partial, { recursive: true, force: true })
|
|
930
968
|
await fs.promises.rm(work, { recursive: true, force: true })
|
|
931
969
|
fs.mkdirSync(path.dirname(work), { recursive: true })
|
|
970
|
+
report('copying workspace')
|
|
932
971
|
await copyInstalledWorkspace(root, partial, excluded)
|
|
933
972
|
fs.renameSync(partial, work)
|
|
934
973
|
// a lifecycle script that installs git hooks needs a repository, and the copy gets its own.
|
|
@@ -936,6 +975,13 @@ async function prepareWorkspace(
|
|
|
936
975
|
initializeWorkspaceGit(root, work)
|
|
937
976
|
report('copied workspace')
|
|
938
977
|
}
|
|
978
|
+
// a workspace already complete for this stage needs no install or build
|
|
979
|
+
// probes: finding that out under the lock only lengthens the next wait.
|
|
980
|
+
if (projectReady && (stage === 'project' || fs.existsSync(marker))) {
|
|
981
|
+
const now = new Date()
|
|
982
|
+
fs.utimesSync(work, now, now)
|
|
983
|
+
return { app: preparedApp, work }
|
|
984
|
+
}
|
|
939
985
|
// mise ties trust to a path. Carry only configs mise can load from the
|
|
940
986
|
// original app and whose copied bytes still match, for this prepare only.
|
|
941
987
|
const trustedConfigs = new Set<string>()
|
|
@@ -1040,9 +1086,11 @@ async function prepareWorkspace(
|
|
|
1040
1086
|
installEnv,
|
|
1041
1087
|
)
|
|
1042
1088
|
}
|
|
1089
|
+
report(`installing js dependencies with ${manager}`)
|
|
1043
1090
|
await execute(install, work, installEnv)
|
|
1044
1091
|
report('installed js dependencies')
|
|
1045
1092
|
}
|
|
1093
|
+
const oneSdkPrepared = new Set<string>()
|
|
1046
1094
|
if (!projectReady) {
|
|
1047
1095
|
await prepareNativeProject(
|
|
1048
1096
|
preparedApp,
|
|
@@ -1051,6 +1099,7 @@ async function prepareWorkspace(
|
|
|
1051
1099
|
execute,
|
|
1052
1100
|
run,
|
|
1053
1101
|
report,
|
|
1102
|
+
oneSdkPrepared,
|
|
1054
1103
|
)
|
|
1055
1104
|
fs.writeFileSync(projectMarker, 'complete\n')
|
|
1056
1105
|
}
|
|
@@ -1062,14 +1111,18 @@ async function prepareWorkspace(
|
|
|
1062
1111
|
execute,
|
|
1063
1112
|
run,
|
|
1064
1113
|
report,
|
|
1114
|
+
oneSdkPrepared,
|
|
1065
1115
|
)
|
|
1066
1116
|
fs.writeFileSync(marker, 'complete\n')
|
|
1067
1117
|
}
|
|
1068
1118
|
const now = new Date()
|
|
1069
1119
|
fs.utimesSync(work, now, now)
|
|
1070
|
-
await pruneExpoNativeWorkspaces(path.dirname(work), work)
|
|
1071
1120
|
return { app: preparedApp, work }
|
|
1072
1121
|
})
|
|
1122
|
+
// retirement scans and renames other workspaces; it keeps this one by name
|
|
1123
|
+
// and takes their locks without waiting, so it needs no place inside this
|
|
1124
|
+
// workspace's lock, where it only lengthens the wait of the next prepare.
|
|
1125
|
+
await pruneExpoNativeWorkspaces(path.dirname(work), work)
|
|
1073
1126
|
current.set(key, { watch, edits, result })
|
|
1074
1127
|
return result
|
|
1075
1128
|
}
|
|
@@ -1105,11 +1158,16 @@ async function prepareNativeProject(
|
|
|
1105
1158
|
execute: NativeExecute,
|
|
1106
1159
|
run: NativeRun,
|
|
1107
1160
|
report: (message: string) => void,
|
|
1161
|
+
oneSdkPrepared?: Set<string>,
|
|
1108
1162
|
) {
|
|
1109
1163
|
const appRequire = createRequire(path.join(app, 'package.json'))
|
|
1110
1164
|
// peach runs the new architecture only, and pods such as
|
|
1111
1165
|
// react-native-paste-input refuse to evaluate without it
|
|
1112
|
-
const sourcePodEnv = {
|
|
1166
|
+
const sourcePodEnv = {
|
|
1167
|
+
EXPO_USE_PRECOMPILED_MODULES: '0',
|
|
1168
|
+
ONE_PREBUILT_IOS: '0',
|
|
1169
|
+
RCT_NEW_ARCH_ENABLED: '1',
|
|
1170
|
+
}
|
|
1113
1171
|
const declares = (name: string) => declaresNativeDependency(manifest, name)
|
|
1114
1172
|
if (!fs.existsSync(path.join(app, 'ios', 'Podfile'))) {
|
|
1115
1173
|
if (!declares('expo') && !declares('one'))
|
|
@@ -1129,7 +1187,15 @@ async function prepareNativeProject(
|
|
|
1129
1187
|
)
|
|
1130
1188
|
report('prebuild done')
|
|
1131
1189
|
}
|
|
1132
|
-
|
|
1190
|
+
report('preparing native sources')
|
|
1191
|
+
// one prepare generates the sources once: its project and workspace stages
|
|
1192
|
+
// read the same app and installed facades, so the second generation in the
|
|
1193
|
+
// same prepare is the same child process run again for identical bytes.
|
|
1194
|
+
if (!oneSdkPrepared?.has(app)) {
|
|
1195
|
+
await prepareOneSDKSources(app)
|
|
1196
|
+
oneSdkPrepared?.add(app)
|
|
1197
|
+
}
|
|
1198
|
+
report('native sources prepared')
|
|
1133
1199
|
if (stage === 'project') return
|
|
1134
1200
|
// react-native-skia leaves Dawn to react-native-webgpu whenever that package
|
|
1135
1201
|
// is installed, but autolinking links it only into apps that declare it.
|
|
@@ -1143,7 +1209,9 @@ async function prepareNativeProject(
|
|
|
1143
1209
|
...(declares('react-native-webgpu') ? {} : { RNSKIA_VENDOR_DAWN: '1' }),
|
|
1144
1210
|
}
|
|
1145
1211
|
stageCachedQuickCryptoOpenSsl(app)
|
|
1212
|
+
report('waiting for CocoaPods cache')
|
|
1146
1213
|
await withCocoaPodsCacheLock(async () => {
|
|
1214
|
+
report('installing CocoaPods dependencies')
|
|
1147
1215
|
if (bundled) {
|
|
1148
1216
|
await run('bundle', ['install'], iosRoot, podEnv)
|
|
1149
1217
|
await run('bundle', ['exec', 'pod', 'install'], iosRoot, podEnv)
|