peachsim 0.1.1674 → 0.1.1692

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/cli/commands/control.ts +13 -1
  2. package/cli/commands/coverage-swift.ts +150 -27
  3. package/cli/commands/coverage.ts +219 -20
  4. package/cli/commands/detect.ts +10 -6
  5. package/cli/commands/inspect/actions.ts +1 -0
  6. package/cli/commands/inspect/core.ts +2 -0
  7. package/cli/commands/inspect/wait-ready.ts +7 -0
  8. package/cli/commands/screenshot.ts +12 -0
  9. package/cli/outbound-endpoints.ts +12 -0
  10. package/detox/index.ts +11 -1
  11. package/detox/jest-environment.cjs +14 -0
  12. package/dist-lib/agent-daemon-client.cjs +1 -1
  13. package/dist-lib/agent-events.cjs +1 -1
  14. package/dist-lib/attached-projects.cjs +1 -1
  15. package/dist-lib/auth/shared-session.cjs +1 -1
  16. package/dist-lib/backend-origin.cjs +1 -1
  17. package/dist-lib/beta.cjs +1 -1
  18. package/dist-lib/beta.mjs +1 -1
  19. package/dist-lib/bridge-constants.cjs +1 -1
  20. package/dist-lib/bridge-contract-input.cjs +1 -1
  21. package/dist-lib/bridge-contract-input.mjs +1 -1
  22. package/dist-lib/bridge-contract.cjs +1 -1
  23. package/dist-lib/bridge-contract.mjs +1 -1
  24. package/dist-lib/bundle-channel.cjs +4833 -2432
  25. package/dist-lib/capture-contract.cjs +1 -1
  26. package/dist-lib/capture-contract.mjs +1 -1
  27. package/dist-lib/cloud-contract.cjs +1 -1
  28. package/dist-lib/cloud-contract.mjs +1 -1
  29. package/dist-lib/cloud-test-args.cjs +1 -1
  30. package/dist-lib/cloud-test-args.mjs +1 -1
  31. package/dist-lib/cloud.cjs +1 -1
  32. package/dist-lib/cloud.mjs +1 -1
  33. package/dist-lib/config.cjs +1 -1
  34. package/dist-lib/config.mjs +1 -1
  35. package/dist-lib/detox/index.cjs +6 -4
  36. package/dist-lib/detox/jest-environment.cjs +14 -0
  37. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  38. package/dist-lib/expo-swift-bundle.cjs +3785 -1737
  39. package/dist-lib/expo-swift-metadata.cjs +1 -1
  40. package/dist-lib/expo-swift-metadata.mjs +1 -1
  41. package/dist-lib/home-paths.cjs +1 -1
  42. package/dist-lib/host/bridge-host.cjs +4253 -2205
  43. package/dist-lib/host/fetch-proxy-handler.cjs +20 -7
  44. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  45. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  46. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  47. package/dist-lib/host/websocket-proxy.cjs +1 -1
  48. package/dist-lib/index.cjs +2065 -796
  49. package/dist-lib/jump-to-source-babel.cjs +1 -1
  50. package/dist-lib/jump-to-source-native.cjs +1 -1
  51. package/dist-lib/kotlin-host.cjs +1 -1
  52. package/dist-lib/menu.cjs +1 -1
  53. package/dist-lib/menu.mjs +1 -1
  54. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  55. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  56. package/dist-lib/metro-production-bundle.cjs +1 -1
  57. package/dist-lib/metro-production-bundle.mjs +1 -1
  58. package/dist-lib/metro.cjs +6325 -4287
  59. package/dist-lib/native-app-identity-project.cjs +192 -55
  60. package/dist-lib/native-app-identity-project.mjs +235 -86
  61. package/dist-lib/native-app-identity.cjs +1 -1
  62. package/dist-lib/native-app-identity.mjs +1 -1
  63. package/dist-lib/native-firebase-metadata.cjs +1 -1
  64. package/dist-lib/native-firebase-metadata.mjs +1 -1
  65. package/dist-lib/plist.cjs +1 -1
  66. package/dist-lib/plist.mjs +1 -1
  67. package/dist-lib/profiles.cjs +1 -1
  68. package/dist-lib/public-brand.cjs +1 -1
  69. package/dist-lib/public-origins-lib-esm.json +27 -23
  70. package/dist-lib/public-origins-lib-static.json +1 -1
  71. package/dist-lib/public-origins-lib.json +156 -87
  72. package/dist-lib/react-native-host-modules.cjs +1 -1
  73. package/dist-lib/react-native-host-modules.mjs +1 -1
  74. package/dist-lib/reap-browser.cjs +2 -2
  75. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  76. package/dist-lib/sdk.cjs +3 -2
  77. package/dist-lib/sdk.mjs +3 -2
  78. package/dist-lib/skills.cjs +5036 -2833
  79. package/dist-lib/swift-compile.cjs +2937 -437
  80. package/dist-lib/swift-compile.mjs +2932 -435
  81. package/dist-lib/swift-package.cjs +137 -49
  82. package/dist-lib/swift-package.mjs +132 -49
  83. package/dist-lib/swift-submit.cjs +1 -1
  84. package/dist-lib/swift-submit.mjs +1 -1
  85. package/dist-lib/swift-toolchain.cjs +26 -11
  86. package/dist-lib/swift.cjs +1 -1
  87. package/dist-lib/vite-swift.cjs +6005 -1725
  88. package/dist-lib/vite.cjs +1911 -776
  89. package/dist-lib/worklet-executable.cjs +7 -4
  90. package/dist-lib/worklet-executable.mjs +7 -4
  91. package/dist-types/packages/peach-engine/src/engine/canvaskit-api.d.ts +1 -1
  92. package/dist-types/packages/peach-engine/src/engine/clipboardContract.d.ts +24 -2
  93. package/dist-types/packages/peach-engine/src/preview/upload-protocol.d.ts +11 -3
  94. package/dist-types/packages/peach-engine/src/webview-automation-host.d.ts +6 -0
  95. package/dist-types/packages/peach-globals/src/clipboardBridgeContract.d.ts +8 -0
  96. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  97. package/dist-types/packages/peach-globals/src/nodeContract.d.ts +3 -2
  98. package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
  99. package/package.json +1 -1
  100. package/runtime-companion.json +1 -1
  101. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +60 -2
  102. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLAvailability.h +22 -0
  103. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h +145 -0
  104. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h +113 -0
  105. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h +34 -0
  106. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h +225 -0
  107. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBody.h +26 -0
  108. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h +59 -0
  109. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h +64 -0
  110. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h +48 -0
  111. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLError.h +52 -0
  112. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLErrorDomain.h +24 -0
  113. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h +55 -0
  114. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h +117 -0
  115. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h +9 -0
  116. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h +45 -0
  117. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h +877 -0
  118. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h +225 -0
  119. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h +33 -0
  120. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h +28 -0
  121. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h +250 -0
  122. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h +140 -0
  123. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h +77 -0
  124. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h +184 -0
  125. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h +57 -0
  126. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h +98 -0
  127. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h +123 -0
  128. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLServiceSession.h +211 -0
  129. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h +66 -0
  130. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h +46 -0
  131. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Modules/module.modulemap +7 -0
  132. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +117 -2
  133. package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h +52 -0
  134. package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h +240 -0
  135. package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h +474 -0
  136. package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h +66 -0
  137. package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Modules/module.modulemap +10 -0
  138. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFComposeAssistantViewController.h +29 -0
  139. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMailComposeControllerDeferredAction.h +14 -0
  140. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMailComposeViewController.h +162 -0
  141. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMailDraft.h +24 -0
  142. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController+UPI.h +31 -0
  143. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController.h +169 -0
  144. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MessageUI.h +13 -0
  145. package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Modules/module.modulemap +11 -0
  146. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4AccelerationStructure.h +9 -0
  147. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Archive.h +16 -0
  148. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ArgumentTable.h +17 -0
  149. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BinaryFunction.h +13 -0
  150. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BinaryFunctionDescriptor.h +14 -0
  151. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BufferRange.h +79 -0
  152. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandAllocator.h +15 -0
  153. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandBuffer.h +17 -0
  154. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandEncoder.h +16 -0
  155. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandQueue.h +19 -0
  156. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommitFeedback.h +15 -0
  157. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Compiler.h +13 -0
  158. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CompilerTask.h +13 -0
  159. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ComputeCommandEncoder.h +19 -0
  160. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ComputePipeline.h +13 -0
  161. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Counters.h +19 -0
  162. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4FunctionDescriptor.h +13 -0
  163. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LibraryDescriptor.h +13 -0
  164. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LibraryFunctionDescriptor.h +13 -0
  165. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LinkingDescriptor.h +13 -0
  166. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MachineLearningCommandEncoder.h +17 -0
  167. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MachineLearningPipeline.h +13 -0
  168. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MeshRenderPipeline.h +13 -0
  169. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4PipelineDataSetSerializer.h +13 -0
  170. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4PipelineState.h +13 -0
  171. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderCommandEncoder.h +17 -0
  172. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderPass.h +17 -0
  173. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderPipeline.h +13 -0
  174. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4SpecializedFunctionDescriptor.h +13 -0
  175. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4StitchedFunctionDescriptor.h +13 -0
  176. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4TileRenderPipeline.h +13 -0
  177. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructure.h +1212 -0
  178. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h +322 -0
  179. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h +224 -0
  180. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAllocation.h +22 -0
  181. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h +279 -0
  182. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h +199 -0
  183. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBinaryArchive.h +142 -0
  184. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h +266 -0
  185. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBlitPass.h +82 -0
  186. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h +94 -0
  187. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h +113 -0
  188. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h +43 -0
  189. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h +449 -0
  190. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h +148 -0
  191. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h +102 -0
  192. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h +350 -0
  193. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputePass.h +90 -0
  194. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h +274 -0
  195. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCounters.h +225 -0
  196. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDataType.h +232 -0
  197. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h +39 -0
  198. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h +93 -0
  199. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h +1122 -0
  200. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDeviceCertification.h +29 -0
  201. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h +36 -0
  202. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDynamicLibrary.h +81 -0
  203. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h +79 -0
  204. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h +22 -0
  205. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h +30 -0
  206. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionDescriptor.h +95 -0
  207. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionHandle.h +29 -0
  208. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionLog.h +37 -0
  209. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionStitching.h +131 -0
  210. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLGPUAddress.h +19 -0
  211. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h +284 -0
  212. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCommandBuffer.h +10 -0
  213. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCommandQueue.h +11 -0
  214. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCompressor.h +10 -0
  215. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h +157 -0
  216. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h +110 -0
  217. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIntersectionFunctionTable.h +186 -0
  218. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h +549 -0
  219. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLinkedFunctions.h +57 -0
  220. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLogState.h +65 -0
  221. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h +77 -0
  222. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h +57 -0
  223. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h +342 -0
  224. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h +323 -0
  225. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h +1068 -0
  226. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h +411 -0
  227. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h +788 -0
  228. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResidencySet.h +141 -0
  229. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h +307 -0
  230. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h +125 -0
  231. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStatePass.h +85 -0
  232. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceViewPool.h +22 -0
  233. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h +252 -0
  234. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h +158 -0
  235. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTensor.h +17 -0
  236. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h +460 -0
  237. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTextureViewPool.h +18 -0
  238. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h +125 -0
  239. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h +153 -0
  240. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLVisibleFunctionTable.h +45 -0
  241. package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/Metal.h +94 -0
  242. package/sdk/ios/System/Library/Frameworks/Metal.framework/Modules/module.modulemap +6 -0
  243. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +10 -0
  244. package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTDefines.h +35 -0
  245. package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTTagClass.h +33 -0
  246. package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTType.h +504 -0
  247. package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLEssentialsAvailability.h +14 -0
  248. package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLLocationEssentials.h +444 -0
  249. package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/LocationEssentials.h +14 -0
  250. package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Modules/module.modulemap +14 -0
  251. package/sdk/ios/usr/include/arm/param.h +151 -0
  252. package/sdk/ios/usr/include/complex.h +167 -0
  253. package/sdk/ios/usr/include/dispatch/dispatch.h +8 -0
  254. package/sdk/ios/usr/include/dlfcn.h +1 -2
  255. package/sdk/ios/usr/include/mach/mach_types.h +1 -0
  256. package/sdk/ios/usr/include/machine/param.h +42 -0
  257. package/sdk/ios/usr/include/math.h +835 -2
  258. package/sdk/ios/usr/include/net/if.h +1 -2
  259. package/sdk/ios/usr/include/peach/pthread.h +4 -4
  260. package/sdk/ios/usr/include/pthread/qos.h +304 -0
  261. package/sdk/ios/usr/include/sys/_types/_fd_clr.h +31 -0
  262. package/sdk/ios/usr/include/sys/_types/_fd_copy.h +31 -0
  263. package/sdk/ios/usr/include/sys/_types/_fd_def.h +121 -0
  264. package/sdk/ios/usr/include/sys/_types/_fd_isset.h +31 -0
  265. package/sdk/ios/usr/include/sys/_types/_fd_set.h +31 -0
  266. package/sdk/ios/usr/include/sys/_types/_fd_setsize.h +31 -0
  267. package/sdk/ios/usr/include/sys/_types/_fd_zero.h +31 -0
  268. package/sdk/ios/usr/include/sys/cdefs.h +3 -1
  269. package/sdk/ios/usr/include/sys/param.h +235 -0
  270. package/sdk/ios/usr/include/sys/proc.h +1 -0
  271. package/sdk/ios/usr/include/sys/qos.h +151 -12
  272. package/sdk/ios/wasm/include/__typedef_sigset_t.h +7 -0
  273. package/sdk/ios/wasm/include/fcntl.h +11 -0
  274. package/sdk/ios/wasm/include/mach/machine/boolean.h +2 -0
  275. package/sdk/ios/wasm/include/mach/machine/exception.h +5 -0
  276. package/sdk/ios/wasm/include/mach/machine/kern_return.h +2 -0
  277. package/sdk/ios/wasm/include/mach/machine/processor_info.h +2 -0
  278. package/sdk/ios/wasm/include/mach/machine/rpc.h +2 -0
  279. package/sdk/ios/wasm/include/mach/machine/thread_state.h +3 -0
  280. package/sdk/ios/wasm/include/mach/machine/thread_status.h +3 -0
  281. package/sdk/ios/wasm/include/mach/machine/vm_param.h +3 -0
  282. package/sdk/ios/wasm/include/mach/machine/vm_types.h +18 -0
  283. package/sdk/ios/wasm/include/machine/_types.h +153 -0
  284. package/sdk/ios/wasm/include/machine/endian.h +2 -0
  285. package/sdk/ios/wasm/include/machine/limits.h +2 -0
  286. package/sdk/ios/wasm/include/machine/types.h +30 -0
  287. package/sdk/ios/wasm/include/poll.h +8 -0
  288. package/sdk/ios/wasm/include/pthread.h +50 -0
  289. package/sdk/ios/wasm/include/signal.h +72 -0
  290. package/sdk/ios/wasm/include/stdlib.h +3 -0
  291. package/sdk/ios/wasm/include/string.h +10 -0
  292. package/sdk/ios/wasm/include/sys/_pthread/_pthread_attr_t.h +7 -0
  293. package/sdk/ios/wasm/include/sys/_pthread/_pthread_t.h +7 -0
  294. package/sdk/ios/wasm/include/sys/mman.h +122 -0
  295. package/sdk/ios/wasm/include/sys/select.h +37 -0
  296. package/sdk/ios/wasm/include/sys/signal.h +259 -0
  297. package/sdk/ios/wasm/include/sys/socket.h +8 -0
  298. package/sdk/ios/wasm/include/sys/types.h +14 -0
  299. package/sdk/ios/wasm/include/sys/ucontext.h +1 -0
  300. package/sdk/ios/wasm/include/sys/uio.h +11 -0
  301. package/sdk/ios/wasm/include/sys/wait.h +89 -0
  302. package/sdk/ios/wasm/include/time.h +8 -0
  303. package/sdk/ios/wasm/include/unistd.h +17 -0
  304. package/src/bridge-contract.ts +2 -0
  305. package/src/chromium-admission.ts +10 -5
  306. package/src/device-catalog.ts +4 -4
  307. package/src/generated/swift-c-predefines.json +1988 -0
  308. package/src/host/fetch-proxy-handler.ts +20 -0
  309. package/src/metro-plugin.ts +5 -2
  310. package/src/nitro-adapter.lock.json +6 -6
  311. package/src/nitro-bundle.ts +1 -0
  312. package/src/nitro-compile.ts +67 -2
  313. package/src/nitroContract.ts +18 -2
  314. package/src/numbered-lock.ts +72 -0
  315. package/src/react-native-coverage/capability-reference-resolution.ts +62 -5
  316. package/src/react-native-coverage/capability-source-references.ts +50 -13
  317. package/src/react-native-coverage/native-source-credit.ts +126 -0
  318. package/src/react-native-coverage/native-source-ranges-file.ts +38 -0
  319. package/src/react-native-coverage/native-surface.ts +49 -0
  320. package/src/react-native-coverage/verified-reach.ts +22 -2
  321. package/src/runtime-assets.ts +17 -0
  322. package/src/swift-compile.ts +530 -97
  323. package/src/swift-coverage/indexing.ts +17 -1
  324. package/src/swift-coverage/package.ts +3 -1
  325. package/src/swift-coverage/sdk.ts +71 -0
  326. package/src/swift-coverage/source.ts +74 -2
  327. package/src/swift-coverage/types.ts +6 -0
  328. package/src/swift-coverage/xcode-assets.ts +62 -2
  329. package/src/swift-coverage/xcode-packages.ts +11 -6
  330. package/src/swift-distribution.lock.json +12 -12
  331. package/src/swift-host.ts +457 -62
  332. package/src/swift-objc-compile.ts +26 -26
  333. package/src/swift-objc-metadata.ts +2 -8
  334. package/src/swift-objc-platform.ts +53 -0
  335. package/src/swift-objc-standin.ts +66 -12
  336. package/src/swift-package-manifest.ts +196 -28
  337. package/src/swift-package.ts +186 -60
  338. package/src/swift-packages.ts +298 -88
  339. package/src/swift-source-file.ts +10 -15
  340. package/src/swift-source-pods.ts +288 -0
  341. package/src/swift-standins.ts +87 -13
  342. package/src/swift-submit.ts +5 -0
  343. package/src/swift-toolchain.ts +32 -10
  344. package/src/swiftContract.ts +160 -75
  345. package/src/target-matcher.ts +15 -2
  346. package/src/vite-plugin-one.ts +5 -4
  347. package/src/worker-system-chunks.ts +7 -1
  348. package/src/worklet-executable.ts +7 -3
  349. package/src/xcode-json-project.ts +14 -2
  350. package/src/xcode-project.ts +193 -69
