peachsim 0.1.2305 → 0.1.2363
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 +15224 -9251
- 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 +12523 -7211
- 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 +12629 -8646
- package/dist-lib/host/fetch-proxy-handler.cjs +432 -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 +2188 -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 +2177 -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 +14042 -9679
- 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 +5345 -3573
- package/dist-lib/vite.cjs +2891 -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/QuickLook.framework/Headers/QLPreviewController.h +1 -1
- 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 +3 -1
- 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 +51 -23
- 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 +2162 -280
- 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/swift-standins.ts
CHANGED
|
@@ -39,11 +39,14 @@ import {
|
|
|
39
39
|
swiftCompileSdkOptions,
|
|
40
40
|
swiftPeachModules,
|
|
41
41
|
swiftSdkPaths,
|
|
42
|
+
REACH_STAGED_FRAMEWORKS,
|
|
42
43
|
} from './swift-compile'
|
|
43
44
|
import { emitCxxStandin } from './swift-cxx-standin'
|
|
44
45
|
import { swiftModuleToolchain } from './swift-distribution'
|
|
46
|
+
import { IOS_SDK_TARGET } from './swift-objc-sdk'
|
|
45
47
|
import {
|
|
46
48
|
iosSdkId,
|
|
49
|
+
materializeObjcSdk,
|
|
47
50
|
WASI_EMULATION,
|
|
48
51
|
WASI_EMULATION_FLAGS,
|
|
49
52
|
moduleMapHeaders,
|
|
@@ -291,13 +294,6 @@ export interface SwiftDeclaredFrameworks {
|
|
|
291
294
|
compiledImports: ReadonlyMap<string, ReadonlySet<string>>
|
|
292
295
|
}
|
|
293
296
|
|
|
294
|
-
/**
|
|
295
|
-
* frameworks without Swift declarations that stage by the headers consumers
|
|
296
|
-
* import: React's umbrella imports UIKit headers (UIKeyCommand, UIFontMetrics,
|
|
297
|
-
* UIAccessibilityElement) the sdk's clang UIKit surface does not carry.
|
|
298
|
-
*/
|
|
299
|
-
const REACH_STAGED_FRAMEWORKS: ReadonlySet<string> = new Set(['React'])
|
|
300
|
-
|
|
301
297
|
const OBJC_IMPORT = /#\s*(?:import|include)\s*[<"](?:[\w+-]+\/)?([\w+.-]+\.h)[>"]/g
|
|
302
298
|
|
|
303
299
|
/**
|
|
@@ -453,10 +449,7 @@ export function binaryHeaderSearchPaths(
|
|
|
453
449
|
const name = path.basename(framework, '.framework')
|
|
454
450
|
if (!declaredFrameworks) continue
|
|
455
451
|
const imports = declaredFrameworks.imports.get(name)
|
|
456
|
-
const swift =
|
|
457
|
-
!REACH_STAGED_FRAMEWORKS.has(name) &&
|
|
458
|
-
imports &&
|
|
459
|
-
swiftModuleInterface(declaredFrameworks.moduleRoot, name)
|
|
452
|
+
const swift = imports && swiftModuleInterface(declaredFrameworks.moduleRoot, name)
|
|
460
453
|
const compiled = declaredFrameworks.compiledImports.get(name)
|
|
461
454
|
if (swift) declared.set(framework, { ...swift, imports, sdkHeader: null })
|
|
462
455
|
else if ((compiled || imports) && REACH_STAGED_FRAMEWORKS.has(name)) {
|
|
@@ -471,7 +464,7 @@ export function binaryHeaderSearchPaths(
|
|
|
471
464
|
declared.set(framework, {
|
|
472
465
|
declared: null,
|
|
473
466
|
header: null,
|
|
474
|
-
imports: compiled ??
|
|
467
|
+
imports: new Set([...(compiled ?? []), ...(imports ?? [])]),
|
|
475
468
|
sdkHeader: fs.readFileSync(sdkHeader, 'utf8'),
|
|
476
469
|
})
|
|
477
470
|
}
|
|
@@ -715,6 +708,9 @@ function simulatorSlice(xcframeworkDir: string): string | null {
|
|
|
715
708
|
return slice ? path.join(xcframeworkDir, slice) : null
|
|
716
709
|
}
|
|
717
710
|
|
|
711
|
+
const NO_IMPORTABLE_SURFACE =
|
|
712
|
+
'its iOS simulator slice has no Swift interface or C modulemap'
|
|
713
|
+
|
|
718
714
|
function surfaces(
|
|
719
715
|
xcframeworkDir: string,
|
|
720
716
|
target: string,
|
|
@@ -1109,6 +1105,137 @@ function swiftStandin(
|
|
|
1109
1105
|
)
|
|
1110
1106
|
}
|
|
1111
1107
|
|
|
1108
|
+
// a source module a binary's interface imports, emitted from its sources as
|
|
1109
|
+
// the app compiles them: the wasm module the binary's generated stand-in
|
|
1110
|
+
// typechecks against, and its interface as an iOS simulator framework, which
|
|
1111
|
+
// the intake reads the binary's declarations over.
|
|
1112
|
+
function emitSourceModule(
|
|
1113
|
+
binary: SwiftPackageBinary,
|
|
1114
|
+
moduleSources: NonNullable<SwiftPackageBinary['moduleSources']>,
|
|
1115
|
+
toolchain: Toolchain & { standinModules: string },
|
|
1116
|
+
frameworks: string,
|
|
1117
|
+
): void {
|
|
1118
|
+
const module = swiftTargetModuleName(binary.target)
|
|
1119
|
+
const sources = moduleSources.sources.map((source) => path.join(binary.dir, source))
|
|
1120
|
+
if (moduleSources.resources) {
|
|
1121
|
+
const accessor = path.join(
|
|
1122
|
+
toolchain.standinModules,
|
|
1123
|
+
'sources',
|
|
1124
|
+
module,
|
|
1125
|
+
'Bundle.swift',
|
|
1126
|
+
)
|
|
1127
|
+
fs.mkdirSync(path.dirname(accessor), { recursive: true })
|
|
1128
|
+
fs.writeFileSync(
|
|
1129
|
+
accessor,
|
|
1130
|
+
'import Foundation\n\nextension Foundation.Bundle {\n static let module: Bundle = Bundle.main\n}\n',
|
|
1131
|
+
)
|
|
1132
|
+
sources.push(accessor)
|
|
1133
|
+
}
|
|
1134
|
+
const imports = [
|
|
1135
|
+
...new Set(
|
|
1136
|
+
sources.flatMap((file) => swiftImportNames(fs.readFileSync(file, 'utf8'))),
|
|
1137
|
+
),
|
|
1138
|
+
]
|
|
1139
|
+
const framework = path.join(frameworks, `${module}.framework`)
|
|
1140
|
+
const interfaceDir = path.join(framework, 'Modules', `${module}.swiftmodule`)
|
|
1141
|
+
fs.mkdirSync(interfaceDir, { recursive: true })
|
|
1142
|
+
fs.mkdirSync(path.join(framework, 'Headers'))
|
|
1143
|
+
// xcode's module map for a swift-only framework: clang importers see its
|
|
1144
|
+
// @objc declarations through the generated header
|
|
1145
|
+
fs.writeFileSync(
|
|
1146
|
+
path.join(framework, 'Modules', 'module.modulemap'),
|
|
1147
|
+
`framework module ${module} {\n header "${module}-Swift.h"\n requires objc\n}\n`,
|
|
1148
|
+
)
|
|
1149
|
+
exec(path.join(toolchain.toolchainBin, 'swiftc'), [
|
|
1150
|
+
'-emit-module',
|
|
1151
|
+
'-parse-as-library',
|
|
1152
|
+
'-wmo',
|
|
1153
|
+
'-module-name',
|
|
1154
|
+
module,
|
|
1155
|
+
...moduleSources.flags,
|
|
1156
|
+
...wasmFlags(toolchain, [...FOUNDATION_IMPLICIT_MODULES, ...imports]),
|
|
1157
|
+
...FOUNDATION_IMPLICIT_MODULES.flatMap((name) => [
|
|
1158
|
+
'-Xfrontend',
|
|
1159
|
+
'-import-module',
|
|
1160
|
+
'-Xfrontend',
|
|
1161
|
+
name,
|
|
1162
|
+
]),
|
|
1163
|
+
...WASM_EH_FLAGS,
|
|
1164
|
+
'-enable-library-evolution',
|
|
1165
|
+
'-experimental-skip-non-inlinable-function-bodies',
|
|
1166
|
+
'-emit-module-path',
|
|
1167
|
+
path.join(toolchain.standinModules, `${module}.swiftmodule`),
|
|
1168
|
+
...sources,
|
|
1169
|
+
])
|
|
1170
|
+
// the intake reads the binary over its own iOS sdk, whose modules and
|
|
1171
|
+
// declarations are not peach's, so the interface the binary imports is the
|
|
1172
|
+
// sources' declarations typechecked against that sdk. a module the sdk lacks
|
|
1173
|
+
// is an empty one, as the intake gives a header's.
|
|
1174
|
+
const sdk = materializeObjcSdk(cacheDir)
|
|
1175
|
+
const scratch = path.join(toolchain.standinModules, 'sources', module, 'ios')
|
|
1176
|
+
const absent: string[] = []
|
|
1177
|
+
for (;;) {
|
|
1178
|
+
try {
|
|
1179
|
+
exec(path.join(toolchain.toolchainBin, 'swiftc'), [
|
|
1180
|
+
'-emit-module',
|
|
1181
|
+
'-parse-as-library',
|
|
1182
|
+
'-wmo',
|
|
1183
|
+
'-module-name',
|
|
1184
|
+
module,
|
|
1185
|
+
...moduleSources.flags,
|
|
1186
|
+
'-target',
|
|
1187
|
+
IOS_SDK_TARGET,
|
|
1188
|
+
'-sdk',
|
|
1189
|
+
sdk,
|
|
1190
|
+
'-resource-dir',
|
|
1191
|
+
path.join(sdk, 'usr/lib/swift'),
|
|
1192
|
+
'-I',
|
|
1193
|
+
path.resolve(toolchain.toolchainBin, '../lib/swift/clang/include'),
|
|
1194
|
+
'-I',
|
|
1195
|
+
path.resolve(toolchain.toolchainBin, '../lib/swift/shims'),
|
|
1196
|
+
'-I',
|
|
1197
|
+
path.join(toolchain.moduleRoot, 'ios-simulator-stdlib'),
|
|
1198
|
+
'-I',
|
|
1199
|
+
path.join(sdk, 'usr/include/libxml2'),
|
|
1200
|
+
// a source module these import was emitted here first
|
|
1201
|
+
'-F',
|
|
1202
|
+
frameworks,
|
|
1203
|
+
...absent.flatMap((name) => ['-I', path.join(scratch, 'absent', name)]),
|
|
1204
|
+
'-module-cache-path',
|
|
1205
|
+
path.join(scratch, 'module-cache'),
|
|
1206
|
+
'-enable-library-evolution',
|
|
1207
|
+
'-Xfrontend',
|
|
1208
|
+
'-experimental-skip-all-function-bodies',
|
|
1209
|
+
'-Xfrontend',
|
|
1210
|
+
'-experimental-lazy-typecheck',
|
|
1211
|
+
'-Xfrontend',
|
|
1212
|
+
'-experimental-skip-non-exportable-decls',
|
|
1213
|
+
'-emit-module-path',
|
|
1214
|
+
path.join(scratch, `${module}.swiftmodule`),
|
|
1215
|
+
'-emit-module-interface-path',
|
|
1216
|
+
path.join(interfaceDir, 'arm64-apple-ios-simulator.swiftinterface'),
|
|
1217
|
+
'-emit-objc-header-path',
|
|
1218
|
+
path.join(framework, 'Headers', `${module}-Swift.h`),
|
|
1219
|
+
...sources,
|
|
1220
|
+
])
|
|
1221
|
+
break
|
|
1222
|
+
} catch (error) {
|
|
1223
|
+
const missing = [...failure(error).matchAll(/no such module '(\w+)'/g)]
|
|
1224
|
+
.map((match) => match[1]!)
|
|
1225
|
+
.filter((name) => !absent.includes(name))
|
|
1226
|
+
if (missing.length === 0) throw error
|
|
1227
|
+
for (const name of missing) {
|
|
1228
|
+
fs.mkdirSync(path.join(scratch, 'absent', name), { recursive: true })
|
|
1229
|
+
fs.writeFileSync(
|
|
1230
|
+
path.join(scratch, 'absent', name, 'module.modulemap'),
|
|
1231
|
+
`module ${name} {}\n`,
|
|
1232
|
+
)
|
|
1233
|
+
absent.push(name)
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1112
1239
|
// a placeholder package's swift target from its own sources. the gap that
|
|
1113
1240
|
// forces the placeholder is a compile error in them, so the frontend reads
|
|
1114
1241
|
// only the public interface, skipping bodies and internals, and emits it in
|
|
@@ -1604,6 +1731,7 @@ function graphStandin(
|
|
|
1604
1731
|
const trapped = new Set<string>()
|
|
1605
1732
|
const forced = new Set<string>()
|
|
1606
1733
|
const nonfailable = new Set<string>()
|
|
1734
|
+
const unwrapped = new Map<string, Set<string>>()
|
|
1607
1735
|
const unconformed = new Map<string, Set<string>>()
|
|
1608
1736
|
const objcProtocols = new Set(
|
|
1609
1737
|
graphs.flatMap((graph) =>
|
|
@@ -1638,6 +1766,7 @@ function graphStandin(
|
|
|
1638
1766
|
trapped,
|
|
1639
1767
|
forcedOverride: forced,
|
|
1640
1768
|
coderNonfailable: nonfailable,
|
|
1769
|
+
unwrappedParameters: unwrapped,
|
|
1641
1770
|
inert,
|
|
1642
1771
|
imports: [...(placeholder?.peachImports ?? []), ...imports],
|
|
1643
1772
|
family: [...imports, ...(placeholder?.peachImports ?? [])],
|
|
@@ -1695,7 +1824,8 @@ function graphStandin(
|
|
|
1695
1824
|
trapped.size +
|
|
1696
1825
|
unconformed.size +
|
|
1697
1826
|
forced.size +
|
|
1698
|
-
nonfailable.size
|
|
1827
|
+
nonfailable.size +
|
|
1828
|
+
[...unwrapped.values()].reduce((sum, types) => sum + types.size, 0)
|
|
1699
1829
|
const elsewhere: string[] = []
|
|
1700
1830
|
for (const match of check.stderr.matchAll(/^(\S+?):(\d+):\d+: error: (.*)$/gm)) {
|
|
1701
1831
|
const owner = match[1] === file ? owners[Number(match[2]) - 1] : undefined
|
|
@@ -1722,6 +1852,29 @@ function graphStandin(
|
|
|
1722
1852
|
unconformed.set(owner, new Set([...(unconformed.get(owner) ?? []), redundant]))
|
|
1723
1853
|
continue
|
|
1724
1854
|
}
|
|
1855
|
+
// the vendor overrode an objective-c method whose implicitly unwrapped
|
|
1856
|
+
// parameter the guest's swift superclass cannot let it narrow
|
|
1857
|
+
const narrowed =
|
|
1858
|
+
/^cannot override .* parameter of type '.+\?' with non-optional type '(.+)'$/.exec(
|
|
1859
|
+
match[3]!,
|
|
1860
|
+
)?.[1]
|
|
1861
|
+
if (owner && narrowed) {
|
|
1862
|
+
unwrapped.set(owner, new Set([...(unwrapped.get(owner) ?? []), narrowed]))
|
|
1863
|
+
continue
|
|
1864
|
+
}
|
|
1865
|
+
// an override of a member the guest superclass lacks, such as one the
|
|
1866
|
+
// clang importer mirrors from a protocol the objective-c superclass
|
|
1867
|
+
// adopts: nothing in the guest dispatches to it through the superclass
|
|
1868
|
+
if (
|
|
1869
|
+
owner &&
|
|
1870
|
+
/does not override any|overrides nothing|does not override a designated initializer/.test(
|
|
1871
|
+
match[3]!,
|
|
1872
|
+
) &&
|
|
1873
|
+
!plain.has(owner)
|
|
1874
|
+
) {
|
|
1875
|
+
plain.add(owner)
|
|
1876
|
+
continue
|
|
1877
|
+
}
|
|
1725
1878
|
if (owner && swiftPaths.has(owner))
|
|
1726
1879
|
throw new Error(
|
|
1727
1880
|
`Swift declaration ${module}.${owner} does not typecheck: ${match[3]}`,
|
|
@@ -1731,13 +1884,6 @@ function graphStandin(
|
|
|
1731
1884
|
`Configured Swift behavior ${module}.${owner} does not typecheck: ${match[3]}`,
|
|
1732
1885
|
)
|
|
1733
1886
|
if (
|
|
1734
|
-
owner &&
|
|
1735
|
-
/does not override any|overrides nothing|does not override a designated initializer/.test(
|
|
1736
|
-
match[3]!,
|
|
1737
|
-
)
|
|
1738
|
-
)
|
|
1739
|
-
plain.add(owner)
|
|
1740
|
-
else if (
|
|
1741
1887
|
owner &&
|
|
1742
1888
|
/failable initializer 'init\(coder:\)' cannot override a non-failable/.test(
|
|
1743
1889
|
match[3]!,
|
|
@@ -1765,7 +1911,8 @@ function graphStandin(
|
|
|
1765
1911
|
trapped.size +
|
|
1766
1912
|
unconformed.size +
|
|
1767
1913
|
forced.size +
|
|
1768
|
-
nonfailable.size
|
|
1914
|
+
nonfailable.size +
|
|
1915
|
+
[...unwrapped.values()].reduce((sum, types) => sum + types.size, 0) ===
|
|
1769
1916
|
before
|
|
1770
1917
|
)
|
|
1771
1918
|
throw new Error(
|
|
@@ -2209,8 +2356,13 @@ const UNSEARCHED = new Set([
|
|
|
2209
2356
|
])
|
|
2210
2357
|
|
|
2211
2358
|
// the crate whose static library is `lib<name>.a`: its `[lib] name`, or its
|
|
2212
|
-
// package name with dashes as underscores, as cargo names the library.
|
|
2213
|
-
|
|
2359
|
+
// package name with dashes as underscores, as cargo names the library. the
|
|
2360
|
+
// crate must declare a staticlib unless the app's own build declares one.
|
|
2361
|
+
export function crateFor(
|
|
2362
|
+
root: string,
|
|
2363
|
+
name: string,
|
|
2364
|
+
{ staticLibraryDeclared = false } = {},
|
|
2365
|
+
): string | null {
|
|
2214
2366
|
const walk = (dir: string, depth: number): string | null => {
|
|
2215
2367
|
const manifest = path.join(dir, 'Cargo.toml')
|
|
2216
2368
|
if (fs.existsSync(manifest)) {
|
|
@@ -2225,7 +2377,7 @@ export function crateFor(root: string, name: string): string | null {
|
|
|
2225
2377
|
const crate =
|
|
2226
2378
|
field(lib, 'name') ?? field(section('package'), 'name')?.replaceAll('-', '_')
|
|
2227
2379
|
if (crate === name) {
|
|
2228
|
-
if (!/crate-type\s*=\s*\[[^\]]*"staticlib"/.test(lib))
|
|
2380
|
+
if (!staticLibraryDeclared && !/crate-type\s*=\s*\[[^\]]*"staticlib"/.test(lib))
|
|
2229
2381
|
throw new Error(
|
|
2230
2382
|
`${path.relative(root, manifest)} builds lib${name} without crate-type "staticlib"`,
|
|
2231
2383
|
)
|
|
@@ -2253,7 +2405,7 @@ export function crateFor(root: string, name: string): string | null {
|
|
|
2253
2405
|
* entries up under this release whatever cargo it has, so a host with no wasm
|
|
2254
2406
|
* target links the archive the publisher built.
|
|
2255
2407
|
*/
|
|
2256
|
-
export const RUST_TOOLCHAIN = '1.
|
|
2408
|
+
export const RUST_TOOLCHAIN = '1.98.1'
|
|
2257
2409
|
|
|
2258
2410
|
function crateWorkspace(manifest: string): string {
|
|
2259
2411
|
let workspace = path.dirname(manifest)
|
|
@@ -2320,23 +2472,45 @@ function crateSourceDigest(manifest: string, searchRoot: string): string {
|
|
|
2320
2472
|
return hash.digest('hex')
|
|
2321
2473
|
}
|
|
2322
2474
|
|
|
2323
|
-
/**
|
|
2475
|
+
/**
|
|
2476
|
+
* the registry entry a crate's static library lives under. `features` is the
|
|
2477
|
+
* exact cargo feature set with default features off, as Bazel's crate_features;
|
|
2478
|
+
* absent, the crate builds with its default features.
|
|
2479
|
+
*/
|
|
2324
2480
|
export function rustCrateEntry(
|
|
2325
2481
|
manifest: string,
|
|
2326
2482
|
library: string,
|
|
2327
2483
|
moduleRoot: string,
|
|
2328
2484
|
searchRoot: string,
|
|
2485
|
+
features?: readonly string[],
|
|
2329
2486
|
) {
|
|
2330
2487
|
const inputs = {
|
|
2331
2488
|
crate: library,
|
|
2332
2489
|
source: crateSourceDigest(manifest, searchRoot),
|
|
2333
2490
|
target: RUST_TARGET,
|
|
2334
2491
|
build: 'release locked panic=abort',
|
|
2492
|
+
features: features ? [...features].sort().join(',') : 'default',
|
|
2335
2493
|
compiler: swiftModuleToolchain(moduleRoot).release,
|
|
2336
2494
|
sdk: swiftModuleSdk(moduleRoot).wasmSdkChecksum,
|
|
2337
2495
|
rust: RUST_TOOLCHAIN,
|
|
2338
2496
|
}
|
|
2339
|
-
return { name: library, inputs, key: nativeEntryKey(inputs) }
|
|
2497
|
+
return { name: library, inputs, key: nativeEntryKey(inputs), features }
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
/** a crate's static library from the registry, else built from its source. */
|
|
2501
|
+
export function rustCrateLibrary(
|
|
2502
|
+
manifest: string,
|
|
2503
|
+
library: string,
|
|
2504
|
+
searchRoot: string,
|
|
2505
|
+
moduleRoot: string,
|
|
2506
|
+
features?: readonly string[],
|
|
2507
|
+
): string {
|
|
2508
|
+
const entry = rustCrateEntry(manifest, library, moduleRoot, searchRoot, features)
|
|
2509
|
+
const prebuilt = fetchNativeEntry('rust', entry.name, entry.key)
|
|
2510
|
+
const archive = prebuilt
|
|
2511
|
+
? path.join(prebuilt, library)
|
|
2512
|
+
: buildRustCrate(manifest, library, searchRoot, moduleRoot, entry)
|
|
2513
|
+
return rustStaticLibrary(archive, moduleRoot)
|
|
2340
2514
|
}
|
|
2341
2515
|
|
|
2342
2516
|
/**
|
|
@@ -2386,15 +2560,21 @@ export function standinLibrary(
|
|
|
2386
2560
|
if (prebuilt) return path.join(prebuilt, recipe.archive)
|
|
2387
2561
|
}
|
|
2388
2562
|
}
|
|
2563
|
+
if (binary.rustCrate) {
|
|
2564
|
+
if (!toolchain) throw new Error('Rust native libraries need the Swift SDK')
|
|
2565
|
+
const { manifest, features } = binary.rustCrate
|
|
2566
|
+
return rustCrateLibrary(
|
|
2567
|
+
manifest,
|
|
2568
|
+
library,
|
|
2569
|
+
path.dirname(manifest),
|
|
2570
|
+
toolchain.moduleRoot,
|
|
2571
|
+
features,
|
|
2572
|
+
)
|
|
2573
|
+
}
|
|
2389
2574
|
const manifest = crateFor(searchRoot, path.basename(library, '.a').replace(/^lib/, ''))
|
|
2390
2575
|
if (!manifest) return null
|
|
2391
2576
|
if (!toolchain) throw new Error('Rust native libraries need the Swift SDK')
|
|
2392
|
-
|
|
2393
|
-
const prebuilt = fetchNativeEntry('rust', entry.name, entry.key)
|
|
2394
|
-
const archive = prebuilt
|
|
2395
|
-
? path.join(prebuilt, library)
|
|
2396
|
-
: buildRustCrate(manifest, library, searchRoot, toolchain.moduleRoot, entry)
|
|
2397
|
-
return rustStaticLibrary(archive, toolchain.moduleRoot)
|
|
2577
|
+
return rustCrateLibrary(manifest, library, searchRoot, toolchain.moduleRoot)
|
|
2398
2578
|
}
|
|
2399
2579
|
|
|
2400
2580
|
/** compiles a crate with the same rust standard library as registry archives. */
|
|
@@ -2403,7 +2583,7 @@ export function buildRustCrate(
|
|
|
2403
2583
|
library: string,
|
|
2404
2584
|
searchRoot: string,
|
|
2405
2585
|
moduleRoot: string,
|
|
2406
|
-
entry
|
|
2586
|
+
entry: ReturnType<typeof rustCrateEntry>,
|
|
2407
2587
|
): string {
|
|
2408
2588
|
const compiler = swiftModuleToolchain(moduleRoot)
|
|
2409
2589
|
const sdk = swiftModuleSdk(moduleRoot)
|
|
@@ -2456,10 +2636,18 @@ export function buildRustCrate(
|
|
|
2456
2636
|
'--cargo-arg=--locked',
|
|
2457
2637
|
'--cargo-arg=--jobs',
|
|
2458
2638
|
'--cargo-arg=' + (process.env.TM_EXEC_CPU_CORES ?? '1'),
|
|
2639
|
+
...(entry.features
|
|
2640
|
+
? [
|
|
2641
|
+
'--cargo-arg=--no-default-features',
|
|
2642
|
+
...entry.features.map((feature) => '--cargo-arg=--features=' + feature),
|
|
2643
|
+
]
|
|
2644
|
+
: []),
|
|
2459
2645
|
],
|
|
2460
2646
|
{
|
|
2461
2647
|
encoding: 'utf8',
|
|
2462
|
-
|
|
2648
|
+
// a cargo rustc-wrapper daemon such as sccache would outlive this
|
|
2649
|
+
// process's temporary directory and fail every later build.
|
|
2650
|
+
env: { ...swiftEnvironment(), [PEACH_FORKED_SCRIPT_ENV]: '1', RUSTC_WRAPPER: '' },
|
|
2463
2651
|
maxBuffer: 256 * 1024 * 1024,
|
|
2464
2652
|
stdio: ['ignore', 'pipe', 'pipe'],
|
|
2465
2653
|
},
|
|
@@ -2528,9 +2716,10 @@ async function sourceStandins(
|
|
|
2528
2716
|
const headers = new Map<string, string>()
|
|
2529
2717
|
for (const [index, binary] of binaries.entries()) {
|
|
2530
2718
|
try {
|
|
2531
|
-
|
|
2719
|
+
const swiftSources = binary.placeholder ?? binary.moduleSources
|
|
2720
|
+
if (swiftSources !== undefined) {
|
|
2532
2721
|
const dir = path.join(artifact, 'placeholders', String(index))
|
|
2533
|
-
for (const source of
|
|
2722
|
+
for (const source of swiftSources.sources) {
|
|
2534
2723
|
fs.mkdirSync(path.dirname(path.join(dir, source)), { recursive: true })
|
|
2535
2724
|
fs.copyFileSync(path.join(binary.dir, source), path.join(dir, source))
|
|
2536
2725
|
}
|
|
@@ -2567,6 +2756,12 @@ async function sourceStandins(
|
|
|
2567
2756
|
continue
|
|
2568
2757
|
}
|
|
2569
2758
|
const resolved = swiftBinaryFramework(binary)
|
|
2759
|
+
// a slice with nothing to import has no stand-in to build, so it never waits on
|
|
2760
|
+
// builder admission and a rebuild of the same app stays local
|
|
2761
|
+
if (surfaces(resolved.dir, binary.target).length === 0) {
|
|
2762
|
+
gaps.set(binary.target, NO_IMPORTABLE_SURFACE)
|
|
2763
|
+
continue
|
|
2764
|
+
}
|
|
2570
2765
|
const dir = path.join(artifact, String(index), path.basename(resolved.dir))
|
|
2571
2766
|
fs.cpSync(resolved.dir, dir, { recursive: true, dereference: true })
|
|
2572
2767
|
local.push({ ...binary, dir, url: null, checksum: null })
|
|
@@ -2752,11 +2947,13 @@ export function standinGenerationInputs(
|
|
|
2752
2947
|
const modules = new Set(
|
|
2753
2948
|
binaries.flatMap((binary) => {
|
|
2754
2949
|
try {
|
|
2755
|
-
return binary.
|
|
2756
|
-
? [
|
|
2757
|
-
:
|
|
2758
|
-
|
|
2759
|
-
)
|
|
2950
|
+
return binary.moduleSources !== undefined
|
|
2951
|
+
? []
|
|
2952
|
+
: binary.publicHeaders !== undefined || binary.placeholder !== undefined
|
|
2953
|
+
? [swiftTargetModuleName(binary.target)]
|
|
2954
|
+
: surfaces(swiftBinaryFramework(binary).dir, binary.target).map(
|
|
2955
|
+
(surface) => surface.module,
|
|
2956
|
+
)
|
|
2760
2957
|
} catch {
|
|
2761
2958
|
return []
|
|
2762
2959
|
}
|
|
@@ -2777,13 +2974,16 @@ export function standinGenerationInputs(
|
|
|
2777
2974
|
),
|
|
2778
2975
|
)
|
|
2779
2976
|
for (const binary of binaries) {
|
|
2780
|
-
|
|
2977
|
+
const swiftSources = binary.placeholder ?? binary.moduleSources
|
|
2978
|
+
if (swiftSources !== undefined) {
|
|
2781
2979
|
parts.push(
|
|
2782
2980
|
binary.target,
|
|
2783
2981
|
binary.source,
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2982
|
+
binary.placeholder
|
|
2983
|
+
? `placeholder/${binary.placeholder.gap}`
|
|
2984
|
+
: `module-sources/${binary.moduleSources?.resources}`,
|
|
2985
|
+
...swiftSources.flags,
|
|
2986
|
+
...swiftSources.sources.flatMap((source) => [
|
|
2787
2987
|
source,
|
|
2788
2988
|
createHash('sha256')
|
|
2789
2989
|
.update(fs.readFileSync(path.join(binary.dir, source)))
|
|
@@ -2932,7 +3132,7 @@ async function binaryStandins(
|
|
|
2932
3132
|
if (found.length === 0) {
|
|
2933
3133
|
fs.rmSync(work, { recursive: true, force: true })
|
|
2934
3134
|
if (all.length > 0) return []
|
|
2935
|
-
return
|
|
3135
|
+
return NO_IMPORTABLE_SURFACE
|
|
2936
3136
|
}
|
|
2937
3137
|
// own entries only: an inherited key such as a framework named constructor is not configured
|
|
2938
3138
|
const configured = new Map(Object.entries(behavior))
|
|
@@ -2941,7 +3141,10 @@ async function binaryStandins(
|
|
|
2941
3141
|
)
|
|
2942
3142
|
hash.update(digest)
|
|
2943
3143
|
hash.update([...siblings].sort().join('\0'))
|
|
2944
|
-
if (
|
|
3144
|
+
if (
|
|
3145
|
+
siblings.size > 0 ||
|
|
3146
|
+
found.some((surface) => surface.kind === 'mixed' || surface.kind === 'objc')
|
|
3147
|
+
)
|
|
2945
3148
|
hash.update(frameworks.digest)
|
|
2946
3149
|
for (const surface of found) {
|
|
2947
3150
|
hash.update(`${surface.kind}\0${surface.module}\0`)
|
|
@@ -3069,6 +3272,63 @@ async function binaryStandins(
|
|
|
3069
3272
|
return settle(result)
|
|
3070
3273
|
}
|
|
3071
3274
|
|
|
3275
|
+
/** the source targets whose modules the binaries' interfaces and headers
|
|
3276
|
+
* import, with the source targets those import in turn. */
|
|
3277
|
+
export function standinModuleSources(
|
|
3278
|
+
binaries: readonly SwiftPackageBinary[],
|
|
3279
|
+
candidates: readonly SwiftPackageBinary[],
|
|
3280
|
+
): SwiftPackageBinary[] {
|
|
3281
|
+
const byModule = new Map(
|
|
3282
|
+
candidates.map((candidate) => [swiftTargetModuleName(candidate.target), candidate]),
|
|
3283
|
+
)
|
|
3284
|
+
const shipped = new Set<string>()
|
|
3285
|
+
const pending: string[] = []
|
|
3286
|
+
const read = (dir: string, sources: readonly string[]) =>
|
|
3287
|
+
sources.flatMap((source) =>
|
|
3288
|
+
swiftImportNames(fs.readFileSync(path.join(dir, source), 'utf8')),
|
|
3289
|
+
)
|
|
3290
|
+
for (const binary of binaries) {
|
|
3291
|
+
if (binary.placeholder !== undefined) {
|
|
3292
|
+
shipped.add(swiftTargetModuleName(binary.target))
|
|
3293
|
+
pending.push(...read(binary.dir, binary.placeholder.sources))
|
|
3294
|
+
continue
|
|
3295
|
+
}
|
|
3296
|
+
if (binary.publicHeaders !== undefined) continue
|
|
3297
|
+
let found: Surface[]
|
|
3298
|
+
try {
|
|
3299
|
+
found = surfaces(swiftBinaryFramework(binary).dir, binary.target)
|
|
3300
|
+
} catch {
|
|
3301
|
+
continue
|
|
3302
|
+
}
|
|
3303
|
+
for (const surface of found) {
|
|
3304
|
+
shipped.add(surface.module)
|
|
3305
|
+
pending.push(...surfaceImports(surface))
|
|
3306
|
+
}
|
|
3307
|
+
}
|
|
3308
|
+
const selected = new Map<string, SwiftPackageBinary>()
|
|
3309
|
+
for (let module = pending.pop(); module !== undefined; module = pending.pop()) {
|
|
3310
|
+
const candidate = byModule.get(module)
|
|
3311
|
+
if (!candidate || shipped.has(module) || selected.has(module)) continue
|
|
3312
|
+
selected.set(module, candidate)
|
|
3313
|
+
pending.push(...read(candidate.dir, candidate.moduleSources?.sources ?? []))
|
|
3314
|
+
}
|
|
3315
|
+
return [...selected.values()]
|
|
3316
|
+
}
|
|
3317
|
+
|
|
3318
|
+
// the modules a surface's swift interface and headers import
|
|
3319
|
+
function surfaceImports(surface: Surface): string[] {
|
|
3320
|
+
return [
|
|
3321
|
+
...(surface.kind === 'swift' || surface.kind === 'mixed'
|
|
3322
|
+
? swiftImportNames(fs.readFileSync(surface.interface, 'utf8'))
|
|
3323
|
+
: []),
|
|
3324
|
+
...(surface.kind === 'objc' || surface.kind === 'mixed'
|
|
3325
|
+
? files(surface.headers, (name) => name.endsWith('.h')).flatMap((file) =>
|
|
3326
|
+
clangImportNames(fs.readFileSync(path.join(surface.headers, file), 'utf8')),
|
|
3327
|
+
)
|
|
3328
|
+
: []),
|
|
3329
|
+
]
|
|
3330
|
+
}
|
|
3331
|
+
|
|
3072
3332
|
/**
|
|
3073
3333
|
* stand-ins for the binary targets the app reaches, built on this host.
|
|
3074
3334
|
* `provided` names what peach already ships, by target and module: those
|
|
@@ -3150,15 +3410,25 @@ async function buildStandins(
|
|
|
3150
3410
|
// the modules each binary's swift interfaces import
|
|
3151
3411
|
const interfaceImports = new Map<SwiftPackageBinary, Set<string>>()
|
|
3152
3412
|
for (const binary of binaries) {
|
|
3153
|
-
|
|
3413
|
+
const swiftSources = binary.placeholder ?? binary.moduleSources
|
|
3414
|
+
if (swiftSources !== undefined) {
|
|
3415
|
+
const texts = swiftSources.sources.map((source) =>
|
|
3416
|
+
fs.readFileSync(path.join(binary.dir, source), 'utf8'),
|
|
3417
|
+
)
|
|
3154
3418
|
interfaceImports.set(
|
|
3155
3419
|
binary,
|
|
3156
|
-
new Set(
|
|
3157
|
-
binary.placeholder.sources.flatMap((source) =>
|
|
3158
|
-
swiftImportNames(fs.readFileSync(path.join(binary.dir, source), 'utf8')),
|
|
3159
|
-
),
|
|
3160
|
-
),
|
|
3420
|
+
new Set(texts.flatMap((text) => swiftImportNames(text))),
|
|
3161
3421
|
)
|
|
3422
|
+
if (binary.moduleSources !== undefined)
|
|
3423
|
+
frameworkInputs.push(
|
|
3424
|
+
`${binary.target}\0${createHash('sha256')
|
|
3425
|
+
.update(
|
|
3426
|
+
[iosSdkId(), ...swiftSources.flags, ...swiftSources.sources, ...texts].join(
|
|
3427
|
+
'\0',
|
|
3428
|
+
),
|
|
3429
|
+
)
|
|
3430
|
+
.digest('hex')}`,
|
|
3431
|
+
)
|
|
3162
3432
|
continue
|
|
3163
3433
|
}
|
|
3164
3434
|
if (binary.publicHeaders !== undefined) continue
|
|
@@ -3169,17 +3439,7 @@ async function buildStandins(
|
|
|
3169
3439
|
interfaceImports.set(binary, imports)
|
|
3170
3440
|
for (const surface of surfaces(artifact.dir, binary.target)) {
|
|
3171
3441
|
byModule.set(surface.module, binary)
|
|
3172
|
-
|
|
3173
|
-
for (const module of swiftImportNames(
|
|
3174
|
-
fs.readFileSync(surface.interface, 'utf8'),
|
|
3175
|
-
))
|
|
3176
|
-
imports.add(module)
|
|
3177
|
-
if (surface.kind === 'objc' || surface.kind === 'mixed')
|
|
3178
|
-
for (const file of files(surface.headers, (name) => name.endsWith('.h')))
|
|
3179
|
-
for (const module of clangImportNames(
|
|
3180
|
-
fs.readFileSync(path.join(surface.headers, file), 'utf8'),
|
|
3181
|
-
))
|
|
3182
|
-
imports.add(module)
|
|
3442
|
+
for (const module of surfaceImports(surface)) imports.add(module)
|
|
3183
3443
|
if (surface.kind === 'c') continue
|
|
3184
3444
|
if (surface.kind === 'objc' || surface.kind === 'mixed')
|
|
3185
3445
|
frameworkSurfaces.set(surface.module, surface)
|
|
@@ -3199,8 +3459,11 @@ async function buildStandins(
|
|
|
3199
3459
|
}
|
|
3200
3460
|
}
|
|
3201
3461
|
const generatedToolchain = { ...toolchain, standinModules: modules }
|
|
3462
|
+
// the iOS simulator interfaces of the source modules binaries import
|
|
3463
|
+
const sourceFrameworks = path.join(modules, 'ios-frameworks')
|
|
3464
|
+
fs.mkdirSync(sourceFrameworks)
|
|
3202
3465
|
const frameworks: NativeFrameworkInputs = {
|
|
3203
|
-
dirs: [...frameworkDirs].sort(),
|
|
3466
|
+
dirs: [...frameworkDirs, sourceFrameworks].sort(),
|
|
3204
3467
|
digest: createHash('sha256').update(frameworkInputs.sort().join('\0')).digest('hex'),
|
|
3205
3468
|
surfaces: frameworkSurfaces,
|
|
3206
3469
|
}
|
|
@@ -3226,6 +3489,7 @@ async function buildStandins(
|
|
|
3226
3489
|
]),
|
|
3227
3490
|
)
|
|
3228
3491
|
const visited = new Set<string>()
|
|
3492
|
+
const sourceFailures = new Map<string, string>()
|
|
3229
3493
|
const visit = async (binary: SwiftPackageBinary): Promise<void> => {
|
|
3230
3494
|
if (visited.has(binary.target)) return
|
|
3231
3495
|
visited.add(binary.target)
|
|
@@ -3238,6 +3502,27 @@ async function buildStandins(
|
|
|
3238
3502
|
const target = byModule.get(module)
|
|
3239
3503
|
if (target) await visit(target)
|
|
3240
3504
|
}
|
|
3505
|
+
if (binary.moduleSources !== undefined) {
|
|
3506
|
+
try {
|
|
3507
|
+
emitSourceModule(
|
|
3508
|
+
binary,
|
|
3509
|
+
binary.moduleSources,
|
|
3510
|
+
generatedToolchain,
|
|
3511
|
+
sourceFrameworks,
|
|
3512
|
+
)
|
|
3513
|
+
} catch (error) {
|
|
3514
|
+
sourceFailures.set(swiftTargetModuleName(binary.target), failure(error))
|
|
3515
|
+
}
|
|
3516
|
+
return
|
|
3517
|
+
}
|
|
3518
|
+
const failed = [...siblings.get(binary)!].find((module) => sourceFailures.has(module))
|
|
3519
|
+
if (failed !== undefined) {
|
|
3520
|
+
gaps.set(
|
|
3521
|
+
binary.target,
|
|
3522
|
+
`its interface imports ${failed}, whose sources do not compile: ${sourceFailures.get(failed)}`,
|
|
3523
|
+
)
|
|
3524
|
+
return
|
|
3525
|
+
}
|
|
3241
3526
|
const started = Date.now()
|
|
3242
3527
|
const result = await binaryStandins(
|
|
3243
3528
|
binary,
|
package/src/swift-submit.ts
CHANGED
|
@@ -152,7 +152,12 @@ export const MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024
|
|
|
152
152
|
// 72: a refresh may answer `{"$patch":[node]}`, nodes that replace the same
|
|
153
153
|
// ids in the last tree.
|
|
154
154
|
// 73: custom label styles retain a StyledLabel accessibility host.
|
|
155
|
-
|
|
155
|
+
// 74: websocket open replies carry the negotiated protocol.
|
|
156
|
+
// 75: layer fades carry transitionProgress for premultiplied cross-dissolves.
|
|
157
|
+
// 76: darwin BSD descriptors use the peach.socket_call relay import.
|
|
158
|
+
// 77: socket_call binds, listens and accepts, and a connect or bind request
|
|
159
|
+
// carries the en0 address after the caller's.
|
|
160
|
+
export const SWIFT_HOST_ABI = 77
|
|
156
161
|
|
|
157
162
|
export interface SwiftImageUpload {
|
|
158
163
|
/** the raster file picked for the asset (has the extension). */
|