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,98 @@
|
|
|
1
|
+
/* CFTimeZone.h
|
|
2
|
+
Copyright (c) 1998-2019, Apple Inc. and the Swift project authors
|
|
3
|
+
|
|
4
|
+
Portions Copyright (c) 2014-2019, Apple Inc. and the Swift project authors
|
|
5
|
+
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
6
|
+
See http://swift.org/LICENSE.txt for license information
|
|
7
|
+
See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#if !defined(__COREFOUNDATION_CFTIMEZONE__)
|
|
11
|
+
#define __COREFOUNDATION_CFTIMEZONE__ 1
|
|
12
|
+
|
|
13
|
+
#include <CoreFoundation/CFBase.h>
|
|
14
|
+
#include <CoreFoundation/CFArray.h>
|
|
15
|
+
#include <CoreFoundation/CFData.h>
|
|
16
|
+
#include <CoreFoundation/CFDate.h>
|
|
17
|
+
#include <CoreFoundation/CFDictionary.h>
|
|
18
|
+
#include <CoreFoundation/CFString.h>
|
|
19
|
+
#include <CoreFoundation/CFNotificationCenter.h>
|
|
20
|
+
#include <CoreFoundation/CFLocale.h>
|
|
21
|
+
|
|
22
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
23
|
+
CF_EXTERN_C_BEGIN
|
|
24
|
+
|
|
25
|
+
CF_EXPORT
|
|
26
|
+
CFTypeID CFTimeZoneGetTypeID(void);
|
|
27
|
+
|
|
28
|
+
CF_EXPORT
|
|
29
|
+
CFTimeZoneRef CFTimeZoneCopySystem(void);
|
|
30
|
+
|
|
31
|
+
CF_EXPORT
|
|
32
|
+
void CFTimeZoneResetSystem(void);
|
|
33
|
+
|
|
34
|
+
CF_EXPORT
|
|
35
|
+
CFTimeZoneRef CFTimeZoneCopyDefault(void);
|
|
36
|
+
|
|
37
|
+
CF_EXPORT
|
|
38
|
+
void CFTimeZoneSetDefault(CFTimeZoneRef tz);
|
|
39
|
+
|
|
40
|
+
CF_EXPORT
|
|
41
|
+
CFArrayRef CFTimeZoneCopyKnownNames(void);
|
|
42
|
+
|
|
43
|
+
CF_EXPORT
|
|
44
|
+
CFDictionaryRef CFTimeZoneCopyAbbreviationDictionary(void);
|
|
45
|
+
|
|
46
|
+
CF_EXPORT
|
|
47
|
+
void CFTimeZoneSetAbbreviationDictionary(CFDictionaryRef dict);
|
|
48
|
+
|
|
49
|
+
CF_EXPORT
|
|
50
|
+
CFTimeZoneRef CFTimeZoneCreate(CFAllocatorRef allocator, CFStringRef name, CFDataRef data);
|
|
51
|
+
|
|
52
|
+
CF_EXPORT
|
|
53
|
+
CFTimeZoneRef CFTimeZoneCreateWithTimeIntervalFromGMT(CFAllocatorRef allocator, CFTimeInterval ti);
|
|
54
|
+
|
|
55
|
+
CF_EXPORT
|
|
56
|
+
CFTimeZoneRef CFTimeZoneCreateWithName(CFAllocatorRef allocator, CFStringRef name, Boolean tryAbbrev);
|
|
57
|
+
|
|
58
|
+
CF_EXPORT
|
|
59
|
+
CFStringRef CFTimeZoneGetName(CFTimeZoneRef tz);
|
|
60
|
+
|
|
61
|
+
CF_EXPORT
|
|
62
|
+
CFDataRef CFTimeZoneGetData(CFTimeZoneRef tz);
|
|
63
|
+
|
|
64
|
+
CF_EXPORT
|
|
65
|
+
CFTimeInterval CFTimeZoneGetSecondsFromGMT(CFTimeZoneRef tz, CFAbsoluteTime at);
|
|
66
|
+
|
|
67
|
+
CF_EXPORT
|
|
68
|
+
CFStringRef CFTimeZoneCopyAbbreviation(CFTimeZoneRef tz, CFAbsoluteTime at);
|
|
69
|
+
|
|
70
|
+
CF_EXPORT
|
|
71
|
+
Boolean CFTimeZoneIsDaylightSavingTime(CFTimeZoneRef tz, CFAbsoluteTime at);
|
|
72
|
+
|
|
73
|
+
CF_EXPORT
|
|
74
|
+
CFTimeInterval CFTimeZoneGetDaylightSavingTimeOffset(CFTimeZoneRef tz, CFAbsoluteTime at) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
|
|
75
|
+
|
|
76
|
+
CF_EXPORT
|
|
77
|
+
CFAbsoluteTime CFTimeZoneGetNextDaylightSavingTimeTransition(CFTimeZoneRef tz, CFAbsoluteTime at) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
|
|
78
|
+
|
|
79
|
+
typedef CF_ENUM(CFIndex, CFTimeZoneNameStyle) {
|
|
80
|
+
kCFTimeZoneNameStyleStandard,
|
|
81
|
+
kCFTimeZoneNameStyleShortStandard,
|
|
82
|
+
kCFTimeZoneNameStyleDaylightSaving,
|
|
83
|
+
kCFTimeZoneNameStyleShortDaylightSaving,
|
|
84
|
+
kCFTimeZoneNameStyleGeneric,
|
|
85
|
+
kCFTimeZoneNameStyleShortGeneric
|
|
86
|
+
} API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
|
|
87
|
+
|
|
88
|
+
CF_EXPORT
|
|
89
|
+
CFStringRef CFTimeZoneCopyLocalizedName(CFTimeZoneRef tz, CFTimeZoneNameStyle style, CFLocaleRef locale) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
|
|
90
|
+
|
|
91
|
+
CF_EXPORT
|
|
92
|
+
const CFNotificationName kCFTimeZoneSystemTimeZoneDidChangeNotification API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
|
|
93
|
+
|
|
94
|
+
CF_EXTERN_C_END
|
|
95
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
96
|
+
|
|
97
|
+
#endif /* ! __COREFOUNDATION_CFTIMEZONE__ */
|
|
98
|
+
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#pragma once
|
|
2
|
+
#include <CoreFoundation/CFAvailability.h>
|
|
2
3
|
// darwin sys/cdefs.h spells these; the wasi libc has no such header.
|
|
3
4
|
#ifndef __nullable
|
|
4
5
|
#define __nullable _Nullable
|
|
@@ -6,115 +7,27 @@
|
|
|
6
7
|
#define __null_unspecified _Null_unspecified
|
|
7
8
|
#endif
|
|
8
9
|
#if !defined(CF_EXCLUDE_CSTD_HEADERS)
|
|
9
|
-
#include <sys/types.h>
|
|
10
10
|
#include <stdarg.h>
|
|
11
|
-
#include <assert.h>
|
|
12
|
-
#include <ctype.h>
|
|
13
11
|
#include <errno.h>
|
|
14
|
-
#include <float.h>
|
|
15
|
-
#include <limits.h>
|
|
16
|
-
#include <locale.h>
|
|
17
12
|
#include <math.h>
|
|
18
|
-
#include <setjmp.h>
|
|
19
|
-
#include <signal.h>
|
|
20
|
-
#include <stddef.h>
|
|
21
|
-
#include <stdio.h>
|
|
22
13
|
#include <stdlib.h>
|
|
23
14
|
#include <string.h>
|
|
24
|
-
#include <time.h>
|
|
25
|
-
#if defined(__STDC_VERSION__) && (199901L <= __STDC_VERSION__)
|
|
26
|
-
#include <inttypes.h>
|
|
27
|
-
#include <stdint.h>
|
|
28
|
-
#endif
|
|
29
|
-
#if defined(__STDC_VERSION__) && (199901L <= __STDC_VERSION__) && (__STDC_VERSION__ <= 201710L)
|
|
30
|
-
#include <stdbool.h>
|
|
31
|
-
#endif
|
|
32
15
|
#endif
|
|
33
16
|
#include <MacTypes.h>
|
|
34
|
-
#include <TargetConditionals.h>
|
|
35
17
|
#include <stdint.h>
|
|
36
18
|
#include <stddef.h>
|
|
37
19
|
#include <stdbool.h>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
#define CF_INLINE static inline
|
|
45
|
-
#elif defined(_MSC_VER)
|
|
46
|
-
#define CF_INLINE static __inline
|
|
47
|
-
#elif TARGET_OS_WIN32
|
|
48
|
-
#define CF_INLINE static __inline__
|
|
49
|
-
#endif
|
|
50
|
-
#endif
|
|
51
|
-
typedef unsigned char Boolean;
|
|
52
|
-
typedef unsigned char UInt8;
|
|
53
|
-
typedef int32_t SInt32;
|
|
54
|
-
typedef unsigned int UInt32;
|
|
55
|
-
typedef SInt32 OSStatus;
|
|
56
|
-
typedef unsigned long CFOptionFlags;
|
|
57
|
-
typedef signed long CFIndex;
|
|
58
|
-
#define CF_RELEASES_ARGUMENT __attribute__((cf_consumed))
|
|
59
|
-
#define CF_ENUM_ATTRIBUTES_ __attribute__((enum_extensibility(open)))
|
|
60
|
-
#define __PEACH_ENUM_GET(_1, _2, NAME, ...) NAME
|
|
61
|
-
#ifndef CF_OPEN_SOURCE
|
|
62
|
-
#define __CF_ENUM_FIXED_IS_AVAILABLE (__cplusplus && __cplusplus >= 201103L && (__has_extension(cxx_strong_enums) || __has_feature(objc_fixed_enum))) || (!__cplusplus && __has_feature(objc_fixed_enum))
|
|
63
|
-
#else
|
|
64
|
-
#define __CF_ENUM_FIXED_IS_AVAILABLE (__cplusplus && __cplusplus >= 201103L && (__has_extension(cxx_strong_enums) || __has_feature(objc_fixed_enum))) || (!__cplusplus && (__has_feature(objc_fixed_enum) || __has_extension(cxx_fixed_enum)))
|
|
65
|
-
#endif
|
|
66
|
-
#if __CF_ENUM_FIXED_IS_AVAILABLE
|
|
67
|
-
#define __PEACH_NAMED_ENUM(_type, _name) enum __attribute__((enum_extensibility(open))) _name : _type _name; enum _name : _type
|
|
68
|
-
#define __PEACH_ANON_ENUM(_type) enum __attribute__((enum_extensibility(open))) : _type
|
|
69
|
-
#define CF_CLOSED_ENUM(_type, _name) enum __attribute__((enum_extensibility(closed))) _name : _type _name; enum _name : _type
|
|
70
|
-
#if __cplusplus
|
|
71
|
-
#define CF_OPTIONS(_type, _name) __attribute__((availability(swift, unavailable))) _type _name; enum __attribute__((flag_enum, enum_extensibility(open))) : _name
|
|
72
|
-
#else
|
|
73
|
-
#define CF_OPTIONS(_type, _name) enum __attribute__((flag_enum, enum_extensibility(open))) _name : _type _name; enum _name : _type
|
|
74
|
-
#endif
|
|
75
|
-
#else
|
|
76
|
-
#define __PEACH_NAMED_ENUM(_type, _name) _type _name; enum
|
|
77
|
-
#define __PEACH_ANON_ENUM(_type) enum
|
|
78
|
-
#define CF_CLOSED_ENUM(_type, _name) _type _name; enum
|
|
79
|
-
#define CF_OPTIONS(_type, _name) _type _name; enum
|
|
80
|
-
#endif
|
|
81
|
-
#define CF_ENUM(...) __PEACH_ENUM_GET(__VA_ARGS__, __PEACH_NAMED_ENUM, __PEACH_ANON_ENUM, )(__VA_ARGS__)
|
|
82
|
-
#if __has_attribute(swift_name)
|
|
83
|
-
#define CF_SWIFT_NAME(_name) __attribute__((swift_name(#_name)))
|
|
84
|
-
#else
|
|
85
|
-
#define CF_SWIFT_NAME(_name)
|
|
86
|
-
#endif
|
|
87
|
-
#if __has_attribute(objc_bridge) && __has_feature(objc_bridge_id) && __has_feature(objc_bridge_id_on_typedefs)
|
|
88
|
-
#ifdef __OBJC__
|
|
89
|
-
@class NSString, NSDictionary, NSNumber, NSURL, NSError;
|
|
90
|
-
#endif
|
|
91
|
-
#define CF_BRIDGED_TYPE(_t) __attribute__((objc_bridge(_t)))
|
|
92
|
-
#define CF_BRIDGED_MUTABLE_TYPE(_t) __attribute__((objc_bridge_mutable(_t)))
|
|
93
|
-
#else
|
|
94
|
-
#define CF_BRIDGED_TYPE(_t)
|
|
95
|
-
#define CF_BRIDGED_MUTABLE_TYPE(_t)
|
|
96
|
-
#endif
|
|
97
|
-
typedef const struct CF_BRIDGED_TYPE(NSString) __CFString *CFStringRef;
|
|
98
|
-
typedef const CF_BRIDGED_TYPE(id) void *CFTypeRef;
|
|
99
|
-
typedef CF_BRIDGED_TYPE(id) CFTypeRef CFPropertyListRef;
|
|
20
|
+
|
|
21
|
+
#include <CoreFoundation/CFCalendar.h>
|
|
22
|
+
#include <CoreFoundation/CFNumber.h>
|
|
23
|
+
#include <CoreFoundation/CFSet.h>
|
|
24
|
+
#include <CoreFoundation/CFString.h>
|
|
25
|
+
|
|
100
26
|
typedef const struct CF_BRIDGED_TYPE(NSURL) __CFURL *CFURLRef;
|
|
101
|
-
typedef const struct CF_BRIDGED_TYPE(id)
|
|
102
|
-
typedef const struct CF_BRIDGED_TYPE(id) __CFUUID * CFUUIDRef;
|
|
103
|
-
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSError) __CFError *CFErrorRef;
|
|
104
|
-
typedef const struct CF_BRIDGED_TYPE(NSDictionary) __CFDictionary *CFDictionaryRef;
|
|
105
|
-
typedef const struct CF_BRIDGED_TYPE(NSNumber) __CFBoolean *CFBooleanRef;
|
|
27
|
+
typedef const struct CF_BRIDGED_TYPE(id) __CFUUID *CFUUIDRef;
|
|
106
28
|
#ifdef __cplusplus
|
|
107
29
|
extern "C" {
|
|
108
30
|
#endif
|
|
109
|
-
typedef double CFTimeInterval;
|
|
110
|
-
typedef CFTimeInterval CFAbsoluteTime;
|
|
111
|
-
CFAbsoluteTime CFAbsoluteTimeGetCurrent(void);
|
|
112
|
-
extern const CFTimeInterval kCFAbsoluteTimeIntervalSince1970;
|
|
113
|
-
extern const CFTimeInterval kCFAbsoluteTimeIntervalSince1904;
|
|
114
|
-
extern const CFBooleanRef kCFBooleanTrue;
|
|
115
|
-
extern const CFAllocatorRef kCFAllocatorDefault;
|
|
116
|
-
#pragma clang arc_cf_code_audited begin
|
|
117
|
-
void CFRelease(CFTypeRef cf);
|
|
118
31
|
typedef CF_OPTIONS(CFOptionFlags, CFPropertyListMutabilityOptions) {
|
|
119
32
|
kCFPropertyListImmutable = 0,
|
|
120
33
|
kCFPropertyListMutableContainers = 1 << 0,
|
|
@@ -146,91 +59,15 @@ typedef struct {
|
|
|
146
59
|
UInt8 byte15;
|
|
147
60
|
} CFUUIDBytes;
|
|
148
61
|
extern CFUUIDRef CFUUIDCreateFromUUIDBytes(CFAllocatorRef alloc, CFUUIDBytes bytes);
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
kCFStringEncodingMacRoman = 0,
|
|
153
|
-
kCFStringEncodingWindowsLatin1 = 0x0500,
|
|
154
|
-
kCFStringEncodingISOLatin1 = 0x0201,
|
|
155
|
-
kCFStringEncodingNextStepLatin = 0x0B01,
|
|
156
|
-
kCFStringEncodingASCII = 0x0600,
|
|
157
|
-
kCFStringEncodingUnicode = 0x0100,
|
|
158
|
-
kCFStringEncodingUTF8 = 0x08000100,
|
|
159
|
-
kCFStringEncodingNonLossyASCII = 0x0BFF,
|
|
160
|
-
|
|
161
|
-
kCFStringEncodingUTF16 = 0x0100,
|
|
162
|
-
kCFStringEncodingUTF16BE = 0x10000100,
|
|
163
|
-
kCFStringEncodingUTF16LE = 0x14000100,
|
|
164
|
-
|
|
165
|
-
kCFStringEncodingUTF32 = 0x0c000100,
|
|
166
|
-
kCFStringEncodingUTF32BE = 0x18000100,
|
|
167
|
-
kCFStringEncodingUTF32LE = 0x1c000100
|
|
168
|
-
};
|
|
169
|
-
#if defined(__GNUC__) && (__GNUC__*10+__GNUC_MINOR__ >= 42) && defined(__APPLE_CC__) && (__APPLE_CC__ > 1) && !defined(__INTEL_COMPILER) && TARGET_OS_MAC
|
|
170
|
-
#define CF_FORMAT_FUNCTION(F,A) __attribute__((format(CFString, F, A)))
|
|
171
|
-
#define CF_FORMAT_ARGUMENT(A) __attribute__((format_arg(A)))
|
|
172
|
-
#else
|
|
173
|
-
#define CF_FORMAT_FUNCTION(F,A)
|
|
174
|
-
#define CF_FORMAT_ARGUMENT(A)
|
|
175
|
-
#endif
|
|
176
|
-
extern CFStringRef CFStringCreateWithFormatAndArguments(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, va_list arguments) CF_FORMAT_FUNCTION(3,0);
|
|
177
|
-
extern CFStringRef CFStringCreateWithCString(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding) CF_FORMAT_ARGUMENT(2);
|
|
178
|
-
extern CFIndex CFStringGetLength(CFStringRef theString);
|
|
179
|
-
extern Boolean CFStringGetCString(CFStringRef theString, char *buffer, CFIndex bufferSize, CFStringEncoding encoding);
|
|
180
|
-
#pragma clang arc_cf_code_audited end
|
|
62
|
+
extern const CFStringRef kCFBundleExecutableKey;
|
|
63
|
+
extern const CFStringRef kCFBundleIdentifierKey;
|
|
64
|
+
extern const CFStringRef kCFBundleVersionKey;
|
|
181
65
|
#ifdef __cplusplus
|
|
182
66
|
}
|
|
183
67
|
#endif
|
|
184
|
-
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableString) __CFString * CFMutableStringRef;
|
|
185
|
-
typedef struct {
|
|
186
|
-
CFIndex location;
|
|
187
|
-
CFIndex length;
|
|
188
|
-
} CFRange;
|
|
189
|
-
typedef uint32_t FourCharCode;
|
|
190
|
-
typedef FourCharCode OSType;
|
|
191
|
-
typedef unsigned long CFTypeID;
|
|
192
|
-
typedef const struct CF_BRIDGED_TYPE(NSNumber) __CFNumber *CFNumberRef;
|
|
193
|
-
typedef CF_OPTIONS(CFOptionFlags, CFStringCompareFlags) {
|
|
194
|
-
kCFCompareCaseInsensitive = 1,
|
|
195
|
-
kCFCompareBackwards = 4,
|
|
196
|
-
kCFCompareAnchored = 8,
|
|
197
|
-
kCFCompareNonliteral = 16,
|
|
198
|
-
kCFCompareLocalized = 32,
|
|
199
|
-
kCFCompareNumerically = 64,
|
|
200
|
-
kCFCompareDiacriticInsensitive __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0))) = 128,
|
|
201
|
-
kCFCompareWidthInsensitive __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0))) = 256,
|
|
202
|
-
kCFCompareForcedOrdering __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0))) = 512
|
|
203
|
-
};
|
|
204
|
-
typedef const struct CF_BRIDGED_TYPE(NSData) __CFData *CFDataRef;
|
|
205
|
-
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableData) __CFData *CFMutableDataRef;
|
|
206
|
-
typedef const struct CF_BRIDGED_TYPE(NSArray) __CFArray *CFArrayRef;
|
|
207
|
-
#define CF_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
|
|
208
|
-
#define CF_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
|
|
209
|
-
#define CF_IMPLICIT_BRIDGING_ENABLED _Pragma("clang arc_cf_code_audited begin")
|
|
210
|
-
#define CF_IMPLICIT_BRIDGING_DISABLED _Pragma("clang arc_cf_code_audited end")
|
|
211
|
-
#if defined(__GNUC__) && (__GNUC__*10+__GNUC_MINOR__ >= 42) && defined(__APPLE_CC__) && (__APPLE_CC__ > 1) && !defined(__INTEL_COMPILER) && TARGET_OS_MAC
|
|
212
|
-
#define CF_FORMAT_FUNCTION(F,A) __attribute__((format(CFString, F, A)))
|
|
213
|
-
#define CF_FORMAT_ARGUMENT(A) __attribute__((format_arg(A)))
|
|
214
|
-
#else
|
|
215
|
-
#define CF_FORMAT_FUNCTION(F,A)
|
|
216
|
-
#define CF_FORMAT_ARGUMENT(A)
|
|
217
|
-
#endif
|
|
218
|
-
typedef UInt32 CFStringEncoding;
|
|
219
68
|
typedef struct CF_BRIDGED_MUTABLE_TYPE(id) __CFRunLoop * CFRunLoopRef;
|
|
220
69
|
typedef struct CF_BRIDGED_MUTABLE_TYPE(id) __CFRunLoopSource * CFRunLoopSourceRef;
|
|
221
|
-
#if __has_attribute(swift_wrapper)
|
|
222
|
-
#define _CF_TYPED_EXTENSIBLE_ENUM __attribute__((swift_wrapper(struct)))
|
|
223
|
-
#else
|
|
224
|
-
#define _CF_TYPED_EXTENSIBLE_ENUM
|
|
225
|
-
#endif
|
|
226
|
-
#define CF_EXTENSIBLE_STRING_ENUM _CF_TYPED_EXTENSIBLE_ENUM
|
|
227
70
|
typedef CFStringRef CFRunLoopMode CF_EXTENSIBLE_STRING_ENUM;
|
|
228
|
-
#if __has_attribute(__swift_attr__)
|
|
229
|
-
# define CF_SWIFT_UNAVAILABLE_FROM_ASYNC(msg) __attribute__((__swift_attr__("@_unavailableFromAsync(message: \"" msg "\")")))
|
|
230
|
-
#else
|
|
231
|
-
# define CF_SWIFT_UNAVAILABLE_FROM_ASYNC(msg)
|
|
232
|
-
#endif
|
|
233
|
-
#define CF_EXPORT extern
|
|
234
71
|
#ifdef __cplusplus
|
|
235
72
|
extern "C" {
|
|
236
73
|
#endif
|
|
@@ -240,49 +77,3 @@ CF_EXPORT CFRunLoopRef CFRunLoopGetCurrent(void);
|
|
|
240
77
|
#ifdef __cplusplus
|
|
241
78
|
}
|
|
242
79
|
#endif
|
|
243
|
-
extern Boolean CFStringTransform(CFMutableStringRef string, CFRange *range, CFStringRef transform, Boolean reverse);
|
|
244
|
-
extern const CFStringRef kCFBundleExecutableKey;
|
|
245
|
-
extern const CFStringRef kCFBundleIdentifierKey;
|
|
246
|
-
typedef CF_ENUM(CFIndex, CFComparisonResult) {
|
|
247
|
-
kCFCompareLessThan = -1L,
|
|
248
|
-
kCFCompareEqualTo = 0,
|
|
249
|
-
kCFCompareGreaterThan = 1
|
|
250
|
-
};
|
|
251
|
-
typedef FourCharCode OSType;
|
|
252
|
-
extern const CFStringRef kCFBundleVersionKey;
|
|
253
|
-
typedef CF_ENUM(CFIndex, CFNumberType) {
|
|
254
|
-
|
|
255
|
-
kCFNumberSInt8Type = 1,
|
|
256
|
-
kCFNumberSInt16Type = 2,
|
|
257
|
-
kCFNumberSInt32Type = 3,
|
|
258
|
-
kCFNumberSInt64Type = 4,
|
|
259
|
-
kCFNumberFloat32Type = 5,
|
|
260
|
-
kCFNumberFloat64Type = 6,
|
|
261
|
-
|
|
262
|
-
kCFNumberCharType = 7,
|
|
263
|
-
kCFNumberShortType = 8,
|
|
264
|
-
kCFNumberIntType = 9,
|
|
265
|
-
kCFNumberLongType = 10,
|
|
266
|
-
kCFNumberLongLongType = 11,
|
|
267
|
-
kCFNumberFloatType = 12,
|
|
268
|
-
kCFNumberDoubleType = 13,
|
|
269
|
-
|
|
270
|
-
kCFNumberCFIndexType = 14,
|
|
271
|
-
kCFNumberNSIntegerType __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0))) = 15,
|
|
272
|
-
kCFNumberCGFloatType __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0), availability(watchos,introduced=2.0), availability(tvos,introduced=9.0))) = 16,
|
|
273
|
-
kCFNumberMaxType = 16
|
|
274
|
-
};
|
|
275
|
-
extern const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key);
|
|
276
|
-
extern Boolean CFNumberGetValue(CFNumberRef number, CFNumberType theType, void *valuePtr);
|
|
277
|
-
#ifdef __cplusplus
|
|
278
|
-
extern "C" {
|
|
279
|
-
#endif
|
|
280
|
-
extern CFNumberType CFNumberGetType(CFNumberRef number);
|
|
281
|
-
#ifdef __cplusplus
|
|
282
|
-
}
|
|
283
|
-
#endif
|
|
284
|
-
extern CFComparisonResult CFStringCompare(CFStringRef theString1, CFStringRef theString2, CFStringCompareFlags compareOptions);
|
|
285
|
-
extern CFStringRef __CFStringMakeConstantString(const char *cStr);
|
|
286
|
-
#define CFSTR(cStr) __CFStringMakeConstantString("" cStr "")
|
|
287
|
-
extern CFStringRef CFCopyDescription(CFTypeRef cf);
|
|
288
|
-
extern const UInt8 *CFDataGetBytePtr(CFDataRef theData);
|
|
@@ -194,12 +194,8 @@ extern void CGImageRelease(CGImageRef _Nullable image) __attribute__((availabili
|
|
|
194
194
|
extern CFDataRef _Nullable CGDataProviderCopyData(CGDataProviderRef _Nullable provider) __attribute__((availability(macos,introduced=10.5), availability(ios,introduced=2.0)));
|
|
195
195
|
extern CFIndex CFDataGetLength(CFDataRef theData);
|
|
196
196
|
extern void CFDataGetBytes(CFDataRef theData, CFRange range, uint8_t *buffer);
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
range.location = loc;
|
|
200
|
-
range.length = len;
|
|
201
|
-
return range;
|
|
202
|
-
}
|
|
197
|
+
// CFRangeMake lives in CoreFoundation's CFBase.h, which this umbrella
|
|
198
|
+
// imports above; the duplicate inline here would shadow the native owner.
|
|
203
199
|
CG_EXTERN CGAffineTransform CGAffineTransformMakeScale(CGFloat sx, CGFloat sy) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
204
200
|
CG_EXTERN void CGContextScaleCTM(CGContextRef _Nullable c, CGFloat sx, CGFloat sy) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
205
201
|
CG_EXTERN void CGDataProviderRelease(CGDataProviderRef _Nullable provider) __attribute__((availability(macos,introduced=10.0), availability(ios,introduced=2.0)));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* CLAvailability.h
|
|
3
|
+
* CoreLocation
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2011 Apple Inc. All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
#ifndef __CL_INDIRECT__
|
|
11
|
+
#error "Please #include <CoreLocation/CoreLocation.h> instead of this file directly."
|
|
12
|
+
#endif // __CL_INDIRECT__
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
#import <Availability.h>
|
|
16
|
+
#import <os/availability.h>
|
|
17
|
+
|
|
18
|
+
#ifdef __cplusplus
|
|
19
|
+
#define CL_EXTERN extern "C" __attribute__((visibility ("default")))
|
|
20
|
+
#else
|
|
21
|
+
#define CL_EXTERN extern __attribute__((visibility ("default")))
|
|
22
|
+
#endif
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CLBackgroundActivitySession.h
|
|
3
|
+
// CoreLocation
|
|
4
|
+
//
|
|
5
|
+
// Created by Siraj Abidi on 02/20/23.
|
|
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)) API_UNAVAILABLE(macos) NS_REFINED_FOR_SWIFT
|
|
14
|
+
@interface CLBackgroundActivitySessionDiagnostic : NSObject
|
|
15
|
+
/*
|
|
16
|
+
* authorizationDenied
|
|
17
|
+
*
|
|
18
|
+
* Discussion:
|
|
19
|
+
* True if the session will be suspended while the app has been denied
|
|
20
|
+
* location authorization.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
@property (nonatomic, readonly) BOOL authorizationDenied;
|
|
24
|
+
|
|
25
|
+
/*
|
|
26
|
+
* authorizationDeniedGlobally
|
|
27
|
+
*
|
|
28
|
+
* Discussion:
|
|
29
|
+
* True if the session will be suspended while the user has disabled Location
|
|
30
|
+
* Services system-wide.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
@property (nonatomic, readonly) BOOL authorizationDeniedGlobally;
|
|
34
|
+
|
|
35
|
+
/*
|
|
36
|
+
* authorizationRestricted
|
|
37
|
+
*
|
|
38
|
+
* Discussion:
|
|
39
|
+
* True if session will be suspended while the app lacks authorization,
|
|
40
|
+
* and authorization changes are prevented by parental restrictions,
|
|
41
|
+
* MDM configuration, or other factors.
|
|
42
|
+
*/
|
|
43
|
+
@property (nonatomic, readonly) BOOL authorizationRestricted;
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
* insufficientlyInUse
|
|
47
|
+
*
|
|
48
|
+
* Discussion:
|
|
49
|
+
* True if the session will be suspended while the app is not sufficiently
|
|
50
|
+
* in-use.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
@property (nonatomic, readonly) BOOL insufficientlyInUse;
|
|
54
|
+
|
|
55
|
+
/*
|
|
56
|
+
* serviceSessionRequired
|
|
57
|
+
*
|
|
58
|
+
* Discussion:
|
|
59
|
+
* True if LocationServices are disabled because the app has adopted CLRequireExplicitServiceSession
|
|
60
|
+
* info.plist key but no CLServiceSession requiring authorization is outstanding yet.
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
@property (nonatomic, readonly) BOOL serviceSessionRequired API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
64
|
+
|
|
65
|
+
/*
|
|
66
|
+
* authorizationRequestInProgress
|
|
67
|
+
*
|
|
68
|
+
* Discussion:
|
|
69
|
+
* True if the system is requesting authorization from the user on behalf of the app, but no response has been received yet.
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
@property (nonatomic, readonly) BOOL authorizationRequestInProgress API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos);
|
|
73
|
+
@end
|
|
74
|
+
|
|
75
|
+
CL_EXTERN
|
|
76
|
+
API_AVAILABLE(ios(17.0), watchos(10.0)) API_UNAVAILABLE(macos) NS_REFINED_FOR_SWIFT
|
|
77
|
+
@interface CLBackgroundActivitySession : NSObject
|
|
78
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
79
|
+
+ (instancetype)new NS_UNAVAILABLE;
|
|
80
|
+
|
|
81
|
+
/*
|
|
82
|
+
* invalidate
|
|
83
|
+
*
|
|
84
|
+
* Discussion:
|
|
85
|
+
* Ends the session immediately. Any UI giving visual attestation
|
|
86
|
+
* to this background session will also be terminated. Once the
|
|
87
|
+
* session is invalidated it cannot become active again.
|
|
88
|
+
*/
|
|
89
|
+
- (void)invalidate API_AVAILABLE(ios(17.0), watchos(10.0), visionos(1.0)) API_UNAVAILABLE(macos);
|
|
90
|
+
|
|
91
|
+
/* backgroundActivitySession
|
|
92
|
+
* Discussion:
|
|
93
|
+
* Starts a background activity session allowing a When-In-Use
|
|
94
|
+
* authorized app to receive location updates or monitoring events. Provides
|
|
95
|
+
* user visibility about the background activity by displaying the Blue
|
|
96
|
+
* StatusBar/Pill and allowing the navigation back to this app by tapping
|
|
97
|
+
* the displayed UI.
|
|
98
|
+
*
|
|
99
|
+
* Session creation will always yield a session object but it may or may
|
|
100
|
+
* not be active based on the following circumstances:
|
|
101
|
+
*
|
|
102
|
+
* - A session may only be active for an app which has effective authorization.
|
|
103
|
+
* - A session may only be active for an app which includes Location in its
|
|
104
|
+
* UIBackgroundModes.
|
|
105
|
+
* - A new session may only become active while the app is foregrounded and
|
|
106
|
+
* in direct use.
|
|
107
|
+
* - An active session may continue when the app enters the background even
|
|
108
|
+
* if the app stops running.
|
|
109
|
+
* - An active session may be resumed immediately with this method when the
|
|
110
|
+
* app is next run, even in the background.
|
|
111
|
+
* - However, such a session which is not resumed immediately on next run
|
|
112
|
+
* will end and will need to qualify to become active again if still desired.
|
|
113
|
+
*
|
|
114
|
+
* When a session is active, the app remains in-use, so When-In-Use
|
|
115
|
+
* authorization will remain effective, and both Updater and Monitor
|
|
116
|
+
* APIs will be available.
|
|
117
|
+
|
|
118
|
+
* Note: the app is responsible for resuming an active session with this
|
|
119
|
+
* method immediately upon background launch if it wishes the session
|
|
120
|
+
* to remain active.
|
|
121
|
+
*
|
|
122
|
+
* Calling invalidate on the session will terminate it and render it
|
|
123
|
+
* immediately inactive.
|
|
124
|
+
*
|
|
125
|
+
* This session does not deliver diagnostic properties. Use
|
|
126
|
+
* -backgroundActivitySessionWithQueue:handler: to get diagnostic updates.
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
+ (instancetype)backgroundActivitySession API_AVAILABLE(ios(17.0), watchos(10.0)) API_UNAVAILABLE(macos);
|
|
130
|
+
|
|
131
|
+
/* backgroundActivitySessionWithQueue:handler:
|
|
132
|
+
* Discussion:
|
|
133
|
+
* Starts a background activity session while delivering diagnostic
|
|
134
|
+
* updates to the handler.
|
|
135
|
+
*
|
|
136
|
+
* queue: Specifies the queue to which the handler is submitted with each
|
|
137
|
+
* available diagnostic.
|
|
138
|
+
* handler: Specifies the block that will be invoked with each update.
|
|
139
|
+
*
|
|
140
|
+
* See -backgroundActivitySession for more details
|
|
141
|
+
*/
|
|
142
|
+
+ (instancetype)backgroundActivitySessionWithQueue:(dispatch_queue_t)queue handler:(void(^)(CLBackgroundActivitySessionDiagnostic * diagnostic))handler API_AVAILABLE(ios(18.0), watchos(11.0)) API_UNAVAILABLE(macos);
|
|
143
|
+
|
|
144
|
+
@end
|
|
145
|
+
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* CLBeaconIdentityCondition.h
|
|
3
|
+
* CoreLocation
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2023 Apple Inc. All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
#pragma once
|
|
10
|
+
|
|
11
|
+
#import <Foundation/Foundation.h>
|
|
12
|
+
#import <CoreLocation/CLAvailability.h>
|
|
13
|
+
#import <CoreLocation/CLCondition.h>
|
|
14
|
+
|
|
15
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
16
|
+
|
|
17
|
+
/*
|
|
18
|
+
* CLBeaconMajorValue
|
|
19
|
+
*
|
|
20
|
+
* Discussion:
|
|
21
|
+
* Type represents the most significant value in a beacon.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
typedef uint16_t CLBeaconMajorValue;
|
|
25
|
+
|
|
26
|
+
/*
|
|
27
|
+
* CLBeaconMinorValue
|
|
28
|
+
*
|
|
29
|
+
* Discussion:
|
|
30
|
+
* Type represents the least significant value in a beacon.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
typedef uint16_t CLBeaconMinorValue;
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/*
|
|
37
|
+
* CLBeaconIdentityCondition
|
|
38
|
+
*
|
|
39
|
+
* Discussion:
|
|
40
|
+
* A condition that describes the identity caracteristics of a beacon.
|
|
41
|
+
*
|
|
42
|
+
* A beacon identity is defined by UUID, major and minor values.
|
|
43
|
+
* UUID must be specified. If only UUID is specified, the major and
|
|
44
|
+
* minor values will be wildcarded and any beacons with the same
|
|
45
|
+
* UUID will satisfy the condition. Similarly if only UUID and
|
|
46
|
+
* major value are specified, the minor value will be wildcarded
|
|
47
|
+
* and any beacons with the same UUID and major value will satisfy
|
|
48
|
+
* the condition.
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
NS_REFINED_FOR_SWIFT
|
|
52
|
+
CL_EXTERN
|
|
53
|
+
API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos, visionos)
|
|
54
|
+
@interface CLBeaconIdentityCondition : CLCondition<NSCopying, NSSecureCoding>
|
|
55
|
+
/*
|
|
56
|
+
* UUID
|
|
57
|
+
*
|
|
58
|
+
* Discussion:
|
|
59
|
+
* UUID associated with the beacon.
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
@property (readonly, nonatomic, copy) NSUUID *UUID;
|
|
63
|
+
|
|
64
|
+
/*
|
|
65
|
+
* major
|
|
66
|
+
*
|
|
67
|
+
* Discussion:
|
|
68
|
+
* Most significant value associated with the beacon.
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
@property (readonly, nonatomic, copy, nullable) NSNumber *major NS_REFINED_FOR_SWIFT;
|
|
72
|
+
|
|
73
|
+
/*
|
|
74
|
+
* minor
|
|
75
|
+
*
|
|
76
|
+
* Discussion:
|
|
77
|
+
* Least significant value associated with the beacon.
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
@property (readonly, nonatomic, copy, nullable) NSNumber *minor NS_REFINED_FOR_SWIFT;
|
|
81
|
+
|
|
82
|
+
/*
|
|
83
|
+
* initWithUUID:
|
|
84
|
+
*
|
|
85
|
+
* Discussion:
|
|
86
|
+
* Initialize a beacon identity condition with a UUID. Major and
|
|
87
|
+
* minor values will be wildcarded.
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
- (instancetype)initWithUUID:(NSUUID *)uuid;
|
|
91
|
+
|
|
92
|
+
/*
|
|
93
|
+
* initWithUUID:major:
|
|
94
|
+
*
|
|
95
|
+
* Discussion:
|
|
96
|
+
* Initialize a beacon identity condition with a UUID and major
|
|
97
|
+
* value. Minor value will be wildcarded.
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
- (instancetype)initWithUUID:(NSUUID *)uuid major:(CLBeaconMajorValue)major;
|
|
101
|
+
|
|
102
|
+
/*
|
|
103
|
+
* initWithUUID:major:minor:
|
|
104
|
+
*
|
|
105
|
+
* Discussion:
|
|
106
|
+
* Initialize a beacon identity condition with a UUID, major, and
|
|
107
|
+
* minor values.
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
- (instancetype)initWithUUID:(NSUUID *)uuid major:(CLBeaconMajorValue)major minor:(CLBeaconMinorValue)minor;
|
|
111
|
+
@end
|
|
112
|
+
|
|
113
|
+
NS_ASSUME_NONNULL_END
|