@@ -0,0 +1,444 @@
1
+ //
2
+ // CLLocationEssentials.h
3
+ // CoreLocation
4
+ //
5
+ // Created by Ilya Veygman on 2/24/25.
6
+ //
7
+
8
+ #ifndef CLLocationEssentials_h
9
+ #define CLLocationEssentials_h
10
+
11
+ #import <Availability.h>
12
+ #import <Foundation/Foundation.h>
13
+ #import <_LocationEssentials/CLEssentialsAvailability.h>
14
+
15
+ NS_ASSUME_NONNULL_BEGIN
16
+
17
+ /*
18
+ * CLLocationDegrees
19
+ *
20
+ * Discussion:
21
+ * Type used to represent a latitude or longitude coordinate in degrees under the WGS 84 reference
22
+ * frame. The degree can be positive (North and East) or negative (South and West).
23
+ */
24
+ typedef double CLLocationDegrees;
25
+
26
+ /*
27
+ * CLLocationAccuracy
28
+ *
29
+ * Discussion:
30
+ * Type used to represent a location accuracy level in meters. The lower the value in meters, the
31
+ * more physically precise the location is. A negative accuracy value indicates an invalid location.
32
+ */
33
+ typedef double CLLocationAccuracy;
34
+
35
+ /*
36
+ * CLLocationSpeed
37
+ *
38
+ * Discussion:
39
+ * Type used to represent the speed in meters per second.
40
+ */
41
+ typedef double CLLocationSpeed;
42
+
43
+ /*
44
+ * CLLocationSpeedAccuracy
45
+ *
46
+ * Discussion:
47
+ * Type used to represent a speed accuracy level in meters/second. The lower the value the more
48
+ * precise the speed is. A negative accuracy value indicates an invalid speed.
49
+ */
50
+ typedef double CLLocationSpeedAccuracy;
51
+
52
+ /*
53
+ * CLLocationDirection
54
+ *
55
+ * Discussion:
56
+ * Type used to represent the direction in degrees from 0 to 359.9. A negative value indicates an
57
+ * invalid direction.
58
+ */
59
+ typedef double CLLocationDirection;
60
+
61
+ /*
62
+ * CLLocationDirectionAccuracy
63
+ *
64
+ * Discussion:
65
+ * Type used to represent a direction accuracy in degrees. The lower the value the more precise the
66
+ * direction is. A negative accuracy value indicates an invalid direction.
67
+ */
68
+ typedef double CLLocationDirectionAccuracy;
69
+
70
+ /*
71
+ * CLLocationCoordinate2D
72
+ *
73
+ * Discussion:
74
+ * A structure that contains a geographical coordinate.
75
+ *
76
+ * Fields:
77
+ * latitude:
78
+ * The latitude in degrees.
79
+ * longitude:
80
+ * The longitude in degrees.
81
+ */
82
+ struct CLLocationCoordinate2D {
83
+ CLLocationDegrees latitude;
84
+ CLLocationDegrees longitude;
85
+ };
86
+ typedef struct CLLocationCoordinate2D CLLocationCoordinate2D;
87
+
88
+ /*
89
+ * CLLocationDistance
90
+ *
91
+ * Discussion:
92
+ * Type used to represent a distance in meters.
93
+ */
94
+ typedef double CLLocationDistance;
95
+
96
+ /*
97
+ * kCLDistanceFilterNone
98
+ *
99
+ * Discussion:
100
+ * Use as the distanceFilter property for CLLocationManager. This indicates
101
+ * to the location service that no minimum movement filter is desired - ie, client will be informed
102
+ * of any movement.
103
+ */
104
+ CLES_EXPORT const CLLocationDistance kCLDistanceFilterNone;
105
+
106
+ /*
107
+ * kCLLocationAccuracy<x>
108
+ *
109
+ * Discussion:
110
+ * Used to specify the accuracy level desired. The location service will try its best to achieve
111
+ * your desired accuracy. However, it is not guaranteed. To optimize
112
+ * power performance, be sure to specify an appropriate accuracy for your usage scenario (eg,
113
+ * use a large accuracy value when only a coarse location is needed).
114
+ */
115
+ CLES_EXPORT const CLLocationAccuracy kCLLocationAccuracyBestForNavigation API_AVAILABLE(ios(4.0), macos(10.7));
116
+ CLES_EXPORT const CLLocationAccuracy kCLLocationAccuracyBest;
117
+ CLES_EXPORT const CLLocationAccuracy kCLLocationAccuracyNearestTenMeters;
118
+ CLES_EXPORT const CLLocationAccuracy kCLLocationAccuracyHundredMeters;
119
+ CLES_EXPORT const CLLocationAccuracy kCLLocationAccuracyKilometer;
120
+ CLES_EXPORT const CLLocationAccuracy kCLLocationAccuracyThreeKilometers;
121
+
122
+ /*
123
+ * kCLLocationAccuracyReduced
124
+ *
125
+ * Discussion:
126
+ * If you set your CLLocationManager's desiredAccuracy property to
127
+ * this value, locations delivered to your delegate in response to
128
+ * startUpdatingLocation or requestLocation will have their
129
+ * accuracy reduced. The locations you receive will match the
130
+ * locations your app would have received if the user had decided
131
+ * not to grant your app authorization for precise location.
132
+ */
133
+ CLES_EXPORT const CLLocationAccuracy kCLLocationAccuracyReduced API_AVAILABLE(ios(14.0), macos(11.0), watchos(7.0), tvos(14.0));
134
+
135
+ /*
136
+ * CLLocationDistanceMax
137
+ *
138
+ * Discussion:
139
+ * Used to specify the maximum CLLocationDistance
140
+ */
141
+ CLES_EXPORT const CLLocationDistance CLLocationDistanceMax API_AVAILABLE(ios(6.0), macos(10.14));
142
+
143
+ /*
144
+ * CLTimeIntervalMax
145
+ *
146
+ * Discussion:
147
+ * Used to specify the maximum NSTimeInterval
148
+ */
149
+ CLES_EXPORT const NSTimeInterval CLTimeIntervalMax API_AVAILABLE(ios(6.0), macos(10.14));
150
+
151
+ /*
152
+ * kCLLocationCoordinate2DInvalid
153
+ *
154
+ * Discussion:
155
+ * Used to specify an invalid CLLocationCoordinate2D.
156
+ */
157
+ CLES_EXPORT const CLLocationCoordinate2D kCLLocationCoordinate2DInvalid API_AVAILABLE(ios(4.0), macos(10.7));
158
+
159
+ #ifdef __cplusplus
160
+ extern "C" {
161
+ #endif
162
+
163
+ /*
164
+ * CLLocationCoordinate2DIsValid
165
+ *
166
+ * Discussion:
167
+ * Returns YES if the specified coordinate is valid, NO otherwise.
168
+ */
169
+ CLES_EXPORT
170
+ BOOL CLLocationCoordinate2DIsValid(CLLocationCoordinate2D coord) API_AVAILABLE(ios(4.0), macos(10.7));
171
+
172
+ /*
173
+ * CLLocationCoordinate2DMake:
174
+ *
175
+ * Discussion:
176
+ * Returns a new CLLocationCoordinate2D at the given latitude and longitude
177
+ */
178
+ CLES_EXPORT
179
+ CLLocationCoordinate2D CLLocationCoordinate2DMake(CLLocationDegrees latitude, CLLocationDegrees longitude) API_AVAILABLE(ios(4.0), macos(10.7));
180
+
181
+ #ifdef __cplusplus
182
+ }
183
+ #endif
184
+
185
+ /*
186
+ * CLFloor
187
+ *
188
+ * Discussion:
189
+ * Encapsulates the information about a floor.
190
+ */
191
+ CLES_EXPORT
192
+ API_AVAILABLE(ios(8.0), macos(10.15))
193
+ @interface CLFloor : NSObject <NSCopying, NSSecureCoding>
194
+
195
+ /*
196
+ * level
197
+ *
198
+ * Discussion:
199
+ * This is a logical representation that will vary on definition from building-to-building.
200
+ * Floor 0 will always represent the floor designated as "ground".
201
+ * This number may be negative to designate floors below the ground floor
202
+ * and positive to indicate floors above the ground floor.
203
+ * It is not intended to match any numbering that might actually be used in the building.
204
+ * It is erroneous to use as an estimate of altitude.
205
+ */
206
+ @property(readonly, nonatomic) NSInteger level;
207
+
208
+ @end
209
+
210
+ /*
211
+ * CLLocationSourceInformation
212
+ *
213
+ * Discussion:
214
+ * For a CLLocation, represents information about the source of the location, including whether it came from a simulator
215
+ */
216
+ CLES_EXPORT
217
+ API_AVAILABLE(ios(15.0), watchos(8.0), tvos(15.0), macos(12.0))
218
+ @interface CLLocationSourceInformation : NSObject <NSCopying, NSSecureCoding>
219
+
220
+ - (instancetype)initWithSoftwareSimulationState:(BOOL)isSoftware
221
+ andExternalAccessoryState:(BOOL)isAccessory;
222
+
223
+ /*
224
+ * isSimulatedBySoftware
225
+ *
226
+ * Discussion:
227
+ * Set to YES if this location was detected as being generated by a software simulator, such as Xcode
228
+ */
229
+ @property(readonly, nonatomic) BOOL isSimulatedBySoftware;
230
+
231
+ /*
232
+ * isProducedByAccessory
233
+ *
234
+ * Discussion:
235
+ * Set to YES if this location was generated from an external accessory, such as CarPlay or an MFi accessory
236
+ */
237
+ @property(readonly, nonatomic) BOOL isProducedByAccessory;
238
+ @end
239
+
240
+ /*
241
+ * CLLocation
242
+ *
243
+ * Discussion:
244
+ * Represents a geographical coordinate along with accuracy and timestamp information.
245
+ */
246
+ CLES_EXPORT
247
+ NS_SWIFT_SENDABLE API_AVAILABLE(macos(10.6), ios(2.0))
248
+ @interface CLLocation : NSObject <NSCopying, NSSecureCoding>
249
+ {
250
+ @private
251
+ id _internal;
252
+ }
253
+
254
+ /*
255
+ * initWithLatitude:longitude:
256
+ *
257
+ * Discussion:
258
+ * Initialize with the specified latitude and longitude.
259
+ */
260
+ - (instancetype)initWithLatitude:(CLLocationDegrees)latitude
261
+ longitude:(CLLocationDegrees)longitude;
262
+
263
+ /*
264
+ * initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:timestamp:
265
+ *
266
+ * Discussion:
267
+ * Initialize with the specified parameters.
268
+ */
269
+ - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate
270
+ altitude:(CLLocationDistance)altitude
271
+ horizontalAccuracy:(CLLocationAccuracy)hAccuracy
272
+ verticalAccuracy:(CLLocationAccuracy)vAccuracy
273
+ timestamp:(NSDate *)timestamp;
274
+
275
+ /*
276
+ * initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:speed:timestamp:
277
+ *
278
+ * Discussion:
279
+ * Initialize with the specified parameters.
280
+ */
281
+ - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate
282
+ altitude:(CLLocationDistance)altitude
283
+ horizontalAccuracy:(CLLocationAccuracy)hAccuracy
284
+ verticalAccuracy:(CLLocationAccuracy)vAccuracy
285
+ course:(CLLocationDirection)course
286
+ speed:(CLLocationSpeed)speed
287
+ timestamp:(NSDate *)timestamp API_AVAILABLE(ios(4.2), macos(10.7));
288
+
289
+ /*
290
+ * initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:
291
+ *
292
+ * Discussion:
293
+ * Initialize with the specified parameters.
294
+ */
295
+ - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate
296
+ altitude:(CLLocationDistance)altitude
297
+ horizontalAccuracy:(CLLocationAccuracy)hAccuracy
298
+ verticalAccuracy:(CLLocationAccuracy)vAccuracy
299
+ course:(CLLocationDirection)course
300
+ courseAccuracy:(CLLocationDirectionAccuracy)courseAccuracy
301
+ speed:(CLLocationSpeed)speed
302
+ speedAccuracy:(CLLocationSpeedAccuracy)speedAccuracy
303
+ timestamp:(NSDate *)timestamp API_AVAILABLE(ios(13.4), macos(10.15.4), watchos(6.2), tvos(13.4));
304
+
305
+ /*
306
+ * initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:sourceInfo
307
+ *
308
+ * Discussion:
309
+ * Initialize with the specified parameters.
310
+ */
311
+ - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate
312
+ altitude:(CLLocationDistance)altitude
313
+ horizontalAccuracy:(CLLocationAccuracy)hAccuracy
314
+ verticalAccuracy:(CLLocationAccuracy)vAccuracy
315
+ course:(CLLocationDirection)course
316
+ courseAccuracy:(CLLocationDirectionAccuracy)courseAccuracy
317
+ speed:(CLLocationSpeed)speed
318
+ speedAccuracy:(CLLocationSpeedAccuracy)speedAccuracy
319
+ timestamp:(NSDate *)timestamp
320
+ sourceInfo:(CLLocationSourceInformation*)sourceInfo API_AVAILABLE(ios(15.0), watchos(8.0), tvos(15.0), macos(12.0));
321
+
322
+ /*
323
+ * coordinate
324
+ *
325
+ * Discussion:
326
+ * Returns the coordinate of the current location.
327
+ */
328
+ @property(readonly, nonatomic) CLLocationCoordinate2D coordinate;
329
+
330
+ /*
331
+ * altitude
332
+ *
333
+ * Discussion:
334
+ * Returns the altitude of the location. Can be positive (above sea level) or negative (below sea level).
335
+ */
336
+ @property(readonly, nonatomic) CLLocationDistance altitude;
337
+
338
+ /*
339
+ * ellipsoidalAltitude
340
+ *
341
+ * Discussion:
342
+ * Returns the ellipsoidal altitude of the location under the WGS 84 reference frame.
343
+ * Can be positive or negative.
344
+ */
345
+ @property(readonly, nonatomic) CLLocationDistance ellipsoidalAltitude API_AVAILABLE(ios(15), macos(12), watchos(8), tvos(15));
346
+
347
+ /*
348
+ * horizontalAccuracy
349
+ *
350
+ * Discussion:
351
+ * Returns the horizontal accuracy of the location. Negative if the lateral location is invalid.
352
+ */
353
+ @property(readonly, nonatomic) CLLocationAccuracy horizontalAccuracy;
354
+
355
+ /*
356
+ * verticalAccuracy
357
+ *
358
+ * Discussion:
359
+ * Returns the vertical accuracy of the location. Negative if the altitude is invalid.
360
+ */
361
+ @property(readonly, nonatomic) CLLocationAccuracy verticalAccuracy;
362
+
363
+ /*
364
+ * course
365
+ *
366
+ * Discussion:
367
+ * Returns the course of the location in degrees true North. Negative if course is invalid.
368
+ *
369
+ * Range:
370
+ * 0.0 - 359.9 degrees, 0 being true North
371
+ */
372
+ @property(readonly, nonatomic) CLLocationDirection course API_AVAILABLE(ios(2.2), macos(10.7));
373
+
374
+ /*
375
+ * courseAccuracy
376
+ *
377
+ * Discussion:
378
+ * Returns the course accuracy of the location in degrees. Returns negative if course is invalid.
379
+ */
380
+ @property(readonly, nonatomic) CLLocationDirectionAccuracy courseAccuracy API_AVAILABLE(ios(13.4), macos(10.15.4), watchos(6.2), tvos(13.4));
381
+
382
+ /*
383
+ * speed
384
+ *
385
+ * Discussion:
386
+ * Returns the speed of the location in m/s. Negative if speed is invalid.
387
+ */
388
+ @property(readonly, nonatomic) CLLocationSpeed speed API_AVAILABLE(ios(2.2), macos(10.7));
389
+
390
+ /*
391
+ * speedAccuracy
392
+ *
393
+ * Discussion:
394
+ * Returns the speed accuracy of the location in m/s. Returns -1 if invalid.
395
+ */
396
+ @property(readonly, nonatomic) CLLocationSpeedAccuracy speedAccuracy API_AVAILABLE(macos(10.15), ios(10.0), watchos(3.0), tvos(10.0));
397
+
398
+ /*
399
+ * timestamp
400
+ *
401
+ * Discussion:
402
+ * Returns the timestamp when this location was determined.
403
+ */
404
+ @property(readonly, nonatomic, copy) NSDate *timestamp;
405
+
406
+ /*
407
+ * floor
408
+ *
409
+ * Discussion:
410
+ * Contains information about the logical floor that you are on
411
+ * in the current building if you are inside a supported venue.
412
+ * This will be nil if the floor is unavailable.
413
+ */
414
+ @property(readonly, nonatomic, copy, nullable) CLFloor *floor API_AVAILABLE(ios(8.0), macos(10.15));
415
+
416
+ /*
417
+ * sourceInformation
418
+ *
419
+ * Discussion:
420
+ * Contains information about the source of this location.
421
+ */
422
+ @property(readonly, nonatomic, nullable) CLLocationSourceInformation *sourceInformation API_AVAILABLE(ios(15.0), watchos(8.0), tvos(15.0), macos(12.0));
423
+
424
+ /*
425
+ * getDistanceFrom:
426
+ *
427
+ * Discussion:
428
+ * Deprecated. Use -distanceFromLocation: instead.
429
+ */
430
+ - (CLLocationDistance)getDistanceFrom:(const CLLocation *)location API_DEPRECATED_WITH_REPLACEMENT("-distanceFromLocation:", ios(2.0, 3.2), macos(10.15, 10.15)) API_UNAVAILABLE(watchos, tvos, visionos);
431
+ /*
432
+ * distanceFromLocation:
433
+ *
434
+ * Discussion:
435
+ * Returns the lateral distance between two locations.
436
+ */
437
+ - (CLLocationDistance)distanceFromLocation:(const CLLocation *)location API_AVAILABLE(ios(3.2), macos(10.6));
438
+
439
+ @end
440
+
441
+ NS_ASSUME_NONNULL_END
442
+
443
+
444
+ #endif /* CLLocationEssentials_h */
@@ -0,0 +1,14 @@
1
+ //
2
+ // LocationEssentials.h
3
+ // LocationEssentials
4
+ //
5
+ // Created by Ilya Veygman on 2/25/25.
6
+ //
7
+
8
+ #ifndef LocationEssentials_h
9
+ #define LocationEssentials_h
10
+
11
+ #import <_LocationEssentials/CLEssentialsAvailability.h>
12
+ #import <_LocationEssentials/CLLocationEssentials.h>
13
+
14
+ #endif /* LocationEssentials_h */
@@ -0,0 +1,14 @@
1
+ //
2
+ // LocationEssentials.modulemap
3
+ // CoreLocation
4
+ //
5
+ // Created by Ilya Veygman on 2/24/25.
6
+ //
7
+
8
+ framework module _LocationEssentials [system] {
9
+ umbrella header "LocationEssentials.h"
10
+ export *
11
+ module * {
12
+ export *
13
+ }
14
+ }
@@ -0,0 +1,151 @@
1
+ /*
2
+ * Copyright (c) 2000-2010 Apple Inc. All rights reserved.
3
+ */
4
+ /*-
5
+ * Copyright (c) 1990, 1993
6
+ * The Regents of the University of California. All rights reserved.
7
+ * (c) UNIX System Laboratories, Inc.
8
+ * All or some portions of this file are derived from material licensed
9
+ * to the University of California by American Telephone and Telegraph
10
+ * Co. or Unix System Laboratories, Inc. and are reproduced herein with
11
+ * the permission of UNIX System Laboratories, Inc.
12
+ *
13
+ * Redistribution and use in source and binary forms, with or without
14
+ * modification, are permitted provided that the following conditions
15
+ * are met:
16
+ * 1. Redistributions of source code must retain the above copyright
17
+ * notice, this list of conditions and the following disclaimer.
18
+ * 2. Redistributions in binary form must reproduce the above copyright
19
+ * notice, this list of conditions and the following disclaimer in the
20
+ * documentation and/or other materials provided with the distribution.
21
+ * 3. All advertising materials mentioning features or use of this software
22
+ * must display the following acknowledgement:
23
+ * This product includes software developed by the University of
24
+ * California, Berkeley and its contributors.
25
+ * 4. Neither the name of the University nor the names of its contributors
26
+ * may be used to endorse or promote products derived from this software
27
+ * without specific prior written permission.
28
+ *
29
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
30
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
32
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
33
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
35
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
36
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
37
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
38
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
39
+ * SUCH DAMAGE.
40
+ *
41
+ * @(#)param.h 8.1 (Berkeley) 4/4/95
42
+ */
43
+
44
+ /*
45
+ * Machine dependent constants for ARM
46
+ */
47
+
48
+ #ifndef _ARM_PARAM_H_
49
+ #define _ARM_PARAM_H_
50
+
51
+ #if defined (__arm__) || defined (__arm64__)
52
+
53
+ #include <arm/_param.h>
54
+
55
+ /*
56
+ * Round p (pointer or byte index) up to a correctly-aligned value for all
57
+ * data types (int, long, ...). The result is unsigned int and must be
58
+ * cast to any desired pointer type.
59
+ */
60
+ #define ALIGNBYTES __DARWIN_ALIGNBYTES
61
+ #define ALIGN(p) __DARWIN_ALIGN(p)
62
+
63
+ #define NBPG 4096 /* bytes/page */
64
+ #define PGOFSET (NBPG-1) /* byte offset into page */
65
+ #define PGSHIFT 12 /* LOG2(NBPG) */
66
+
67
+ #define DEV_BSIZE 512
68
+ #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
69
+ #define BLKDEV_IOSIZE 2048
70
+ #define MAXPHYS (64 * 1024) /* max raw I/O transfer size */
71
+
72
+ #define CLSIZE 1
73
+ #define CLSIZELOG2 0
74
+
75
+ /*
76
+ * Constants related to network buffer management.
77
+ * MCLBYTES must be no larger than CLBYTES (the software page size), and,
78
+ * on machines that exchange pages of input or output buffers with mbuf
79
+ * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
80
+ * of the hardware page size.
81
+ */
82
+ #define MSIZESHIFT 8 /* 256 */
83
+ #define MSIZE (1 << MSIZESHIFT) /* size of an mbuf */
84
+ #define MCLSHIFT 11 /* 2048 */
85
+ #define MCLBYTES (1 << MCLSHIFT) /* size of an mbuf cluster */
86
+ #define MBIGCLSHIFT 12 /* 4096 */
87
+ #define MBIGCLBYTES (1 << MBIGCLSHIFT) /* size of a big cluster */
88
+ #define M16KCLSHIFT 14 /* 16384 */
89
+ #define M16KCLBYTES (1 << M16KCLSHIFT) /* size of a jumbo cluster */
90
+
91
+ #define MCLOFSET (MCLBYTES - 1)
92
+ #ifndef NMBCLUSTERS
93
+ #define NMBCLUSTERS CONFIG_NMBCLUSTERS /* cl map size */
94
+ #endif
95
+
96
+ /*
97
+ * Some macros for units conversion
98
+ */
99
+ /* Core clicks (NeXT_page_size bytes) to segments and vice versa */
100
+ #define ctos(x) (x)
101
+ #define stoc(x) (x)
102
+
103
+ /* Core clicks (4096 bytes) to disk blocks */
104
+ #define ctod(x) ((x)<<(PGSHIFT-DEV_BSHIFT))
105
+ #define dtoc(x) ((x)>>(PGSHIFT-DEV_BSHIFT))
106
+ #define dtob(x) ((x)<<DEV_BSHIFT)
107
+
108
+ /* clicks to bytes */
109
+ #define ctob(x) ((x)<<PGSHIFT)
110
+
111
+ /* bytes to clicks */
112
+ #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT)
113
+
114
+ #ifdef __APPLE__
115
+ #define btodb(bytes, devBlockSize) \
116
+ ((unsigned)(bytes) / devBlockSize)
117
+ #define dbtob(db, devBlockSize) \
118
+ ((unsigned)(db) * devBlockSize)
119
+ #else
120
+ #define btodb(bytes) /* calculates (bytes / DEV_BSIZE) */ \
121
+ ((unsigned)(bytes) >> DEV_BSHIFT)
122
+ #define dbtob(db) /* calculates (db * DEV_BSIZE) */ \
123
+ ((unsigned)(db) << DEV_BSHIFT)
124
+ #endif
125
+
126
+ /*
127
+ * Map a ``block device block'' to a file system block.
128
+ * This should be device dependent, and will be if we
129
+ * add an entry to cdevsw/bdevsw for that purpose.
130
+ * For now though just use DEV_BSIZE.
131
+ */
132
+ #define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE))
133
+
134
+ /*
135
+ * Macros to decode (and encode) processor status word.
136
+ */
137
+ #define STATUS_WORD(rpl, ipl) (((ipl) << 8) | (rpl))
138
+ #define USERMODE(x) (((x) & 3) == 3)
139
+ #define BASEPRI(x) (((x) & (255 << 8)) == 0)
140
+
141
+
142
+ #if defined(KERNEL) || defined(STANDALONE)
143
+ #define DELAY(n) delay(n)
144
+
145
+ #else /* defined(KERNEL) || defined(STANDALONE) */
146
+ #define DELAY(n) { int N = (n); while (--N > 0); }
147
+ #endif /* defined(KERNEL) || defined(STANDALONE) */
148
+
149
+ #endif /* defined (__arm__) || defined (__arm64__) */
150
+
151
+ #endif /* _ARM_PARAM_H_ */