peachsim 0.1.1684 → 0.1.1700
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/cli/bridge-flow-runner.ts +61 -39
- package/cli/commands/agent-wrapper.ts +21 -10
- package/cli/commands/control.ts +27 -7
- package/cli/commands/coverage-swift.ts +72 -5
- package/cli/commands/coverage.ts +1 -1
- package/cli/commands/detect.ts +17 -4
- package/cli/commands/inspect/actions.ts +1 -0
- package/cli/commands/maestro-compare.ts +25 -99
- package/cli/commands/screenshot.ts +12 -0
- package/cli/help-core.ts +3 -4
- package/cli/maestro-compare.ts +172 -4
- package/cli/outbound-endpoints.ts +2 -10
- package/detox/index.ts +15 -0
- package/detox/launch-permissions.ts +169 -0
- package/dist-lib/agent-daemon-client.cjs +2 -2
- package/dist-lib/agent-events.cjs +2 -2
- package/dist-lib/attached-projects.cjs +2 -2
- package/dist-lib/auth/shared-session.cjs +2 -2
- package/dist-lib/backend-origin.cjs +2 -2
- package/dist-lib/beta.cjs +2 -2
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +2 -2
- package/dist-lib/bridge-contract-input.cjs +2 -2
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +2 -2
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +6729 -3591
- package/dist-lib/capture-contract.cjs +2 -2
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +2 -2
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +2 -2
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +2 -2
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +2 -2
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +104 -3
- package/dist-lib/dev-bundle-resolution.cjs +208 -44
- package/dist-lib/expo-swift-bundle.cjs +3475 -2137
- package/dist-lib/expo-swift-metadata.cjs +2 -2
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +2 -2
- package/dist-lib/host/bridge-host.cjs +8970 -3652
- package/dist-lib/host/fetch-proxy-handler.cjs +332 -40
- package/dist-lib/host/fetch-proxy-overrides.cjs +2 -2
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +2 -2
- package/dist-lib/host/websocket-proxy.cjs +2 -2
- package/dist-lib/index.cjs +469 -143
- package/dist-lib/jump-to-source-babel.cjs +2 -2
- package/dist-lib/jump-to-source-native.cjs +2 -2
- package/dist-lib/kotlin-host.cjs +2 -2
- package/dist-lib/menu.cjs +2 -2
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +2 -2
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +2 -2
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +465 -139
- package/dist-lib/native-app-identity-project.cjs +209 -86
- package/dist-lib/native-app-identity-project.mjs +251 -116
- package/dist-lib/native-app-identity.cjs +2 -2
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +2 -2
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +2 -2
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +2 -2
- package/dist-lib/public-brand.cjs +2 -2
- package/dist-lib/public-origins-lib-esm.json +27 -23
- package/dist-lib/public-origins-lib.json +221 -88
- package/dist-lib/react-native-host-modules.cjs +2 -2
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +2 -2
- package/dist-lib/scripts/dev-server-scanner.cjs +206 -31
- package/dist-lib/sdk.cjs +3 -3
- package/dist-lib/sdk.mjs +2 -2
- package/dist-lib/skills.cjs +20997 -16596
- package/dist-lib/swift-compile.cjs +3075 -459
- package/dist-lib/swift-compile.mjs +3028 -415
- package/dist-lib/swift-package.cjs +131 -69
- package/dist-lib/swift-package.mjs +126 -68
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +31 -4
- package/dist-lib/swift.cjs +2 -2
- package/dist-lib/vite-swift.cjs +5049 -1704
- package/dist-lib/vite.cjs +261 -58
- package/dist-lib/worklet-executable.cjs +8 -5
- package/dist-lib/worklet-executable.mjs +7 -4
- package/dist-types/packages/peach-engine/src/engine/clipboardContract.d.ts +15 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/scroll-pan-contacts.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
- 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/protocol.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +17 -0
- package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +3 -0
- package/dist-types/packages/peach-globals/src/cameraBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/clipboardBridgeContract.d.ts +6 -0
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +3 -2
- package/dist-types/packages/peach-globals/src/replayBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/shellHostBridgeContract.d.ts +3 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/materials/types.d.ts +1 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/scripts/dev-server-scanner.ts +4 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h +2282 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/BasicImageTypes.h +55 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h +10551 -6
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h +4236 -3
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h +827 -8
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Histogram.h +1369 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Morphology.h +1243 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Transform.h +1747 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage.h +291 -2
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_CVUtilities.h +1283 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h +811 -91
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Utilities.h +1342 -25
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns.h +2738 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_constants.h +1685 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_graph.h +913 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_structures.h +1917 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h +23 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/arithmetic.h +209 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/base.h +104 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/linear_systems.h +77 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/matrix.h +554 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/norms.h +58 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/object.h +186 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/splat.h +86 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/vector.h +364 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Integration.h +195 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Quadrature.h +44 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/BLAS.h +2330 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/Types.h +123 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Solve.h +8339 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementation.h +520 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementationTyped.h +1893 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Sparse.h +10 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/blas_new.h +1098 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas.h +859 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas_new.h +1134 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/clapack.h +10555 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/fortran_blas.h +695 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack.h +38526 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_types.h +60 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_version.h +20 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/thread_api.h +50 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBasicOps.h +1218 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBigNum.h +1458 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP.h +10377 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP_translate.h +167 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vForce.h +1243 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLib.h +114 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLibTypes.h +146 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vectorOps.h +1106 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vfp.h +294 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h +25 -1
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h +673 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h +232 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h +827 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h +121 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h +387 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h +79 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h +122 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h +674 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h +182 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h +213 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h +82 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h +129 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h +491 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h +883 -2
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h +98 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +11 -220
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +2 -6
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLAvailability.h +22 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h +145 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h +113 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h +225 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBody.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h +59 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h +64 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h +48 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLError.h +52 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLErrorDomain.h +24 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h +55 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h +117 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h +9 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h +45 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h +877 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h +225 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h +250 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h +140 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h +77 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h +184 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h +57 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h +98 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h +123 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLServiceSession.h +211 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h +66 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h +46 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Modules/module.modulemap +7 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +98 -3
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h +52 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h +240 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h +474 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h +66 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Modules/module.modulemap +10 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4AccelerationStructure.h +9 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Archive.h +16 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ArgumentTable.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BinaryFunction.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BinaryFunctionDescriptor.h +14 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BufferRange.h +79 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandAllocator.h +15 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandBuffer.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandEncoder.h +16 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandQueue.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommitFeedback.h +15 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Compiler.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CompilerTask.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ComputeCommandEncoder.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ComputePipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Counters.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4FunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LibraryDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LibraryFunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LinkingDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MachineLearningCommandEncoder.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MachineLearningPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MeshRenderPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4PipelineDataSetSerializer.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4PipelineState.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderCommandEncoder.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderPass.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4SpecializedFunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4StitchedFunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4TileRenderPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructure.h +1212 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h +322 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h +224 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAllocation.h +22 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h +279 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h +199 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBinaryArchive.h +142 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h +266 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBlitPass.h +82 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h +113 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h +43 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h +449 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h +148 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h +102 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h +350 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputePass.h +90 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h +274 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCounters.h +225 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDataType.h +232 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h +39 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h +93 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h +1122 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDeviceCertification.h +29 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h +36 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDynamicLibrary.h +81 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h +79 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h +22 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h +30 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionDescriptor.h +95 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionHandle.h +29 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionLog.h +37 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionStitching.h +131 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLGPUAddress.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h +284 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCommandBuffer.h +10 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCommandQueue.h +11 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCompressor.h +10 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h +157 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h +110 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIntersectionFunctionTable.h +186 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h +549 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLinkedFunctions.h +57 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLogState.h +65 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h +77 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h +57 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h +342 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h +323 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h +1068 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h +411 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h +788 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResidencySet.h +141 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h +307 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h +125 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStatePass.h +85 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceViewPool.h +22 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h +252 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h +158 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTensor.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h +460 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTextureViewPool.h +18 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h +125 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h +153 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLVisibleFunctionTable.h +45 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/Metal.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +1 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecBase.h +906 -3
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h +613 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecItem.h +1284 -29
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h +441 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecTrust.h +845 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/Security.h +4 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTDefines.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTTagClass.h +33 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTType.h +504 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLEssentialsAvailability.h +14 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLLocationEssentials.h +444 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/LocationEssentials.h +14 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Modules/module.modulemap +14 -0
- package/sdk/ios/usr/include/AvailabilityMacros.h +3985 -0
- package/sdk/ios/usr/include/complex.h +167 -0
- package/sdk/ios/usr/include/copyfile.h +143 -0
- package/sdk/ios/usr/include/dispatch/dispatch.h +5 -0
- package/sdk/ios/usr/include/mach/mach_types.h +1 -0
- package/sdk/ios/usr/include/malloc/_malloc.h +143 -0
- package/sdk/ios/usr/include/malloc/_malloc_type.h +153 -0
- package/sdk/ios/usr/include/malloc/_platform.h +80 -0
- package/sdk/ios/usr/include/malloc/_ptrcheck.h +43 -0
- package/sdk/ios/usr/include/malloc/malloc.h +768 -0
- package/sdk/ios/usr/include/math.h +835 -2
- package/sdk/ios/usr/include/os/availability.h +168 -6
- package/sdk/ios/usr/include/os/base.h +351 -0
- package/sdk/ios/usr/include/os/clock.h +18 -0
- package/sdk/ios/usr/include/os/lock.h +232 -10
- package/sdk/ios/usr/include/os/log.h +521 -38
- package/sdk/ios/usr/include/os/object.h +320 -3
- package/sdk/ios/usr/include/os/trace.h +492 -0
- package/sdk/ios/usr/include/os/trace_base.h +167 -0
- package/sdk/ios/usr/include/os/workgroup.h +37 -0
- package/sdk/ios/usr/include/os/workgroup_base.h +91 -0
- package/sdk/ios/usr/include/os/workgroup_interval.h +156 -0
- package/sdk/ios/usr/include/os/workgroup_object.h +359 -0
- package/sdk/ios/usr/include/os/workgroup_parallel.h +76 -0
- package/sdk/ios/usr/include/sys/cdefs.h +38 -1
- package/sdk/ios/wasm/include/unistd.h +3 -0
- package/skills/contrast/SKILL.md +3 -0
- package/src/codex-client.ts +11 -6
- package/src/dev-bundle-resolution.ts +124 -48
- package/src/expo-native-workspace.ts +176 -0
- package/src/expo-swift-host.ts +161 -26
- package/src/expo-swift-ready.ts +14 -28
- package/src/expoSwiftContract.ts +4 -1
- package/src/generated/swift-c-predefines.json +2044 -0
- package/src/host/bridge-host.ts +5 -0
- package/src/installed-package-versions.ts +14 -1
- package/src/metro-project-root.ts +44 -33
- package/src/native-app-identity-project.ts +1 -0
- package/src/nitro-adapter.lock.json +916 -10
- package/src/nitro-adapter.ts +33 -24
- package/src/nitro-bundle.ts +108 -21
- package/src/nitro-compile.ts +36 -5
- package/src/nitro-source.ts +13 -3
- package/src/nitroAdapterContract.ts +100 -20
- package/src/nitroContract.ts +18 -2
- package/src/node-http-fetch.ts +116 -0
- package/src/packageVersionsContract.ts +46 -0
- package/src/serverDiscoveryContract.ts +1 -0
- package/src/settingsContract.ts +0 -30
- package/src/swift-binary-modules.ts +20 -5
- package/src/swift-compile.ts +598 -81
- package/src/swift-coverage/package.ts +3 -1
- package/src/swift-coverage/xcode-assets.ts +66 -5
- package/src/swift-coverage/xcode-packages.ts +11 -6
- package/src/swift-host.ts +347 -60
- package/src/swift-objc-compile.ts +52 -10
- package/src/swift-objc-metadata.ts +2 -2
- package/src/swift-objc-platform.ts +2 -2
- package/src/swift-objc-standin.ts +53 -13
- package/src/swift-package-manifest.ts +151 -28
- package/src/swift-package.ts +158 -75
- package/src/swift-packages.ts +141 -44
- package/src/swift-source-file.ts +10 -15
- package/src/swift-source-pods.ts +126 -41
- package/src/swift-standin-digest.ts +77 -0
- package/src/swift-standin-emit.ts +40 -4
- package/src/swift-standins.ts +154 -31
- package/src/swift-submit.ts +5 -0
- package/src/swift-toolchain.ts +38 -0
- package/src/swiftContract.ts +168 -75
- package/src/target-matcher.ts +15 -2
- package/src/vite-plugin.ts +0 -10
- package/src/worklet-executable.ts +7 -3
- package/src/xcode-json-project.ts +14 -2
- package/src/xcode-project.ts +215 -100
- package/src/settings-flags.ts +0 -107
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CLServiceSession.h
|
|
3
|
+
// CoreLocation
|
|
4
|
+
//
|
|
5
|
+
// Created by Siraj Abidi on 04/11/24.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
#import <CoreLocation/CLAvailability.h>
|
|
10
|
+
|
|
11
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
+
|
|
13
|
+
API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos)
|
|
14
|
+
typedef NS_ENUM(NSInteger, CLServiceSessionAuthorizationRequirement) {
|
|
15
|
+
CLServiceSessionAuthorizationRequirementNone = 0,
|
|
16
|
+
CLServiceSessionAuthorizationRequirementWhenInUse,
|
|
17
|
+
CLServiceSessionAuthorizationRequirementAlways API_UNAVAILABLE(tvos),
|
|
18
|
+
} NS_REFINED_FOR_SWIFT;
|
|
19
|
+
|
|
20
|
+
API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos) NS_REFINED_FOR_SWIFT
|
|
21
|
+
@interface CLServiceSessionDiagnostic : NSObject
|
|
22
|
+
/*
|
|
23
|
+
* authorizationDenied
|
|
24
|
+
*
|
|
25
|
+
* Discussion:
|
|
26
|
+
* True if the session will be suspended while the app has been denied
|
|
27
|
+
* location authorization.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
@property (nonatomic, readonly) BOOL authorizationDenied;
|
|
31
|
+
|
|
32
|
+
/*
|
|
33
|
+
* authorizationDeniedGlobally
|
|
34
|
+
*
|
|
35
|
+
* Discussion:
|
|
36
|
+
* True if the session will be suspended while the user has disabled Location
|
|
37
|
+
* Services system-wide.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
@property (nonatomic, readonly) BOOL authorizationDeniedGlobally;
|
|
41
|
+
|
|
42
|
+
/*
|
|
43
|
+
* authorizationRestricted
|
|
44
|
+
*
|
|
45
|
+
* Discussion:
|
|
46
|
+
* True if session will be suspended while the app lacks authorization,
|
|
47
|
+
* and authorization changes are prevented by parental restrictions,
|
|
48
|
+
* MDM configuration, or other factors.
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
@property (nonatomic, readonly) BOOL authorizationRestricted;
|
|
52
|
+
|
|
53
|
+
/*
|
|
54
|
+
* insufficientlyInUse
|
|
55
|
+
*
|
|
56
|
+
* Discussion:
|
|
57
|
+
* True if the session will be suspended while the app is not sufficiently
|
|
58
|
+
* in-use.
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
@property (nonatomic, readonly) BOOL insufficientlyInUse;
|
|
62
|
+
|
|
63
|
+
/*
|
|
64
|
+
* serviceSessionRequired
|
|
65
|
+
*
|
|
66
|
+
* Discussion:
|
|
67
|
+
* True if LocationServices are disabled because the app has adopted CLRequireExplicitServiceSession
|
|
68
|
+
* info.plist key but no CLServiceSession requiring authorization is outstanding yet.
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
@property (nonatomic, readonly) BOOL serviceSessionRequired;
|
|
72
|
+
|
|
73
|
+
/*
|
|
74
|
+
* fullAccuracyDenied
|
|
75
|
+
*
|
|
76
|
+
* Discussion:
|
|
77
|
+
* True if a session requiring FullAccuracy has been denied full accuracy due to user decision.
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
@property (nonatomic, readonly) BOOL fullAccuracyDenied;
|
|
81
|
+
|
|
82
|
+
/*
|
|
83
|
+
* alwaysAuthorizationDenied
|
|
84
|
+
*
|
|
85
|
+
* Discussion:
|
|
86
|
+
* True if a session requiring Always authorization has been denied Always due to user decision.
|
|
87
|
+
*
|
|
88
|
+
*/
|
|
89
|
+
@property (nonatomic, readonly) BOOL alwaysAuthorizationDenied;
|
|
90
|
+
|
|
91
|
+
/*
|
|
92
|
+
* authorizationRequestInProgress
|
|
93
|
+
*
|
|
94
|
+
* Discussion:
|
|
95
|
+
* True if the system is requesting authorization from the user on behalf of the app, but no response has been received yet.
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
@property (nonatomic, readonly) BOOL authorizationRequestInProgress;
|
|
99
|
+
|
|
100
|
+
@end
|
|
101
|
+
|
|
102
|
+
CL_EXTERN
|
|
103
|
+
API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos) NS_REFINED_FOR_SWIFT
|
|
104
|
+
@interface CLServiceSession : NSObject
|
|
105
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
106
|
+
+ (instancetype)new NS_UNAVAILABLE;
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
/*
|
|
110
|
+
* sessionRequiringAuthorization:
|
|
111
|
+
*
|
|
112
|
+
* Discussion:
|
|
113
|
+
* Creates a CLServiceSession instance with specified authorization requirement.
|
|
114
|
+
*
|
|
115
|
+
* authorizationRequirement: Passing None for authorization requirement
|
|
116
|
+
* creates a session object which does not seek authorization from the user,
|
|
117
|
+
* but meets a requested Explicit Service Session requirement if authorization
|
|
118
|
+
* has already been obtained.
|
|
119
|
+
*
|
|
120
|
+
* Passing an authorization requirement other than .none will cause
|
|
121
|
+
* Location Services to seek the corresponding level of authorization
|
|
122
|
+
* from the user when possible.
|
|
123
|
+
*
|
|
124
|
+
* Like a CLBackgroundActivitySession instance, a CLServiceSession
|
|
125
|
+
* instance should be created while in-use, or immediately when launched
|
|
126
|
+
* in the background if a matching session was held when previously
|
|
127
|
+
* running. If an instance is created that does not meet either
|
|
128
|
+
* requirement, it will yield the .insufficientlyInUse diagnostic until
|
|
129
|
+
* the app returns to the foreground (off-course to receive updates use the below
|
|
130
|
+
* variant which specifies a handler)
|
|
131
|
+
*
|
|
132
|
+
* Note: A CLServiceSession instance with an authorization requirement of
|
|
133
|
+
* .always must be held, and reporting no relevant diagnostic properties,
|
|
134
|
+
* whenever Always authorization is to be leveraged. An app with Always
|
|
135
|
+
* authorization, but which is not holding such a CLServiceSession will
|
|
136
|
+
* not be able to receive CLLocationUpdate.liveUpdates() or CLMonitor.events()
|
|
137
|
+
* when it is not in-use. So be careful to take one when the user
|
|
138
|
+
* configures always-operation, and retake it promptly during launch
|
|
139
|
+
* after background termination.
|
|
140
|
+
*
|
|
141
|
+
*/
|
|
142
|
+
+ (CLServiceSession *)sessionRequiringAuthorization:(CLServiceSessionAuthorizationRequirement)authorizationRequirement API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
|
|
143
|
+
|
|
144
|
+
/* sessionRequiringAuthorization:queue:handler:
|
|
145
|
+
* Discussion:
|
|
146
|
+
* Creates a CLServiceSession instance with specified authorization requirement.
|
|
147
|
+
* Session behaves the same as decribed for sessionRequiringAuthorization:
|
|
148
|
+
*
|
|
149
|
+
* queue: Specifies the queue to which the handler is submitted for receiving
|
|
150
|
+
* diagnostic updates
|
|
151
|
+
*
|
|
152
|
+
* handler: Specifies the block that will be invoked with each diagnostic update.
|
|
153
|
+
*
|
|
154
|
+
*/
|
|
155
|
+
+ (CLServiceSession *)sessionRequiringAuthorization:(CLServiceSessionAuthorizationRequirement)authorizationRequirement
|
|
156
|
+
queue:(dispatch_queue_t)queue
|
|
157
|
+
handler:(void(^)(CLServiceSessionDiagnostic *diagnostic))handler API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
/*
|
|
161
|
+
* sessionRequiringAuthorization:fullAccuracyPurposeKey:
|
|
162
|
+
*
|
|
163
|
+
* Discussion:
|
|
164
|
+
* Creates a CLServiceSession instance with specified authorization requirement
|
|
165
|
+
* and fullAccuracy Purpose Key
|
|
166
|
+
*
|
|
167
|
+
* authorizationRequirement:
|
|
168
|
+
* Same as applicable for sessionRequiringAuthorization: i.e Passing an
|
|
169
|
+
* authorization requirement other than .none will cause Location Services
|
|
170
|
+
* to seek the corresponding level of authorization from the user when possible.
|
|
171
|
+
*
|
|
172
|
+
* fullAccuracyPurposeKey:
|
|
173
|
+
* Names a string in the NSLocationTemporaryUsageDescriptionDictionary.
|
|
174
|
+
* Location Services will request temporary full accuracy authorization
|
|
175
|
+
* from the user using this string if necessary while this session is
|
|
176
|
+
* outstanding.
|
|
177
|
+
*
|
|
178
|
+
*/
|
|
179
|
+
+ (CLServiceSession *)sessionRequiringAuthorization:(CLServiceSessionAuthorizationRequirement)authorizationRequirement
|
|
180
|
+
fullAccuracyPurposeKey:(nonnull NSString *)purposeKey API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
/*
|
|
185
|
+
* sessionRequiringAuthorization:fullAccuracyPurposeKey:queue:handler:
|
|
186
|
+
*
|
|
187
|
+
* Discussion:
|
|
188
|
+
* Creates a CLServiceSession instance with specified authorization requirement
|
|
189
|
+
* and fullAccuracy Purpose Key same as sessionRequiringAuthorization:fullAccuracyPurposeKey:
|
|
190
|
+
*
|
|
191
|
+
* This variant allows to specify a queue to which specified callback handler
|
|
192
|
+
* will be submitted for receiving diagnostic updates.
|
|
193
|
+
*/
|
|
194
|
+
+ (CLServiceSession *)sessionRequiringAuthorization:(CLServiceSessionAuthorizationRequirement)authorizationRequirement
|
|
195
|
+
fullAccuracyPurposeKey:(nonnull NSString *)purposeKey
|
|
196
|
+
queue:(dispatch_queue_t)queue
|
|
197
|
+
handler:(void(^)(CLServiceSessionDiagnostic *diagnostic))handler API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
/*
|
|
201
|
+
* invalidate
|
|
202
|
+
*
|
|
203
|
+
* Discussion:
|
|
204
|
+
* Ends the session immediately. Once the session is
|
|
205
|
+
* invalidated it cannot become active again.
|
|
206
|
+
*/
|
|
207
|
+
- (void)invalidate API_AVAILABLE(ios(18.0), watchos(11.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(macos);
|
|
208
|
+
|
|
209
|
+
@end
|
|
210
|
+
|
|
211
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* CLVisit.h
|
|
3
|
+
* CoreLocation
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2014 Apple Inc. All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
#pragma once
|
|
10
|
+
|
|
11
|
+
#import <Foundation/Foundation.h>
|
|
12
|
+
#import <CoreLocation/CLLocation.h>
|
|
13
|
+
|
|
14
|
+
#import <CoreLocation/CLAvailability.h>
|
|
15
|
+
|
|
16
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
* CLVisit
|
|
20
|
+
*
|
|
21
|
+
* Discussion
|
|
22
|
+
* An instance of this class represents a possibly open-ended event
|
|
23
|
+
* during which the device was at the specified coordinate.
|
|
24
|
+
*/
|
|
25
|
+
CL_EXTERN
|
|
26
|
+
API_AVAILABLE(ios(8.0), macos(10.15)) API_UNAVAILABLE(watchos, tvos, visionos)
|
|
27
|
+
@interface CLVisit : NSObject <NSSecureCoding, NSCopying>
|
|
28
|
+
|
|
29
|
+
/*
|
|
30
|
+
* arrivalDate
|
|
31
|
+
*
|
|
32
|
+
* Discussion:
|
|
33
|
+
* The date when the visit began. This may be equal to [NSDate
|
|
34
|
+
* distantPast] if the true arrival date isn't available.
|
|
35
|
+
*/
|
|
36
|
+
@property (nonatomic, readonly, copy) NSDate *arrivalDate;
|
|
37
|
+
|
|
38
|
+
/*
|
|
39
|
+
* departureDate
|
|
40
|
+
*
|
|
41
|
+
* Discussion:
|
|
42
|
+
* The date when the visit ended. This is equal to [NSDate
|
|
43
|
+
* distantFuture] if the device hasn't yet left.
|
|
44
|
+
*/
|
|
45
|
+
@property (nonatomic, readonly, copy) NSDate *departureDate;
|
|
46
|
+
|
|
47
|
+
/*
|
|
48
|
+
* coordinate
|
|
49
|
+
*
|
|
50
|
+
* Discussion:
|
|
51
|
+
* The center of the region which the device is visiting.
|
|
52
|
+
*/
|
|
53
|
+
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
|
|
54
|
+
|
|
55
|
+
/*
|
|
56
|
+
*
|
|
57
|
+
* horizontalAccuracy
|
|
58
|
+
*
|
|
59
|
+
* Discussion:
|
|
60
|
+
* An estimate of the radius (in meters) of the region which the
|
|
61
|
+
* device is visiting.
|
|
62
|
+
*/
|
|
63
|
+
@property (nonatomic, readonly) CLLocationAccuracy horizontalAccuracy;
|
|
64
|
+
@end
|
|
65
|
+
|
|
66
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* CoreLocation.h
|
|
3
|
+
* CoreLocation
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2008-2010 Apple Inc. All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
#ifndef __CORELOCATION__
|
|
11
|
+
#define __CORELOCATION__
|
|
12
|
+
|
|
13
|
+
#ifndef __CL_INDIRECT__
|
|
14
|
+
#define __CL_INDIRECT__
|
|
15
|
+
#endif
|
|
16
|
+
|
|
17
|
+
#import <CoreLocation/CLAvailability.h>
|
|
18
|
+
#import <CoreLocation/CLErrorDomain.h>
|
|
19
|
+
#import <CoreLocation/CLError.h>
|
|
20
|
+
#import <CoreLocation/CLRegion.h>
|
|
21
|
+
#import <CoreLocation/CLCondition.h>
|
|
22
|
+
#import <CoreLocation/CLCircularRegion.h>
|
|
23
|
+
#import <CoreLocation/CLCircularGeographicCondition.h>
|
|
24
|
+
#import <CoreLocation/CLBeaconRegion.h>
|
|
25
|
+
#import <CoreLocation/CLBeaconIdentityConstraint.h>
|
|
26
|
+
#import <CoreLocation/CLBeaconIdentityCondition.h>
|
|
27
|
+
#import <CoreLocation/CLHeading.h>
|
|
28
|
+
#import <CoreLocation/CLLocation.h>
|
|
29
|
+
#import <CoreLocation/CLLocationManager.h>
|
|
30
|
+
#import <CoreLocation/CLLocationManagerDelegate.h>
|
|
31
|
+
#import <CoreLocation/CLLocationManager+CLVisitExtensions.h>
|
|
32
|
+
#import <CoreLocation/CLPlacemark.h>
|
|
33
|
+
#import <CoreLocation/CLGeocoder.h>
|
|
34
|
+
#import <CoreLocation/CLVisit.h>
|
|
35
|
+
#import <CoreLocation/CLLocationPushServiceExtension.h>
|
|
36
|
+
#import <CoreLocation/CLLocationPushServiceError.h>
|
|
37
|
+
#import <CoreLocation/CLLocationUpdater.h>
|
|
38
|
+
#import <CoreLocation/CLMonitoringEvent.h>
|
|
39
|
+
#import <CoreLocation/CLMonitoringRecord.h>
|
|
40
|
+
#import <CoreLocation/CLMonitorConfiguration.h>
|
|
41
|
+
#import <CoreLocation/CLMonitor.h>
|
|
42
|
+
#import <CoreLocation/CLBackgroundActivitySession.h>
|
|
43
|
+
#import <CoreLocation/CLServiceSession.h>
|
|
44
|
+
#import <CoreLocation/CLBody.h>
|
|
45
|
+
|
|
46
|
+
#endif /* __CORELOCATION__ */
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
@class NSCharacterSet;
|
|
20
20
|
@class NSURLSessionConfiguration, NSOperation, NSURLCache, NSCachedURLResponse, NSBlockOperation, NSCache;
|
|
21
21
|
#import <CoreGraphics/CoreGraphics.h>
|
|
22
|
+
#import <Security/Security.h>
|
|
22
23
|
|
|
23
24
|
@class NSPropertyListSerialization;
|
|
24
25
|
@class NSKeyedUnarchiver;
|
|
@@ -69,7 +70,6 @@ typedef void NSUncaughtExceptionHandler(NSException * _Nonnull exception);
|
|
|
69
70
|
#define FOUNDATION_STATIC_INLINE static inline
|
|
70
71
|
#define NS_INLINE static inline
|
|
71
72
|
#define CF_EXPORT extern
|
|
72
|
-
#define CF_INLINE static inline
|
|
73
73
|
#define OBJC_EXPORT extern
|
|
74
74
|
#define NS_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
|
|
75
75
|
#define NS_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
|
|
@@ -119,7 +119,6 @@ typedef void NSUncaughtExceptionHandler(NSException * _Nonnull exception);
|
|
|
119
119
|
#define CF_TYPED_ENUM _NS_TYPED_ENUM
|
|
120
120
|
#define CF_TYPED_EXTENSIBLE_ENUM _NS_TYPED_EXTENSIBLE_ENUM
|
|
121
121
|
#define CF_STRING_ENUM _NS_TYPED_ENUM
|
|
122
|
-
#define CF_EXTENSIBLE_STRING_ENUM _NS_TYPED_EXTENSIBLE_ENUM
|
|
123
122
|
#define NS_SWIFT_NAME(_name) __attribute__((swift_name(#_name)))
|
|
124
123
|
#define CF_SWIFT_NAME(_name) __attribute__((swift_name(#_name)))
|
|
125
124
|
#define NS_SWIFT_UNAVAILABLE(_msg) __attribute__((availability(swift, unavailable, message=_msg)))
|
|
@@ -786,7 +785,6 @@ NS_SWIFT_NAME(URLSessionConfiguration)
|
|
|
786
785
|
@property (class, readonly, strong) NSURLSessionConfiguration *defaultSessionConfiguration;
|
|
787
786
|
@end
|
|
788
787
|
NS_SWIFT_NAME(URLCredential)
|
|
789
|
-
typedef struct __attribute__((objc_bridge(id))) __SecTrust *SecTrustRef;
|
|
790
788
|
@interface NSURLCredential : NSObject <NSSecureCoding, NSCopying>
|
|
791
789
|
+ (NSURLCredential *)credentialForTrust:(SecTrustRef)trust __attribute__((availability(macos,introduced=10.6), availability(ios,introduced=3.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0)));
|
|
792
790
|
+ (NSURLCredential *)credentialWithUser:(NSString *)user password:(NSString *)password persistence:(NSURLCredentialPersistence)persistence;
|
|
@@ -1049,6 +1047,7 @@ typedef NS_OPTIONS(NSUInteger, NSSearchPathDomainMask) {
|
|
|
1049
1047
|
NSAllDomainsMask = 0x0ffff
|
|
1050
1048
|
};
|
|
1051
1049
|
FOUNDATION_EXPORT NSString *NSHomeDirectory(void);
|
|
1050
|
+
FOUNDATION_EXPORT NSString *NSTemporaryDirectory(void);
|
|
1052
1051
|
FOUNDATION_EXPORT NSArray<NSString *> *NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask, BOOL expandTilde);
|
|
1053
1052
|
NS_SWIFT_NAME(FileManager)
|
|
1054
1053
|
typedef NS_OPTIONS(NSUInteger, NSDirectoryEnumerationOptions) {
|
|
@@ -1380,6 +1379,102 @@ typedef NS_OPTIONS(NSUInteger, NSMatchingFlags) {
|
|
|
1380
1379
|
+ (nullable NSRegularExpression *)regularExpressionWithPattern:(NSString *)pattern options:(NSRegularExpressionOptions)options error:(NSError **)error;
|
|
1381
1380
|
- (void)enumerateMatchesInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range usingBlock:(void (NS_NOESCAPE ^)(NSTextCheckingResult * _Nullable result, NSMatchingFlags flags, BOOL *stop))block;
|
|
1382
1381
|
@end
|
|
1382
|
+
typedef struct NS_SWIFT_SENDABLE {
|
|
1383
|
+
/// The major release number, such as 10 in version 10.9.3.
|
|
1384
|
+
NSInteger majorVersion;
|
|
1385
|
+
/// The minor release number, such as 9 in version 10.9.3.
|
|
1386
|
+
NSInteger minorVersion;
|
|
1387
|
+
/// The update release number, such as 3 in version 10.9.3.
|
|
1388
|
+
NSInteger patchVersion;
|
|
1389
|
+
} NSOperatingSystemVersion NS_SWIFT_NAME(OperatingSystemVersion);
|
|
1390
|
+
@interface NSComparisonPredicate : NSPredicate
|
|
1391
|
+
@end
|
|
1392
|
+
NS_SWIFT_NAME(LengthFormatter)
|
|
1393
|
+
@interface NSLengthFormatter : NSFormatter
|
|
1394
|
+
@end
|
|
1395
|
+
NS_SWIFT_NAME(MassFormatter)
|
|
1396
|
+
@interface NSMassFormatter : NSFormatter
|
|
1397
|
+
@end
|
|
1398
|
+
NS_SWIFT_NAME(EnergyFormatter)
|
|
1399
|
+
@interface NSEnergyFormatter : NSFormatter
|
|
1400
|
+
@end
|
|
1401
|
+
/// Defines the type of comparison for a comparison predicate.
|
|
1402
|
+
typedef NS_ENUM(NSUInteger, NSPredicateOperatorType) {
|
|
1403
|
+
/// A less-than predicate.
|
|
1404
|
+
NSLessThanPredicateOperatorType NS_SWIFT_NAME(lessThan) = 0,
|
|
1405
|
+
/// A less-than-or-equal-to predicate.
|
|
1406
|
+
NSLessThanOrEqualToPredicateOperatorType NS_SWIFT_NAME(lessThanOrEqualTo),
|
|
1407
|
+
/// A greater-than predicate.
|
|
1408
|
+
NSGreaterThanPredicateOperatorType NS_SWIFT_NAME(greaterThan),
|
|
1409
|
+
/// A greater-than-or-equal-to predicate.
|
|
1410
|
+
NSGreaterThanOrEqualToPredicateOperatorType NS_SWIFT_NAME(greaterThanOrEqualTo),
|
|
1411
|
+
/// An equal-to predicate.
|
|
1412
|
+
NSEqualToPredicateOperatorType NS_SWIFT_NAME(equalTo),
|
|
1413
|
+
/// A not-equal-to predicate.
|
|
1414
|
+
NSNotEqualToPredicateOperatorType NS_SWIFT_NAME(notEqualTo),
|
|
1415
|
+
/// A full regular expression matching predicate.
|
|
1416
|
+
NSMatchesPredicateOperatorType NS_SWIFT_NAME(matches),
|
|
1417
|
+
/// A simple subset of the `MATCHES` predicate, similar in behavior to SQL `LIKE`.
|
|
1418
|
+
NSLikePredicateOperatorType NS_SWIFT_NAME(like),
|
|
1419
|
+
/// A begins-with predicate.
|
|
1420
|
+
NSBeginsWithPredicateOperatorType NS_SWIFT_NAME(beginsWith),
|
|
1421
|
+
/// An ends-with predicate.
|
|
1422
|
+
NSEndsWithPredicateOperatorType NS_SWIFT_NAME(endsWith),
|
|
1423
|
+
/// A predicate to determine if the left hand side is in the right hand side. For strings, returns `YES` if the left hand side is a substring of the right hand side. For collections, returns `YES` if the left hand side is in the right hand side.
|
|
1424
|
+
NSInPredicateOperatorType NS_SWIFT_NAME(in),
|
|
1425
|
+
/// A predicate that uses a custom selector that takes a single argument and returns a `BOOL` value. The selector is invoked on the left hand side with the right hand side as the argument.
|
|
1426
|
+
NSCustomSelectorPredicateOperatorType NS_SWIFT_NAME(customSelector),
|
|
1427
|
+
/// A predicate to determine if the left hand side contains the right hand side. Returns `YES` if `[lhs contains rhs]`; the left hand side must be an `NSExpression` object that evaluates to a collection.
|
|
1428
|
+
NSContainsPredicateOperatorType NS_SWIFT_NAME(contains) API_AVAILABLE(macos(10.5), ios(3.0), watchos(2.0), tvos(9.0)) = 99,
|
|
1429
|
+
/// A predicate to determine if the left hand side lies at or between bounds specified by the right hand side. The right hand side must be an array in which the first element sets the lower bound and the second element the upper, inclusive.
|
|
1430
|
+
NSBetweenPredicateOperatorType NS_SWIFT_NAME(between) API_AVAILABLE(macos(10.5), ios(3.0), watchos(2.0), tvos(9.0))
|
|
1431
|
+
} NS_SWIFT_NAME(NSComparisonPredicate.Operator);
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
/// The units supported by the `NSLengthFormatter` class.
|
|
1435
|
+
typedef NS_ENUM(NSInteger, NSLengthFormatterUnit) {
|
|
1436
|
+
/// The millimeter unit.
|
|
1437
|
+
NSLengthFormatterUnitMillimeter = 8,
|
|
1438
|
+
/// The centimeter unit.
|
|
1439
|
+
NSLengthFormatterUnitCentimeter = 9,
|
|
1440
|
+
/// The meter unit.
|
|
1441
|
+
NSLengthFormatterUnitMeter = 11,
|
|
1442
|
+
/// The kilometer unit.
|
|
1443
|
+
NSLengthFormatterUnitKilometer = 14,
|
|
1444
|
+
/// The inch unit.
|
|
1445
|
+
NSLengthFormatterUnitInch = (5 << 8) + 1,
|
|
1446
|
+
/// The foot unit.
|
|
1447
|
+
NSLengthFormatterUnitFoot = (5 << 8) + 2,
|
|
1448
|
+
/// The yard unit.
|
|
1449
|
+
NSLengthFormatterUnitYard = (5 << 8) + 3,
|
|
1450
|
+
/// The mile unit.
|
|
1451
|
+
NSLengthFormatterUnitMile = (5 << 8) + 4,
|
|
1452
|
+
} NS_SWIFT_NAME(LengthFormatter.Unit) API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
|
|
1453
|
+
|
|
1454
|
+
/// The units supported by the `NSMassFormatter` class.
|
|
1455
|
+
typedef NS_ENUM(NSInteger, NSMassFormatterUnit) {
|
|
1456
|
+
/// The gram unit.
|
|
1457
|
+
NSMassFormatterUnitGram = 11,
|
|
1458
|
+
/// The kilogram unit.
|
|
1459
|
+
NSMassFormatterUnitKilogram = 14,
|
|
1460
|
+
/// The ounce unit.
|
|
1461
|
+
NSMassFormatterUnitOunce = (6 << 8) + 1,
|
|
1462
|
+
/// The pound unit.
|
|
1463
|
+
NSMassFormatterUnitPound = (6 << 8) + 2,
|
|
1464
|
+
/// The stone unit.
|
|
1465
|
+
NSMassFormatterUnitStone = (6 << 8) + 3,
|
|
1466
|
+
} NS_SWIFT_NAME(MassFormatter.Unit) API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
|
|
1467
|
+
/// The units supported by the `NSEnergyFormatter` class.
|
|
1468
|
+
typedef NS_ENUM(NSInteger, NSEnergyFormatterUnit) {
|
|
1469
|
+
/// The joule unit.
|
|
1470
|
+
NSEnergyFormatterUnitJoule = 11,
|
|
1471
|
+
/// The kilojoule unit.
|
|
1472
|
+
NSEnergyFormatterUnitKilojoule = 14,
|
|
1473
|
+
/// The calorie unit (chemistry "calories", abbreviated "cal").
|
|
1474
|
+
NSEnergyFormatterUnitCalorie = (7 << 8) + 1,
|
|
1475
|
+
/// The kilocalorie unit (kilocalories in general, abbreviated "kcal", or "C" in some locales when `isForFoodEnergyUse` is set to `YES`).
|
|
1476
|
+
NSEnergyFormatterUnitKilocalorie = (7 << 8) + 2,
|
|
1477
|
+
} NS_SWIFT_NAME(EnergyFormatter.Unit) API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
|
|
1383
1478
|
NS_ROOT_CLASS
|
|
1384
1479
|
@interface NSProxy <NSObject>
|
|
1385
1480
|
+ (id)alloc;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* IOSurfaceBase.h
|
|
3
|
+
* IOSurface
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2006-2017 Apple Inc. All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
#ifndef IOSURFACE_BASE_H
|
|
10
|
+
#define IOSURFACE_BASE_H
|
|
11
|
+
|
|
12
|
+
#include <sys/cdefs.h>
|
|
13
|
+
|
|
14
|
+
#include <Availability.h>
|
|
15
|
+
#include <TargetConditionals.h>
|
|
16
|
+
|
|
17
|
+
#if defined(IOSFC_BUILDING_IOSFC)
|
|
18
|
+
# define IOSFC_DEPRECATED_MSG(s)
|
|
19
|
+
# define IOSFC_IOS_DEPRECATED_MSG(s)
|
|
20
|
+
#else /* !defined(IOSFC_BUILDING_IOSFC) */
|
|
21
|
+
# define IOSFC_DEPRECATED_MSG(s) DEPRECATED_MSG_ATTRIBUTE(s)
|
|
22
|
+
#if TARGET_OS_IPHONE
|
|
23
|
+
# define IOSFC_IOS_DEPRECATED_MSG(s) DEPRECATED_MSG_ATTRIBUTE(s)
|
|
24
|
+
#else
|
|
25
|
+
# define IOSFC_IOS_DEPRECATED_MSG(s)
|
|
26
|
+
#endif
|
|
27
|
+
#endif /* !defined(IOSFC_BUILDING_IOSFC) */
|
|
28
|
+
|
|
29
|
+
#if __has_feature(objc_class_property)
|
|
30
|
+
#define IOSFC_SWIFT_NAME(name) __attribute__((swift_name(#name)))
|
|
31
|
+
#else
|
|
32
|
+
#define IOSFC_SWIFT_NAME(name)
|
|
33
|
+
#endif
|
|
34
|
+
|
|
35
|
+
#if defined(__SWIFT_ATTR_SUPPORTS_SENDABLE_DECLS) && __SWIFT_ATTR_SUPPORTS_SENDABLE_DECLS
|
|
36
|
+
// The typedef or struct should be imported as 'Sendable' in Swift
|
|
37
|
+
#define IOSFC_SWIFT_SENDABLE __attribute__((swift_attr("@Sendable")))
|
|
38
|
+
// The typedef or struct should *not* be imported as 'Sendable' in Swift even if it normally would be
|
|
39
|
+
#define IOSFC_SWIFT_NONSENDABLE __attribute__((swift_attr("@_nonSendable")))
|
|
40
|
+
#else
|
|
41
|
+
#define IOSFC_SWIFT_SENDABLE
|
|
42
|
+
#define IOSFC_SWIFT_NONSENDABLE
|
|
43
|
+
#endif // __SWIFT_ATTR_SUPPORTS_SENDABLE_DECLS
|
|
44
|
+
|
|
45
|
+
#include <mach/kern_return.h>
|
|
46
|
+
#include <mach/mach_types.h>
|
|
47
|
+
#include <CoreFoundation/CoreFoundation.h>
|
|
48
|
+
#if TARGET_OS_OSX
|
|
49
|
+
#include <xpc/xpc.h>
|
|
50
|
+
#endif
|
|
51
|
+
|
|
52
|
+
#endif
|