peachsim 0.1.1692 → 0.1.1716

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 (991) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +59 -3
  3. package/cli/app-bundle-resources.ts +3 -1
  4. package/cli/app-catalog.ts +10 -0
  5. package/cli/app-fonts.ts +1 -1
  6. package/cli/app-stubs.ts +19 -9
  7. package/cli/bridge-diagnostics.ts +2 -1
  8. package/cli/bridge-flow-runner.ts +61 -39
  9. package/cli/cloud-client.ts +6 -3
  10. package/cli/commands/agent-wrapper.ts +21 -10
  11. package/cli/commands/control.ts +149 -46
  12. package/cli/commands/coverage-swift.ts +19 -1
  13. package/cli/commands/coverage.ts +1 -1
  14. package/cli/commands/detect.ts +85 -25
  15. package/cli/commands/doctor.ts +159 -20
  16. package/cli/commands/flow.ts +4 -1
  17. package/cli/commands/inspect/core.ts +176 -17
  18. package/cli/commands/inspect/settling.ts +17 -5
  19. package/cli/commands/inspect/wait-ready.ts +7 -5
  20. package/cli/commands/inspect.ts +8 -2
  21. package/cli/commands/maestro-compare.ts +25 -99
  22. package/cli/commands/record.ts +263 -32
  23. package/cli/commands/screenshot.ts +2 -13
  24. package/cli/commands/test.ts +49 -101
  25. package/cli/current-sim.ts +4 -4
  26. package/cli/help-core.ts +3 -4
  27. package/cli/hints.ts +1 -6
  28. package/cli/maestro-compare.ts +172 -4
  29. package/cli/main.ts +8 -1
  30. package/cli/metro-bundle-assets.ts +77 -0
  31. package/cli/outbound-endpoints.ts +8 -12
  32. package/cli/run-registry.ts +0 -8
  33. package/cli/scene-video.ts +5 -3
  34. package/cli/ws-bridge.ts +56 -14
  35. package/detox/index.ts +76 -3
  36. package/detox/launch-permissions.ts +325 -0
  37. package/dist-lib/agent-daemon-client.cjs +2 -2
  38. package/dist-lib/agent-events.cjs +2 -2
  39. package/dist-lib/attached-projects.cjs +2 -2
  40. package/dist-lib/auth/shared-session.cjs +2 -2
  41. package/dist-lib/backend-origin.cjs +11 -10
  42. package/dist-lib/beta.cjs +2 -2
  43. package/dist-lib/beta.mjs +1 -1
  44. package/dist-lib/bridge-constants.cjs +6 -2
  45. package/dist-lib/bridge-contract-input.cjs +2 -2
  46. package/dist-lib/bridge-contract-input.mjs +1 -1
  47. package/dist-lib/bridge-contract.cjs +2 -2
  48. package/dist-lib/bridge-contract.mjs +1 -1
  49. package/dist-lib/bundle-channel.cjs +26769 -24228
  50. package/dist-lib/capture-contract.cjs +2 -2
  51. package/dist-lib/capture-contract.mjs +1 -1
  52. package/dist-lib/cloud-contract.cjs +2 -2
  53. package/dist-lib/cloud-contract.mjs +1 -1
  54. package/dist-lib/cloud-test-args.cjs +2 -2
  55. package/dist-lib/cloud-test-args.mjs +1 -1
  56. package/dist-lib/cloud.cjs +3 -2
  57. package/dist-lib/cloud.mjs +2 -1
  58. package/dist-lib/config.cjs +2 -2
  59. package/dist-lib/config.mjs +1 -1
  60. package/dist-lib/detox/index.cjs +256 -14
  61. package/dist-lib/dev-bundle-resolution.cjs +209 -51
  62. package/dist-lib/expo-swift-bundle.cjs +10795 -17575
  63. package/dist-lib/expo-swift-metadata.cjs +2 -2
  64. package/dist-lib/expo-swift-metadata.mjs +1 -1
  65. package/dist-lib/home-paths.cjs +2 -2
  66. package/dist-lib/host/bridge-host.cjs +36893 -31765
  67. package/dist-lib/host/fetch-proxy-handler.cjs +796 -114
  68. package/dist-lib/host/fetch-proxy-overrides.cjs +2 -2
  69. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  70. package/dist-lib/host/replacement-module-handler.cjs +3 -2
  71. package/dist-lib/host/websocket-proxy.cjs +312 -46
  72. package/dist-lib/index.cjs +2244 -642
  73. package/dist-lib/jump-to-source-babel.cjs +2 -2
  74. package/dist-lib/jump-to-source-native.cjs +2 -2
  75. package/dist-lib/kotlin-host.cjs +2 -2
  76. package/dist-lib/menu.cjs +5 -2
  77. package/dist-lib/menu.mjs +3 -1
  78. package/dist-lib/metro-fingerprint-registry.cjs +2 -2
  79. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  80. package/dist-lib/metro-production-bundle.cjs +2 -2
  81. package/dist-lib/metro-production-bundle.mjs +1 -1
  82. package/dist-lib/metro.cjs +2088 -612
  83. package/dist-lib/native-app-identity-project.cjs +863 -232
  84. package/dist-lib/native-app-identity-project.mjs +871 -234
  85. package/dist-lib/native-app-identity.cjs +15 -2
  86. package/dist-lib/native-app-identity.mjs +12 -1
  87. package/dist-lib/native-firebase-metadata.cjs +2 -2
  88. package/dist-lib/native-firebase-metadata.mjs +1 -1
  89. package/dist-lib/plist.cjs +2 -2
  90. package/dist-lib/plist.mjs +1 -1
  91. package/dist-lib/profiles.cjs +2 -2
  92. package/dist-lib/public-brand.cjs +2 -2
  93. package/dist-lib/public-origins-lib-esm.json +31 -100
  94. package/dist-lib/public-origins-lib.json +449 -453
  95. package/dist-lib/react-native-host-modules.cjs +98 -4
  96. package/dist-lib/react-native-host-modules.mjs +96 -3
  97. package/dist-lib/reap-browser.cjs +2 -2
  98. package/dist-lib/scripts/dev-server-scanner.cjs +225 -75
  99. package/dist-lib/sdk.cjs +146 -19
  100. package/dist-lib/sdk.mjs +139 -18
  101. package/dist-lib/skills.cjs +53577 -48467
  102. package/dist-lib/swift-compile.cjs +6111 -16733
  103. package/dist-lib/swift-compile.mjs +6052 -16681
  104. package/dist-lib/swift-package.cjs +104 -22
  105. package/dist-lib/swift-package.mjs +99 -21
  106. package/dist-lib/swift-submit.cjs +15 -5
  107. package/dist-lib/swift-submit.mjs +14 -4
  108. package/dist-lib/swift-toolchain.cjs +42 -13
  109. package/dist-lib/swift.cjs +2 -2
  110. package/dist-lib/vite-swift.cjs +13416 -21189
  111. package/dist-lib/vite.cjs +790 -157
  112. package/dist-lib/worklet-executable.cjs +2 -2
  113. package/dist-lib/worklet-executable.mjs +1 -1
  114. package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +2 -0
  115. package/dist-types/packages/peach-compat/src/stubs/screen-transition-math.d.ts +1 -1
  116. package/dist-types/packages/peach-engine/src/capture/lockstep-clockContract.d.ts +1 -0
  117. package/dist-types/packages/peach-engine/src/engine/fiber-debug-metadata.d.ts +4 -0
  118. package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +2 -2
  119. package/dist-types/packages/peach-engine/src/engine/fontDataContract.d.ts +1 -0
  120. package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +2 -0
  121. package/dist-types/packages/peach-engine/src/engine/lottie-types.d.ts +3 -0
  122. package/dist-types/packages/peach-engine/src/engine/node.d.ts +6 -3
  123. package/dist-types/packages/peach-engine/src/engine/riveContract.d.ts +5 -0
  124. package/dist-types/packages/peach-engine/src/engine/scroll-pan-contacts.d.ts +3 -1
  125. package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +7 -0
  126. package/dist-types/packages/peach-engine/src/engine/types.d.ts +2 -1
  127. package/dist-types/packages/peach-engine/src/guest-module-overrides.d.ts +3 -0
  128. package/dist-types/packages/peach-engine/src/ios/chrome-metrics.d.ts +2 -1
  129. package/dist-types/packages/peach-engine/src/permissions/system-permission-types.d.ts +2 -1
  130. package/dist-types/packages/peach-engine/src/react-native/host-services.d.ts +1 -0
  131. package/dist-types/packages/peach-engine/src/react-native/platform-colors.d.ts +1 -0
  132. package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +6 -2
  133. package/dist-types/packages/peach-engine/src/remote-stream/scene-recording.d.ts +4 -0
  134. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +16 -0
  135. package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +18 -2
  136. package/dist-types/packages/peach-engine/src/render-worker/live-frame-mirror.d.ts +11 -0
  137. package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +10 -1
  138. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +11 -0
  139. package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +17 -0
  140. package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +5 -0
  141. package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +5 -0
  142. package/dist-types/packages/peach-engine/src/render-worker/tree-sync-port.d.ts +5 -0
  143. package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +2 -1
  144. package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime-kind.d.ts +5 -1
  145. package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +9 -4
  146. package/dist-types/packages/peach-engine/src/render-worker/workletThreadIdentityContract.d.ts +4 -0
  147. package/dist-types/packages/peach-globals/src/cameraBridgeContract.d.ts +1 -0
  148. package/dist-types/packages/peach-globals/src/guestExecutionContract.d.ts +30 -0
  149. package/dist-types/packages/peach-globals/src/index.d.ts +6 -4
  150. package/dist-types/packages/peach-globals/src/nativeBuildOptionsContract.d.ts +1 -0
  151. package/dist-types/packages/peach-globals/src/permissionsBridgeContract.d.ts +11 -0
  152. package/dist-types/packages/peach-globals/src/recordingBridgeContract.d.ts +22 -1
  153. package/dist-types/packages/peach-globals/src/replayBridgeContract.d.ts +1 -0
  154. package/dist-types/packages/peach-globals/src/sceneStreamBridgeContract.d.ts +10 -0
  155. package/dist-types/packages/peach-globals/src/shellHostBridgeContract.d.ts +9 -0
  156. package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +3 -0
  157. package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
  158. package/dist-types/packages/peach-kit/src/materials/types.d.ts +1 -0
  159. package/package.json +3 -1
  160. package/runtime-companion.json +1 -1
  161. package/scripts/dev-server-scanner.ts +61 -70
  162. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h +2282 -0
  163. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/BasicImageTypes.h +55 -0
  164. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h +10551 -6
  165. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h +4236 -3
  166. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h +827 -8
  167. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Histogram.h +1369 -0
  168. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Morphology.h +1243 -0
  169. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Transform.h +1747 -0
  170. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage.h +291 -2
  171. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_CVUtilities.h +1283 -0
  172. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h +811 -91
  173. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Utilities.h +1342 -25
  174. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns.h +2738 -0
  175. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_constants.h +1685 -0
  176. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_graph.h +913 -0
  177. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_structures.h +1917 -0
  178. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h +23 -0
  179. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/arithmetic.h +209 -0
  180. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/base.h +104 -0
  181. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/linear_systems.h +77 -0
  182. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/matrix.h +554 -0
  183. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/norms.h +58 -0
  184. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/object.h +186 -0
  185. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/splat.h +86 -0
  186. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/vector.h +364 -0
  187. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Integration.h +195 -0
  188. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Quadrature.h +44 -0
  189. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/BLAS.h +2330 -0
  190. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/Types.h +123 -0
  191. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Solve.h +8339 -0
  192. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementation.h +520 -0
  193. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementationTyped.h +1893 -0
  194. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Sparse.h +10 -0
  195. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/blas_new.h +1098 -0
  196. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas.h +859 -0
  197. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas_new.h +1134 -0
  198. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/clapack.h +10555 -0
  199. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/fortran_blas.h +695 -0
  200. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack.h +38526 -0
  201. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_types.h +60 -0
  202. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_version.h +20 -0
  203. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/thread_api.h +50 -0
  204. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBasicOps.h +1218 -0
  205. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBigNum.h +1458 -0
  206. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP.h +10377 -0
  207. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP_translate.h +167 -0
  208. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vForce.h +1243 -0
  209. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLib.h +114 -0
  210. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLibTypes.h +146 -0
  211. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vectorOps.h +1106 -0
  212. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vfp.h +294 -0
  213. package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h +25 -1
  214. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBATTRequest.h +69 -0
  215. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBAdvertisementData.h +94 -0
  216. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBAttribute.h +34 -0
  217. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCentral.h +41 -0
  218. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCentralManager.h +394 -0
  219. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCentralManagerConstants.h +224 -0
  220. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h +187 -0
  221. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBDefines.h +16 -0
  222. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBDescriptor.h +78 -0
  223. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBError.h +75 -0
  224. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBL2CAPChannel.h +50 -0
  225. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBManager.h +88 -0
  226. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeer.h +28 -0
  227. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheral.h +530 -0
  228. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheralManager.h +489 -0
  229. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheralManagerConstants.h +63 -0
  230. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h +100 -0
  231. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h +144 -0
  232. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CoreBluetooth.apinotes +7 -0
  233. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CoreBluetooth.h +32 -0
  234. package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Modules/module.modulemap +5 -0
  235. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h +673 -0
  236. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h +232 -0
  237. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h +827 -0
  238. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCGTypes.h +131 -0
  239. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h +121 -0
  240. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h +387 -0
  241. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h +79 -0
  242. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h +122 -0
  243. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h +674 -0
  244. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h +182 -0
  245. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h +213 -0
  246. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h +82 -0
  247. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h +129 -0
  248. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h +491 -0
  249. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h +883 -2
  250. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h +98 -0
  251. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +13 -223
  252. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h +359 -2
  253. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h +328 -0
  254. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +3 -66
  255. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/CoreNFC.apinotes +258 -0
  256. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/CoreNFC.h +31 -0
  257. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCError.h +103 -0
  258. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCFeliCaTag.h +267 -0
  259. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCISO15693ReaderSession.h +59 -0
  260. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCISO15693Tag.h +739 -0
  261. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCISO7816Tag.h +159 -0
  262. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCMiFareTag.h +94 -0
  263. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCNDEFMessage.h +60 -0
  264. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCNDEFPayload.h +121 -0
  265. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCNDEFReaderSession.h +169 -0
  266. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCNDEFTag.h +93 -0
  267. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCPaymentTagReaderSession.h +58 -0
  268. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCReaderSession.h +156 -0
  269. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCTag.h +127 -0
  270. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCTagReaderSession.h +201 -0
  271. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCVASReaderSession.h +237 -0
  272. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NSUserActivity+CoreNFC.h +35 -0
  273. package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Modules/module.modulemap +21 -0
  274. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCall.h +53 -0
  275. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCallCenter.h +45 -0
  276. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCarrier.h +87 -0
  277. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularData.h +39 -0
  278. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProperties.h +46 -0
  279. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProvisioning.h +33 -0
  280. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProvisioningRequest.h +36 -0
  281. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanStatus.h +57 -0
  282. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTQuickSwitch.h +53 -0
  283. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTSubscriber.h +107 -0
  284. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTSubscriberInfo.h +34 -0
  285. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTTelephonyNetworkInfo.h +161 -0
  286. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CoreTelephonyDefines.h +39 -0
  287. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Modules/module.modulemap +5 -0
  288. package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h +92 -0
  289. package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h +634 -0
  290. package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h +118 -0
  291. package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h +1 -0
  292. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes +2497 -0
  293. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +2900 -370
  294. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKAccessPoint.h +110 -0
  295. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKAchievement.h +64 -0
  296. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKAchievementDescription.h +88 -0
  297. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKAchievementViewController.h +30 -0
  298. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKBasePlayer.h +15 -0
  299. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKChallenge.h +199 -0
  300. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKChallengeDefinition.h +71 -0
  301. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKChallengeEventHandler.h +43 -0
  302. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKChallengesViewController.h +33 -0
  303. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKCloudPlayer.h +19 -0
  304. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKDefines.h +17 -0
  305. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKDialogController.h +35 -0
  306. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKError.h +52 -0
  307. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKEventListener.h +36 -0
  308. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKFriendRequestComposeViewController.h +60 -0
  309. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameActivity.h +201 -0
  310. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameActivityDefinition.h +98 -0
  311. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameActivityListener.h +28 -0
  312. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameActivityPlayStyle.h +17 -0
  313. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameActivityState.h +22 -0
  314. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h +102 -0
  315. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameSession.h +87 -0
  316. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameSessionError.h +26 -0
  317. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameSessionEventListener.h +25 -0
  318. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameSessionSharingViewController.h +33 -0
  319. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKLeaderboard.h +205 -0
  320. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKLeaderboardEntry.h +23 -0
  321. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKLeaderboardScore.h +25 -0
  322. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKLeaderboardSet.h +64 -0
  323. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKLeaderboardViewController.h +34 -0
  324. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKLocalPlayer.h +321 -0
  325. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKMatch.h +94 -0
  326. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmaker.h +229 -0
  327. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h +100 -0
  328. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKNotificationBanner.h +20 -0
  329. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKPeerPickerController.h +93 -0
  330. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKPlayer.h +82 -0
  331. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKPublicConstants.h +57 -0
  332. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKPublicProtocols.h +71 -0
  333. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKReleaseState.h +16 -0
  334. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKSavedGame.h +41 -0
  335. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKSavedGameListener.h +22 -0
  336. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKScore.h +73 -0
  337. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKSession.h +87 -0
  338. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKSessionError.h +30 -0
  339. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKTurnBasedMatch.h +314 -0
  340. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKTurnBasedMatchmakerViewController.h +69 -0
  341. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKVoiceChat.h +48 -0
  342. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKVoiceChatService.h +145 -0
  343. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GameKit.apinotes +307 -0
  344. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GameKit.h +79 -0
  345. package/sdk/ios/System/Library/Frameworks/GameKit.framework/Modules/module.modulemap +6 -0
  346. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummary.h +122 -0
  347. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummaryQuery.h +48 -0
  348. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAnchoredObjectQuery.h +93 -0
  349. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleSleepingBreathingDisturbancesClassification.h +39 -0
  350. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleWalkingSteadinessClassification.h +49 -0
  351. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAttachment.h +74 -0
  352. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAttachmentStore.h +95 -0
  353. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSample.h +66 -0
  354. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityPoint.h +82 -0
  355. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityPointClampingRange.h +54 -0
  356. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityTest.h +101 -0
  357. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCDADocumentSample.h +131 -0
  358. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCategorySample.h +92 -0
  359. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCategoryValues.h +279 -0
  360. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCharacteristicObjects.h +79 -0
  361. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCharacteristicValues.h +87 -0
  362. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalCoding.h +55 -0
  363. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalRecord.h +53 -0
  364. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalType.h +68 -0
  365. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsLensSpecification.h +59 -0
  366. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h +74 -0
  367. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCorrelation.h +85 -0
  368. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCorrelationQuery.h +57 -0
  369. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCumulativeQuantitySample.h +36 -0
  370. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCumulativeQuantitySeriesSample.h +23 -0
  371. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKDefines.h +114 -0
  372. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKDeletedObject.h +40 -0
  373. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKDevice.h +164 -0
  374. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKDiscreteQuantitySample.h +67 -0
  375. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKDocumentQuery.h +83 -0
  376. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKDocumentSample.h +29 -0
  377. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKElectrocardiogram.h +109 -0
  378. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKElectrocardiogramQuery.h +68 -0
  379. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKFHIRRelease.h +35 -0
  380. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKFHIRResource.h +81 -0
  381. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKFHIRVersion.h +50 -0
  382. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKGAD7Assessment.h +73 -0
  383. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesLensSpecification.h +81 -0
  384. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h +66 -0
  385. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthConceptIdentifier.h +46 -0
  386. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h +470 -0
  387. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesBuilder.h +104 -0
  388. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesQuery.h +47 -0
  389. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesSample.h +26 -0
  390. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKLensSpecification.h +53 -0
  391. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutBuilder.h +131 -0
  392. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutDataSource.h +67 -0
  393. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutZoneUpdate.h +25 -0
  394. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKMedicationConcept.h +95 -0
  395. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKMedicationDoseEvent.h +113 -0
  396. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadata.h +583 -0
  397. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadataEnums.h +250 -0
  398. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKObject.h +64 -0
  399. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKObjectType.h +294 -0
  400. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKObserverQuery.h +48 -0
  401. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKPHQ9Assessment.h +77 -0
  402. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantity.h +55 -0
  403. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantityAggregationStyle.h +30 -0
  404. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySample.h +83 -0
  405. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySeriesSampleBuilder.h +184 -0
  406. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySeriesSampleQuery.h +90 -0
  407. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuery.h +722 -0
  408. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQueryAnchor.h +33 -0
  409. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQueryDescriptor.h +46 -0
  410. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSample.h +48 -0
  411. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSampleQuery.h +95 -0
  412. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKScoredAssessment.h +31 -0
  413. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSeriesBuilder.h +40 -0
  414. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSeriesSample.h +32 -0
  415. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSource.h +45 -0
  416. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSourceQuery.h +42 -0
  417. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSourceRevision.h +78 -0
  418. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKStateOfMind.h +157 -0
  419. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKStatistics.h +166 -0
  420. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKStatisticsCollectionQuery.h +80 -0
  421. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKStatisticsQuery.h +37 -0
  422. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h +359 -0
  423. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKUnit.h +287 -0
  424. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKUserAnnotatedMedication.h +60 -0
  425. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKUserAnnotatedMedicationQuery.h +38 -0
  426. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecord.h +131 -0
  427. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordQuery.h +76 -0
  428. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordSubject.h +39 -0
  429. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKVisionPrescription.h +76 -0
  430. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKVisionPrism.h +123 -0
  431. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkout.h +341 -0
  432. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutActivity.h +127 -0
  433. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutActivityType.h +147 -0
  434. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutBuilder.h +264 -0
  435. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutConfiguration.h +62 -0
  436. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutEffortRelationshipQuery.h +80 -0
  437. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRoute.h +20 -0
  438. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRouteBuilder.h +102 -0
  439. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRouteQuery.h +67 -0
  440. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h +364 -0
  441. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HealthKit.apinotes +5 -0
  442. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HealthKit.h +101 -0
  443. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Modules/module.modulemap +5 -0
  444. package/sdk/ios/System/Library/Frameworks/MediaAccessibility.framework/Headers/MAAudibleMedia.h +41 -0
  445. package/sdk/ios/System/Library/Frameworks/MediaAccessibility.framework/Headers/MACaptionAppearance.h +406 -0
  446. package/sdk/ios/System/Library/Frameworks/MediaAccessibility.framework/Headers/MADefinitions.h +38 -0
  447. package/sdk/ios/System/Library/Frameworks/MediaAccessibility.framework/Headers/MAFlashingLightsProcessing.h +53 -0
  448. package/sdk/ios/System/Library/Frameworks/MediaAccessibility.framework/Headers/MAImageCaptioning.h +55 -0
  449. package/sdk/ios/System/Library/Frameworks/MediaAccessibility.framework/Headers/MAMusicHaptics.h +69 -0
  450. package/sdk/ios/System/Library/Frameworks/MediaAccessibility.framework/Headers/MAVideoAccommodations.h +34 -0
  451. package/sdk/ios/System/Library/Frameworks/MediaAccessibility.framework/Headers/MediaAccessibility.h +14 -0
  452. package/sdk/ios/System/Library/Frameworks/MediaAccessibility.framework/Modules/module.modulemap +11 -0
  453. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEAppProxyFlow.h +142 -0
  454. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEAppProxyProvider.h +93 -0
  455. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEAppProxyProviderManager.h +40 -0
  456. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEAppProxyTCPFlow.h +63 -0
  457. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEAppProxyUDPFlow.h +86 -0
  458. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEAppPushManager.h +208 -0
  459. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEAppPushProvider.h +87 -0
  460. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEAppRule.h +80 -0
  461. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEDNSProxyManager.h +109 -0
  462. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEDNSProxyProvider.h +98 -0
  463. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEDNSProxyProviderProtocol.h +45 -0
  464. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEDNSSettings.h +124 -0
  465. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEDNSSettingsManager.h +116 -0
  466. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEEthernetTunnelNetworkSettings.h +45 -0
  467. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEEthernetTunnelProvider.h +31 -0
  468. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterControlProvider.h +80 -0
  469. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterDataProvider.h +235 -0
  470. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterFlow.h +177 -0
  471. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterManager.h +138 -0
  472. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterPacketProvider.h +99 -0
  473. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterProvider.h +335 -0
  474. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterProviderConfiguration.h +94 -0
  475. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterRule.h +46 -0
  476. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterSettings.h +56 -0
  477. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFlowMetaData.h +45 -0
  478. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEHotspotConfigurationManager.h +493 -0
  479. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEHotspotHelper.h +529 -0
  480. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEHotspotNetwork.h +87 -0
  481. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEIPv4Settings.h +122 -0
  482. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEIPv6Settings.h +121 -0
  483. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NENetworkRule.h +218 -0
  484. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEOnDemandRule.h +210 -0
  485. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEPacket.h +67 -0
  486. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEPacketTunnelFlow.h +62 -0
  487. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEPacketTunnelNetworkSettings.h +135 -0
  488. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEPacketTunnelProvider.h +97 -0
  489. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEProvider.h +160 -0
  490. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEProxySettings.h +140 -0
  491. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NERelay.h +83 -0
  492. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NERelayManager.h +195 -0
  493. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NETransparentProxyManager.h +39 -0
  494. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NETransparentProxyNetworkSettings.h +62 -0
  495. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NETransparentProxyProvider.h +33 -0
  496. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NETunnelNetworkSettings.h +57 -0
  497. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NETunnelProvider.h +113 -0
  498. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NETunnelProviderManager.h +108 -0
  499. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NETunnelProviderProtocol.h +44 -0
  500. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NETunnelProviderSession.h +55 -0
  501. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEURLFilter.h +51 -0
  502. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEVPNConnection.h +162 -0
  503. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEVPNManager.h +153 -0
  504. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEVPNProtocol.h +135 -0
  505. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEVPNProtocolIKEv2.h +357 -0
  506. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEVPNProtocolIPSec.h +71 -0
  507. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NWBonjourServiceEndpoint.h +82 -0
  508. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NWEndpoint.h +40 -0
  509. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NWHostEndpoint.h +68 -0
  510. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NWPath.h +93 -0
  511. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NWTCPConnection.h +335 -0
  512. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NWTLSParameters.h +70 -0
  513. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NWUDPSession.h +207 -0
  514. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NetworkExtension.apinotes +351 -0
  515. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NetworkExtension.h +74 -0
  516. package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Modules/module.modulemap +5 -0
  517. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +1 -0
  518. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/ModelIO.h +84 -0
  519. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNAction.h +197 -0
  520. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNAnimation.h +428 -0
  521. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNAudioSource.h +170 -0
  522. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNBoundingVolume.h +50 -0
  523. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNCAAnimationExtensions.h +58 -0
  524. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNCamera.h +356 -0
  525. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNCameraController.h +124 -0
  526. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNConstraint.h +431 -0
  527. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNGeometry.h +591 -0
  528. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNHitTest.h +101 -0
  529. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNJavascript.h +58 -0
  530. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNLevelOfDetail.h +56 -0
  531. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNLight.h +350 -0
  532. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNMaterial.h +349 -0
  533. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNMaterialProperty.h +149 -0
  534. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNMorpher.h +79 -0
  535. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNNode.h +695 -0
  536. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNParametricGeometry.h +727 -0
  537. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNParticleSystem.h +462 -0
  538. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNPhysicsBehavior.h +219 -0
  539. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNPhysicsBody.h +148 -0
  540. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNPhysicsContact.h +34 -0
  541. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNPhysicsField.h +124 -0
  542. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNPhysicsShape.h +58 -0
  543. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNPhysicsWorld.h +90 -0
  544. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNReferenceNode.h +80 -0
  545. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNRenderer.h +102 -0
  546. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNScene.h +250 -0
  547. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNSceneRenderer.h +389 -0
  548. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNSceneSource.h +348 -0
  549. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNShadable.h +573 -0
  550. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNSkinner.h +84 -0
  551. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNTechnique.h +320 -0
  552. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNTransaction.h +64 -0
  553. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h +170 -0
  554. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SceneKit.apinotes +423 -0
  555. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SceneKit.h +58 -0
  556. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SceneKitAvailability.h +10 -0
  557. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SceneKitDeprecated.h +88 -0
  558. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SceneKitTypes.h +264 -0
  559. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/scn_metal +75 -0
  560. package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Modules/module.modulemap +12 -0
  561. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h +281 -0
  562. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h +133 -0
  563. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecBase.h +906 -3
  564. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h +613 -0
  565. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h +232 -0
  566. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecItem.h +1284 -29
  567. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecKey.h +1616 -0
  568. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h +441 -0
  569. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h +429 -0
  570. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h +71 -0
  571. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h +775 -0
  572. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h +327 -0
  573. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecRandom.h +84 -0
  574. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecTrust.h +845 -0
  575. package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/Security.h +13 -0
  576. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +19 -0
  577. package/sdk/ios/usr/include/AvailabilityInternal.h +23 -0
  578. package/sdk/ios/usr/include/AvailabilityMacros.h +3985 -0
  579. package/sdk/ios/usr/include/Block.h +56 -0
  580. package/sdk/ios/usr/include/CommonCrypto/CommonCrypto.h +34 -0
  581. package/sdk/ios/usr/include/CommonCrypto/CommonCryptoError.h +78 -0
  582. package/sdk/ios/usr/include/CommonCrypto/CommonCryptor.h +763 -0
  583. package/sdk/ios/usr/include/CommonCrypto/CommonDigest.h +254 -47
  584. package/sdk/ios/usr/include/CommonCrypto/CommonHMAC.h +162 -0
  585. package/sdk/ios/usr/include/CommonCrypto/CommonKeyDerivation.h +136 -0
  586. package/sdk/ios/usr/include/CommonCrypto/CommonRandom.h +63 -0
  587. package/sdk/ios/usr/include/CommonCrypto/CommonSymmetricKeywrap.h +162 -0
  588. package/sdk/ios/usr/include/CommonCrypto/module.modulemap +15 -0
  589. package/sdk/ios/usr/include/ObjectiveC.apinotes +437 -0
  590. package/sdk/ios/usr/include/TargetConditionals.h +525 -14
  591. package/sdk/ios/usr/include/___wctype.h +193 -0
  592. package/sdk/ios/usr/include/__wctype.h +43 -0
  593. package/sdk/ios/usr/include/_abort.h +36 -0
  594. package/sdk/ios/usr/include/_assert.h +80 -0
  595. package/sdk/ios/usr/include/_static_assert.h +33 -0
  596. package/sdk/ios/usr/include/_stdlib.h +403 -0
  597. package/sdk/ios/usr/include/_string.h +231 -0
  598. package/sdk/ios/usr/include/_strings.h +101 -0
  599. package/sdk/ios/usr/include/_types/_wctrans_t.h +33 -0
  600. package/sdk/ios/usr/include/_types/_wctype_t.h +33 -0
  601. package/sdk/ios/usr/include/_wchar.h +263 -0
  602. package/sdk/ios/usr/include/_wctype.h +129 -0
  603. package/sdk/ios/usr/include/_xlocale.h +47 -0
  604. package/sdk/ios/usr/include/alloca.h +46 -0
  605. package/sdk/ios/usr/include/architecture/byte_order.h +381 -0
  606. package/sdk/ios/usr/include/arm/_limits.h +13 -0
  607. package/sdk/ios/usr/include/arm/arch.h +71 -0
  608. package/sdk/ios/usr/include/arm/limits.h +136 -0
  609. package/sdk/ios/usr/include/arpa/inet.h +100 -0
  610. package/sdk/ios/usr/include/assert.h +77 -10
  611. package/sdk/ios/usr/include/bsm/audit.h +434 -0
  612. package/sdk/ios/usr/include/copyfile.h +143 -0
  613. package/sdk/ios/usr/include/crt_externs.h +50 -0
  614. package/sdk/ios/usr/include/dispatch/base.h +369 -0
  615. package/sdk/ios/usr/include/dispatch/block.h +509 -0
  616. package/sdk/ios/usr/include/dispatch/data.h +290 -0
  617. package/sdk/ios/usr/include/dispatch/dispatch.h +68 -172
  618. package/sdk/ios/usr/include/dispatch/dispatch_swift_shims.h +61 -0
  619. package/sdk/ios/usr/include/dispatch/group.h +289 -0
  620. package/sdk/ios/usr/include/dispatch/introspection.h +190 -0
  621. package/sdk/ios/usr/include/dispatch/io.h +617 -0
  622. package/sdk/ios/usr/include/dispatch/object.h +680 -0
  623. package/sdk/ios/usr/include/dispatch/once.h +128 -0
  624. package/sdk/ios/usr/include/dispatch/queue.h +1824 -0
  625. package/sdk/ios/usr/include/dispatch/semaphore.h +124 -0
  626. package/sdk/ios/usr/include/dispatch/source.h +803 -0
  627. package/sdk/ios/usr/include/dispatch/time.h +144 -0
  628. package/sdk/ios/usr/include/dispatch/workloop.h +178 -0
  629. package/sdk/ios/usr/include/dlfcn.h +320 -7
  630. package/sdk/ios/usr/include/execinfo.h +100 -10
  631. package/sdk/ios/usr/include/ftw.h +63 -0
  632. package/sdk/ios/usr/include/gethostuuid.h +45 -0
  633. package/sdk/ios/usr/include/libkern/arm/OSByteOrder.h +195 -0
  634. package/sdk/ios/usr/include/limits.h +167 -4
  635. package/sdk/ios/usr/include/mach/arm/boolean.h +74 -0
  636. package/sdk/ios/usr/include/mach/arm/exception.h +86 -0
  637. package/sdk/ios/usr/include/mach/arm/kern_return.h +78 -0
  638. package/sdk/ios/usr/include/mach/arm/processor_info.h +76 -0
  639. package/sdk/ios/usr/include/mach/arm/rpc.h +39 -0
  640. package/sdk/ios/usr/include/mach/arm/thread_state.h +42 -0
  641. package/sdk/ios/usr/include/mach/arm/thread_status.h +302 -0
  642. package/sdk/ios/usr/include/mach/arm/vm_param.h +118 -0
  643. package/sdk/ios/usr/include/mach/arm/vm_types.h +162 -0
  644. package/sdk/ios/usr/include/mach/boolean.h +88 -4
  645. package/sdk/ios/usr/include/mach/clock.h +249 -0
  646. package/sdk/ios/usr/include/mach/clock_priv.h +203 -0
  647. package/sdk/ios/usr/include/mach/clock_types.h +127 -0
  648. package/sdk/ios/usr/include/mach/dyld_kernel.h +66 -0
  649. package/sdk/ios/usr/include/mach/error.h +117 -0
  650. package/sdk/ios/usr/include/mach/exc.h +285 -0
  651. package/sdk/ios/usr/include/mach/exception_types.h +204 -25
  652. package/sdk/ios/usr/include/mach/host_info.h +136 -51
  653. package/sdk/ios/usr/include/mach/host_notify.h +39 -0
  654. package/sdk/ios/usr/include/mach/host_priv.h +1167 -0
  655. package/sdk/ios/usr/include/mach/host_security.h +225 -0
  656. package/sdk/ios/usr/include/mach/host_special_ports.h +315 -0
  657. package/sdk/ios/usr/include/mach/kern_return.h +291 -2
  658. package/sdk/ios/usr/include/mach/kmod.h +180 -0
  659. package/sdk/ios/usr/include/mach/mach.h +237 -12
  660. package/sdk/ios/usr/include/mach/mach_error.h +93 -10
  661. package/sdk/ios/usr/include/mach/mach_host.h +1329 -5
  662. package/sdk/ios/usr/include/mach/mach_init.h +112 -13
  663. package/sdk/ios/usr/include/mach/mach_interface.h +52 -0
  664. package/sdk/ios/usr/include/mach/mach_port.h +1935 -4
  665. package/sdk/ios/usr/include/mach/mach_time.h +77 -14
  666. package/sdk/ios/usr/include/mach/mach_traps.h +311 -0
  667. package/sdk/ios/usr/include/mach/mach_types.h +297 -20
  668. package/sdk/ios/usr/include/mach/mach_voucher_types.h +259 -0
  669. package/sdk/ios/usr/include/mach/machine/boolean.h +40 -0
  670. package/sdk/ios/usr/include/mach/machine/exception.h +40 -0
  671. package/sdk/ios/usr/include/mach/machine/kern_return.h +40 -0
  672. package/sdk/ios/usr/include/mach/machine/processor_info.h +40 -0
  673. package/sdk/ios/usr/include/mach/machine/rpc.h +40 -0
  674. package/sdk/ios/usr/include/mach/machine/thread_state.h +44 -0
  675. package/sdk/ios/usr/include/mach/machine/thread_status.h +40 -0
  676. package/sdk/ios/usr/include/mach/machine/vm_param.h +40 -0
  677. package/sdk/ios/usr/include/mach/machine/vm_types.h +40 -0
  678. package/sdk/ios/usr/include/mach/machine.h +456 -142
  679. package/sdk/ios/usr/include/mach/memory_object_types.h +312 -0
  680. package/sdk/ios/usr/include/mach/message.h +972 -0
  681. package/sdk/ios/usr/include/mach/mig.h +180 -0
  682. package/sdk/ios/usr/include/mach/mig_errors.h +125 -0
  683. package/sdk/ios/usr/include/mach/mig_strncpy_zerofill_support.h +35 -0
  684. package/sdk/ios/usr/include/mach/ndr.h +207 -0
  685. package/sdk/ios/usr/include/mach/notify.h +141 -0
  686. package/sdk/ios/usr/include/mach/policy.h +235 -0
  687. package/sdk/ios/usr/include/mach/port.h +648 -0
  688. package/sdk/ios/usr/include/mach/processor.h +364 -0
  689. package/sdk/ios/usr/include/mach/processor_info.h +171 -0
  690. package/sdk/ios/usr/include/mach/processor_set.h +589 -0
  691. package/sdk/ios/usr/include/mach/rpc.h +135 -0
  692. package/sdk/ios/usr/include/mach/semaphore.h +78 -0
  693. package/sdk/ios/usr/include/mach/std_types.h +75 -0
  694. package/sdk/ios/usr/include/mach/sync_policy.h +47 -0
  695. package/sdk/ios/usr/include/mach/task.h +2887 -7
  696. package/sdk/ios/usr/include/mach/task_info.h +584 -19
  697. package/sdk/ios/usr/include/mach/task_inspect.h +57 -0
  698. package/sdk/ios/usr/include/mach/task_policy.h +182 -26
  699. package/sdk/ios/usr/include/mach/task_special_ports.h +135 -0
  700. package/sdk/ios/usr/include/mach/thread_act.h +1550 -5
  701. package/sdk/ios/usr/include/mach/thread_info.h +206 -28
  702. package/sdk/ios/usr/include/mach/thread_policy.h +268 -0
  703. package/sdk/ios/usr/include/mach/thread_special_ports.h +87 -0
  704. package/sdk/ios/usr/include/mach/thread_status.h +100 -0
  705. package/sdk/ios/usr/include/mach/thread_switch.h +77 -0
  706. package/sdk/ios/usr/include/mach/time_value.h +96 -4
  707. package/sdk/ios/usr/include/mach/vm_attributes.h +99 -0
  708. package/sdk/ios/usr/include/mach/vm_behavior.h +86 -0
  709. package/sdk/ios/usr/include/mach/vm_inherit.h +93 -0
  710. package/sdk/ios/usr/include/mach/vm_map.h +1558 -0
  711. package/sdk/ios/usr/include/mach/vm_page_size.h +68 -0
  712. package/sdk/ios/usr/include/mach/vm_prot.h +183 -7
  713. package/sdk/ios/usr/include/mach/vm_purgable.h +166 -0
  714. package/sdk/ios/usr/include/mach/vm_region.h +400 -36
  715. package/sdk/ios/usr/include/mach/vm_statistics.h +387 -96
  716. package/sdk/ios/usr/include/mach/vm_sync.h +84 -0
  717. package/sdk/ios/usr/include/mach/vm_types.h +194 -7
  718. package/sdk/ios/usr/include/mach-o/arch.h +154 -16
  719. package/sdk/ios/usr/include/mach-o/fat.h +89 -0
  720. package/sdk/ios/usr/include/mach-o/getsect.h +146 -12
  721. package/sdk/ios/usr/include/mach-o/loader.h +1679 -139
  722. package/sdk/ios/usr/include/mach_debug/hash_info.h +75 -0
  723. package/sdk/ios/usr/include/mach_debug/ipc_info.h +199 -0
  724. package/sdk/ios/usr/include/mach_debug/lockgroup_info.h +74 -0
  725. package/sdk/ios/usr/include/mach_debug/mach_debug_types.h +200 -0
  726. package/sdk/ios/usr/include/mach_debug/page_info.h +64 -0
  727. package/sdk/ios/usr/include/mach_debug/vm_info.h +149 -0
  728. package/sdk/ios/usr/include/mach_debug/zone_info.h +209 -0
  729. package/sdk/ios/usr/include/machine/limits.h +14 -0
  730. package/sdk/ios/usr/include/malloc/_malloc.h +143 -0
  731. package/sdk/ios/usr/include/malloc/_malloc_type.h +153 -0
  732. package/sdk/ios/usr/include/malloc/_platform.h +80 -0
  733. package/sdk/ios/usr/include/malloc/_ptrcheck.h +43 -0
  734. package/sdk/ios/usr/include/malloc/malloc.h +768 -0
  735. package/sdk/ios/usr/include/module.modulemap +4 -0
  736. package/sdk/ios/usr/include/net/if_types.h +152 -0
  737. package/sdk/ios/usr/include/objc/NSObjCRuntime.h +10 -0
  738. package/sdk/ios/usr/include/objc/NSObject.h +23 -25
  739. package/sdk/ios/usr/include/objc/objc-api.h +310 -0
  740. package/sdk/ios/usr/include/objc/objc.h +243 -0
  741. package/sdk/ios/usr/include/objc/runtime.h +1933 -0
  742. package/sdk/ios/usr/include/os/availability.h +168 -6
  743. package/sdk/ios/usr/include/os/base.h +351 -0
  744. package/sdk/ios/usr/include/os/clock.h +18 -0
  745. package/sdk/ios/usr/include/os/lock.h +232 -10
  746. package/sdk/ios/usr/include/os/log.h +521 -38
  747. package/sdk/ios/usr/include/os/object.h +320 -3
  748. package/sdk/ios/usr/include/os/trace.h +492 -0
  749. package/sdk/ios/usr/include/os/trace_base.h +167 -0
  750. package/sdk/ios/usr/include/os/workgroup.h +37 -0
  751. package/sdk/ios/usr/include/os/workgroup_base.h +91 -0
  752. package/sdk/ios/usr/include/os/workgroup_interval.h +156 -0
  753. package/sdk/ios/usr/include/os/workgroup_object.h +359 -0
  754. package/sdk/ios/usr/include/os/workgroup_parallel.h +76 -0
  755. package/sdk/ios/usr/include/os.modulemap +6 -0
  756. package/sdk/ios/usr/include/pthread/pthread_impl.h +66 -0
  757. package/sdk/ios/usr/include/pthread/sched.h +46 -0
  758. package/sdk/ios/usr/include/pthread.h +754 -4
  759. package/sdk/ios/usr/include/pwd.h +119 -0
  760. package/sdk/ios/usr/include/sched.h +46 -0
  761. package/sdk/ios/usr/include/secure/_string.h +295 -0
  762. package/sdk/ios/usr/include/secure/_strings.h +96 -0
  763. package/sdk/ios/usr/include/spawn.h +193 -0
  764. package/sdk/ios/usr/include/stddef.h +90 -0
  765. package/sdk/ios/usr/include/stdlib.h +62 -17
  766. package/sdk/ios/usr/include/string.h +62 -8
  767. package/sdk/ios/usr/include/sys/_pthread/_pthread_cond_t.h +32 -0
  768. package/sdk/ios/usr/include/sys/_pthread/_pthread_condattr_t.h +32 -0
  769. package/sdk/ios/usr/include/sys/_pthread/_pthread_key_t.h +32 -0
  770. package/sdk/ios/usr/include/sys/_pthread/_pthread_mutex_t.h +32 -0
  771. package/sdk/ios/usr/include/sys/_pthread/_pthread_mutexattr_t.h +32 -0
  772. package/sdk/ios/usr/include/sys/_pthread/_pthread_once_t.h +32 -0
  773. package/sdk/ios/usr/include/sys/_pthread/_pthread_rwlock_t.h +32 -0
  774. package/sdk/ios/usr/include/sys/_pthread/_pthread_rwlockattr_t.h +32 -0
  775. package/sdk/ios/usr/include/sys/_select.h +57 -0
  776. package/sdk/ios/usr/include/sys/_types/_blkcnt_t.h +32 -0
  777. package/sdk/ios/usr/include/sys/_types/_blksize_t.h +32 -0
  778. package/sdk/ios/usr/include/sys/_types/_caddr_t.h +32 -0
  779. package/sdk/ios/usr/include/sys/_types/_dev_t.h +32 -0
  780. package/sdk/ios/usr/include/sys/_types/_fsblkcnt_t.h +32 -0
  781. package/sdk/ios/usr/include/sys/_types/_fsfilcnt_t.h +32 -0
  782. package/sdk/ios/usr/include/sys/_types/_fsid_t.h +32 -0
  783. package/sdk/ios/usr/include/sys/_types/_fsobj_id_t.h +38 -0
  784. package/sdk/ios/usr/include/sys/_types/_graftdmg_un.h +64 -0
  785. package/sdk/ios/usr/include/sys/_types/_guid_t.h +37 -0
  786. package/sdk/ios/usr/include/sys/_types/_id_t.h +32 -0
  787. package/sdk/ios/usr/include/sys/_types/_ino64_t.h +32 -0
  788. package/sdk/ios/usr/include/sys/_types/_key_t.h +32 -0
  789. package/sdk/ios/usr/include/sys/_types/_mach_port_t.h +51 -0
  790. package/sdk/ios/usr/include/sys/_types/_mbstate_t.h +33 -0
  791. package/sdk/ios/usr/include/sys/_types/_mount_t.h +34 -0
  792. package/sdk/ios/usr/include/sys/_types/_nlink_t.h +32 -0
  793. package/sdk/ios/usr/include/sys/_types/_os_inline.h +34 -0
  794. package/sdk/ios/usr/include/sys/_types/_posix_vdisable.h +30 -0
  795. package/sdk/ios/usr/include/sys/_types/_rsize_t.h +55 -0
  796. package/sdk/ios/usr/include/sys/_types/_suseconds_t.h +32 -0
  797. package/sdk/ios/usr/include/sys/_types/_timeval.h +39 -0
  798. package/sdk/ios/usr/include/sys/_types/_u_char.h +31 -0
  799. package/sdk/ios/usr/include/sys/_types/_u_int.h +31 -0
  800. package/sdk/ios/usr/include/sys/_types/_u_short.h +31 -0
  801. package/sdk/ios/usr/include/sys/_types/_useconds_t.h +32 -0
  802. package/sdk/ios/usr/include/sys/_types/_uuid_t.h +32 -0
  803. package/sdk/ios/usr/include/sys/_types/_vnode_t.h +34 -0
  804. package/sdk/ios/usr/include/sys/acl.h +215 -0
  805. package/sdk/ios/usr/include/sys/attr.h +635 -0
  806. package/sdk/ios/usr/include/sys/cdefs.h +53 -0
  807. package/sdk/ios/usr/include/sys/event.h +388 -0
  808. package/sdk/ios/usr/include/sys/kauth.h +409 -0
  809. package/sdk/ios/usr/include/sys/mount.h +470 -0
  810. package/sdk/ios/usr/include/sys/queue.h +909 -0
  811. package/sdk/ios/usr/include/sys/resource.h +600 -0
  812. package/sdk/ios/usr/include/sys/select.h +134 -0
  813. package/sdk/ios/usr/include/sys/spawn.h +84 -0
  814. package/sdk/ios/usr/include/sys/sysctl.h +803 -57
  815. package/sdk/ios/usr/include/sys/syslimits.h +131 -11
  816. package/sdk/ios/usr/include/sys/types.h +236 -19
  817. package/sdk/ios/usr/include/sys/ucred.h +116 -0
  818. package/sdk/ios/usr/include/sys/un.h +105 -0
  819. package/sdk/ios/usr/include/sys/unistd.h +225 -0
  820. package/sdk/ios/usr/include/sys/vm.h +89 -0
  821. package/sdk/ios/usr/include/sys/wait.h +256 -0
  822. package/sdk/ios/usr/include/sysdir.h +79 -0
  823. package/sdk/ios/usr/include/unistd.h +799 -3
  824. package/sdk/ios/usr/include/uuid/uuid.h +69 -10
  825. package/sdk/ios/usr/include/wchar.h +71 -0
  826. package/sdk/ios/usr/include/wctype.h +35 -0
  827. package/sdk/ios/usr/include/xlocale/___wctype.h +146 -0
  828. package/sdk/ios/usr/include/xlocale/_ctype.h +240 -0
  829. package/sdk/ios/usr/include/xlocale/_stdlib.h +77 -0
  830. package/sdk/ios/usr/include/xlocale/_string.h +43 -0
  831. package/sdk/ios/usr/include/xlocale/_wchar.h +160 -0
  832. package/sdk/ios/usr/include/xlocale/_wctype.h +100 -0
  833. package/sdk/ios/usr/include/xlocale.h +61 -0
  834. package/sdk/ios/usr/include/xpc/availability.h +141 -0
  835. package/sdk/ios/usr/include/xpc/base.h +243 -0
  836. package/sdk/ios/wasm/include/AvailabilityInternal.h +24 -0
  837. package/sdk/ios/wasm/include/TargetConditionals.h +529 -0
  838. package/sdk/ios/wasm/include/_locale.h +3 -0
  839. package/sdk/ios/wasm/include/_locale_posix2008.h +3 -0
  840. package/sdk/ios/wasm/include/_types/_locale_t.h +3 -0
  841. package/sdk/ios/wasm/include/arpa/inet.h +15 -0
  842. package/sdk/ios/wasm/include/dirent.h +52 -0
  843. package/sdk/ios/wasm/include/dlfcn.h +13 -1
  844. package/sdk/ios/wasm/include/errno.h +22 -0
  845. package/sdk/ios/wasm/include/fcntl.h +29 -0
  846. package/sdk/ios/wasm/include/ftw.h +15 -0
  847. package/sdk/ios/wasm/include/libkern/_OSByteOrder.h +6 -0
  848. package/sdk/ios/wasm/include/limits.h +9 -0
  849. package/sdk/ios/wasm/include/mach/machine/boolean.h +1 -1
  850. package/sdk/ios/wasm/include/mach/machine/exception.h +1 -4
  851. package/sdk/ios/wasm/include/mach/machine/kern_return.h +1 -1
  852. package/sdk/ios/wasm/include/mach/machine/processor_info.h +1 -1
  853. package/sdk/ios/wasm/include/mach/machine/rpc.h +1 -1
  854. package/sdk/ios/wasm/include/mach/machine/thread_state.h +1 -2
  855. package/sdk/ios/wasm/include/mach/machine/thread_status.h +1 -2
  856. package/sdk/ios/wasm/include/mach/machine/vm_param.h +1 -2
  857. package/sdk/ios/wasm/include/mach/machine/vm_types.h +1 -17
  858. package/sdk/ios/wasm/include/machine/_endian.h +2 -0
  859. package/sdk/ios/wasm/include/machine/_param.h +2 -0
  860. package/sdk/ios/wasm/include/machine/endian.h +1 -1
  861. package/sdk/ios/wasm/include/machine/limits.h +106 -2
  862. package/sdk/ios/wasm/include/machine/param.h +152 -0
  863. package/sdk/ios/wasm/include/netinet/in.h +11 -0
  864. package/sdk/ios/wasm/include/os/object.h +10 -0
  865. package/sdk/ios/wasm/include/pthread.h +14 -0
  866. package/sdk/ios/wasm/include/stdio.h +12 -0
  867. package/sdk/ios/wasm/include/stdlib.h +13 -0
  868. package/sdk/ios/wasm/include/strings.h +9 -0
  869. package/sdk/ios/wasm/include/sys/_types/_iovec_t.h +6 -0
  870. package/sdk/ios/wasm/include/sys/_types/_mode_t.h +10 -0
  871. package/sdk/ios/wasm/include/sys/mman.h +2 -2
  872. package/sdk/ios/wasm/include/sys/param.h +4 -0
  873. package/sdk/ios/wasm/include/sys/resource.h +43 -0
  874. package/sdk/ios/wasm/include/sys/socket.h +75 -9
  875. package/sdk/ios/wasm/include/sys/stat.h +63 -0
  876. package/sdk/ios/wasm/include/sys/types.h +13 -0
  877. package/sdk/ios/wasm/include/sys/un.h +7 -0
  878. package/sdk/ios/wasm/include/time.h +3 -1
  879. package/sdk/ios/wasm/include/unistd.h +19 -3
  880. package/sdk/ios/wasm/include/xlocale/_stdlib.h +37 -0
  881. package/sdk/ios/wasm/storage-include/TargetConditionals.h +529 -0
  882. package/sdk/ios/wasm/storage-include/mach/machine/boolean.h +2 -0
  883. package/sdk/ios/wasm/storage-include/mach/machine/exception.h +5 -0
  884. package/sdk/ios/wasm/storage-include/mach/machine/kern_return.h +2 -0
  885. package/sdk/ios/wasm/storage-include/mach/machine/processor_info.h +2 -0
  886. package/sdk/ios/wasm/storage-include/mach/machine/rpc.h +2 -0
  887. package/sdk/ios/wasm/storage-include/mach/machine/thread_state.h +3 -0
  888. package/sdk/ios/wasm/storage-include/mach/machine/thread_status.h +3 -0
  889. package/sdk/ios/wasm/storage-include/mach/machine/vm_param.h +3 -0
  890. package/sdk/ios/wasm/storage-include/mach/machine/vm_types.h +18 -0
  891. package/sdk/ios/wasm/storage-include/machine/_endian.h +9 -0
  892. package/sdk/ios/wasm/storage-include/machine/_param.h +8 -0
  893. package/sdk/ios/wasm/storage-include/machine/_types.h +31 -0
  894. package/sdk/ios/wasm/storage-include/machine/endian.h +2 -0
  895. package/sdk/ios/wasm/storage-include/machine/limits.h +2 -0
  896. package/sdk/ios/wasm/storage-include/machine/types.h +15 -0
  897. package/sdk/native-hashes.json +80 -0
  898. package/skills/contrast/SKILL.md +4 -1
  899. package/src/android-root-module.ts +145 -0
  900. package/src/androidRootModuleContract.ts +39 -0
  901. package/src/assetCatalogContract.ts +10 -1
  902. package/src/backend-origin.ts +11 -8
  903. package/src/bridge-constants.ts +7 -0
  904. package/src/bridge-contract.ts +3 -1
  905. package/src/capture-contract.ts +3 -1
  906. package/src/cli-runtime.ts +6 -1
  907. package/src/codex-client.ts +11 -6
  908. package/src/dev-bundle-resolution.ts +124 -48
  909. package/src/device-catalog.ts +10 -4
  910. package/src/expo-discovery-cache.ts +272 -0
  911. package/src/expo-native-workspace.ts +207 -0
  912. package/src/expo-swift-host.ts +824 -33
  913. package/src/expo-swift-ready.ts +56 -38
  914. package/src/expoSwiftContract.ts +4 -1
  915. package/src/generated/swift-c-predefines.json +69 -13
  916. package/src/host/bridge-host.ts +33 -0
  917. package/src/host/fetch-proxy-handler.ts +19 -1
  918. package/src/host/network-policy-proxy.ts +421 -0
  919. package/src/host/network-policy.ts +121 -0
  920. package/src/host/staged-host-files.ts +80 -3
  921. package/src/host/websocket-frame-guard.ts +163 -0
  922. package/src/host/websocket-proxy-headers.ts +29 -0
  923. package/src/host/websocket-proxy.ts +100 -58
  924. package/src/installed-native-build-options.ts +154 -0
  925. package/src/installed-package-versions.ts +70 -50
  926. package/src/material-symbol-fonts.ts +6 -4
  927. package/src/menu.ts +6 -0
  928. package/src/metro-plugin.ts +8 -0
  929. package/src/metro-project-root.ts +44 -33
  930. package/src/native-app-identity-project.ts +5 -0
  931. package/src/native-app-identity.ts +16 -0
  932. package/src/native-dev-bundle-url.ts +0 -18
  933. package/src/native-firebase-config.ts +47 -4
  934. package/src/native-preparation.ts +30 -0
  935. package/src/nativePreparationContract.ts +3 -0
  936. package/src/nitro-adapter.lock.json +1072 -14
  937. package/src/nitro-adapter.ts +33 -24
  938. package/src/nitro-bundle.ts +132 -22
  939. package/src/nitro-compile.ts +47 -7
  940. package/src/nitro-dependencies.ts +226 -0
  941. package/src/nitro-source.ts +200 -40
  942. package/src/nitroAdapterContract.ts +100 -20
  943. package/src/node-http-fetch.ts +116 -0
  944. package/src/packageVersionsContract.ts +79 -0
  945. package/src/react-native-bridge-modules.ts +24 -1
  946. package/src/react-native-host-modules.ts +111 -4
  947. package/src/runtime-assets.ts +10 -0
  948. package/src/serverDiscoveryContract.ts +1 -0
  949. package/src/settingsContract.ts +0 -30
  950. package/src/sim-client.ts +1 -1
  951. package/src/storageSnapshotContract.ts +22 -10
  952. package/src/stub-pattern-matcher.ts +17 -4
  953. package/src/swift-binary-modules.ts +20 -5
  954. package/src/swift-compile.ts +1292 -4123
  955. package/src/swift-compiler-digest.ts +1 -2
  956. package/src/swift-coverage/package.ts +103 -58
  957. package/src/swift-coverage/xcode-assets.ts +26 -5
  958. package/src/swift-coverage/xcode-bridging.ts +1 -12
  959. package/src/swift-coverage/xcode-packages.ts +167 -52
  960. package/src/swift-coverage/xcode.ts +2 -6
  961. package/src/swift-cxx-declarations.ts +205 -0
  962. package/src/swift-cxx-deps.ts +48 -0
  963. package/src/swift-cxx-reachable.ts +297 -0
  964. package/src/swift-cxx-standin.ts +248 -0
  965. package/src/swift-distribution.lock.json +29 -20
  966. package/src/swift-host.ts +229 -24
  967. package/src/swift-objc-compile.ts +638 -219
  968. package/src/swift-objc-import.ts +19 -964
  969. package/src/swift-objc-platform.ts +2 -2
  970. package/src/swift-objc-runtime.ts +7 -0
  971. package/src/swift-objc-standin.ts +314 -64
  972. package/src/swift-package-manifest.ts +179 -38
  973. package/src/swift-package.ts +156 -29
  974. package/src/swift-packages.ts +193 -34
  975. package/src/swift-pdf-raster.ts +114 -0
  976. package/src/swift-shared-sdk.ts +45 -0
  977. package/src/swift-source-file.ts +10 -6
  978. package/src/swift-source-pods.ts +126 -41
  979. package/src/swift-standin-digest.ts +74 -0
  980. package/src/swift-standin-emit.ts +48 -4
  981. package/src/swift-standins.ts +334 -92
  982. package/src/swift-submit.ts +24 -6
  983. package/src/swift-toolchain.ts +49 -9
  984. package/src/swiftContract.ts +58 -29
  985. package/src/vite-plugin.ts +0 -23
  986. package/src/workspace-root.ts +15 -0
  987. package/src/xcode-json-project.ts +52 -1
  988. package/src/xcode-project.ts +355 -65
  989. package/src/settings-flags.ts +0 -107
  990. package/src/swift-objc-export.ts +0 -532
  991. package/src/swift-objc-metadata.ts +0 -534
@@ -1,3 +1,906 @@
1
- #pragma once
2
- #include <CoreFoundation/CoreFoundation.h>
3
- enum { errSecSuccess = 0, errSecItemNotFound = -25300 };
1
+ /*
2
+ * Copyright (c) 2000-2016 Apple Inc. All Rights Reserved.
3
+ *
4
+ * @APPLE_LICENSE_HEADER_START@
5
+ *
6
+ * This file contains Original Code and/or Modifications of Original Code
7
+ * as defined in and that are subject to the Apple Public Source License
8
+ * Version 2.0 (the 'License'). You may not use this file except in
9
+ * compliance with the License. Please obtain a copy of the License at
10
+ * http://www.opensource.apple.com/apsl/ and read it before using this
11
+ * file.
12
+ *
13
+ * The Original Code and all software distributed under the License are
14
+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15
+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16
+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17
+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18
+ * Please see the License for the specific language governing rights and
19
+ * limitations under the License.
20
+ *
21
+ * @APPLE_LICENSE_HEADER_END@
22
+ */
23
+
24
+ #ifndef _SECURITY_SECBASE_H_
25
+ #define _SECURITY_SECBASE_H_
26
+
27
+ #include <TargetConditionals.h>
28
+ #include <CoreFoundation/CFBase.h>
29
+ #include <Availability.h>
30
+ #include <sys/cdefs.h>
31
+
32
+ // Truth table for following declarations:
33
+ //
34
+ // TARGET_OS_OSX TARGET_OS_OSX TARGET_OS_IPHONE TARGET_OS_IPHONE TARGET_OS_MACCATALYST
35
+ // SEC_IOS_ON_OSX SEC_IOS_ON_OSX
36
+ // =================================================================================================================
37
+ // SEC_OS_IPHONE 0 1 1 1 1
38
+ // SEC_OS_OSX 1 0 0 0 0
39
+ // SEC_OS_OSX_INCLUDES 1 1 0 0 1
40
+
41
+ #if TARGET_OS_OSX
42
+ #ifdef SEC_IOS_ON_OSX
43
+ #define SEC_OS_IPHONE 1
44
+
45
+ #define SEC_OS_OSX 0
46
+ #define SEC_OS_OSX_INCLUDES 1
47
+ #endif // SEC_IOS_ON_OSX
48
+ #endif // TARGET_OS_OSX
49
+
50
+ #if TARGET_OS_MACCATALYST
51
+ #define SEC_OS_IPHONE 1
52
+
53
+ #define SEC_OS_OSX 0
54
+ #define SEC_OS_OSX_INCLUDES 1
55
+ #endif // TARGET_OS_MACCATALYST
56
+
57
+ #ifndef SEC_OS_IPHONE
58
+ // block above did not fire; set flags to current platform
59
+ #define SEC_OS_IPHONE TARGET_OS_IPHONE
60
+
61
+ #define SEC_OS_OSX TARGET_OS_OSX
62
+ #define SEC_OS_OSX_INCLUDES TARGET_OS_OSX || TARGET_OS_MACCATALYST
63
+ #endif
64
+
65
+ #if defined(__clang__)
66
+ #define SEC_DEPRECATED_ATTRIBUTE DEPRECATED_ATTRIBUTE
67
+ #else
68
+ #define SEC_DEPRECATED_ATTRIBUTE
69
+ #endif
70
+
71
+ #define CSSM_DEPRECATED API_DEPRECATED("CSSM is not supported", macos(10.0, 10.7)) API_UNAVAILABLE(ios, watchos, tvos, macCatalyst)
72
+
73
+ #if __has_attribute(swift_attr)
74
+ #define SEC_SWIFT_SENDABLE __attribute__((swift_attr("@Sendable")))
75
+ #else
76
+ #define SEC_SWIFT_SENDABLE
77
+ #endif
78
+
79
+ __BEGIN_DECLS
80
+
81
+ CF_ASSUME_NONNULL_BEGIN
82
+ CF_IMPLICIT_BRIDGING_ENABLED
83
+
84
+ #define SECURITY_TYPE_UNIFICATION 1
85
+
86
+ /*!
87
+ @typedef SecCertificateRef
88
+ @abstract CFType representing a X.509 certificate.
89
+ See SecCertificate.h for details.
90
+ */
91
+ SEC_SWIFT_SENDABLE typedef struct CF_BRIDGED_TYPE(id) __SecCertificate *SecCertificateRef;
92
+
93
+ #if TARGET_OS_OSX
94
+ typedef struct __SecCertificate OpaqueSecCertificateRef;
95
+ #endif
96
+
97
+ /*!
98
+ @typedef SecIdentityRef
99
+ @abstract CFType representing an identity, which contains
100
+ a SecKeyRef and an associated SecCertificateRef. See
101
+ SecIdentity.h for details.
102
+ */
103
+ typedef struct CF_BRIDGED_TYPE(id) __SecIdentity *SecIdentityRef;
104
+
105
+ #if TARGET_OS_OSX
106
+ typedef struct __SecIdentity OpaqueSecIdentityRef;
107
+ #endif
108
+
109
+ /*!
110
+ @typedef SecKeyRef
111
+ @abstract CFType representing a cryptographic key. See
112
+ SecKey.h for details.
113
+ */
114
+ typedef struct CF_BRIDGED_TYPE(id) __SecKey *SecKeyRef;
115
+
116
+ #if TARGET_OS_OSX
117
+ typedef struct __SecKey OpaqueSecKeyRef;
118
+ #endif
119
+
120
+ /*!
121
+ @typedef SecPolicyRef
122
+ @abstract CFType representing a X.509 certificate trust policy.
123
+ See SecPolicy.h for details.
124
+ */
125
+ typedef struct CF_BRIDGED_TYPE(id) __SecPolicy *SecPolicyRef;
126
+
127
+ /*!
128
+ @typedef SecAccessControl
129
+ @abstract CFType representing access control for an item.
130
+ SecAccessControl.h for details.
131
+ */
132
+ typedef struct CF_BRIDGED_TYPE(id) __SecAccessControl *SecAccessControlRef;
133
+
134
+ /*!
135
+ @typedef SecKeychainRef
136
+ @abstract Contains information about a keychain.
137
+ */
138
+ typedef struct CF_BRIDGED_TYPE(id) __SecKeychain *SecKeychainRef
139
+ API_AVAILABLE(macos(10.0)) API_UNAVAILABLE(ios, tvos, watchos);
140
+
141
+ /*!
142
+ @typedef SecKeychainItemRef
143
+ @abstract Contains information about a keychain item.
144
+ */
145
+ typedef struct CF_BRIDGED_TYPE(id) __SecKeychainItem *SecKeychainItemRef API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
146
+
147
+ /*!
148
+ @typedef SecKeychainSearchRef
149
+ @abstract Contains information about a keychain search.
150
+ */
151
+ typedef struct CF_BRIDGED_TYPE(id) __SecKeychainSearch *SecKeychainSearchRef API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
152
+
153
+ /*!
154
+ @typedef SecKeychainAttrType
155
+ @abstract Represents a keychain attribute type.
156
+ */
157
+ typedef OSType SecKeychainAttrType API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
158
+
159
+ /*!
160
+ @struct SecKeychainAttribute
161
+ @abstract Contains keychain attributes.
162
+ @field tag A 4-byte attribute tag.
163
+ @field length The length of the buffer pointed to by data.
164
+ @field data A pointer to the attribute data.
165
+ */
166
+ struct API_UNAVAILABLE(ios, watchos, tvos, macCatalyst) SecKeychainAttribute
167
+ {
168
+ SecKeychainAttrType tag;
169
+ UInt32 length;
170
+ void * __nullable data;
171
+ };
172
+ typedef struct SecKeychainAttribute SecKeychainAttribute API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
173
+
174
+ /*!
175
+ @typedef SecKeychainAttributePtr
176
+ @abstract Represents a pointer to a keychain attribute structure.
177
+ */
178
+ typedef SecKeychainAttribute *SecKeychainAttributePtr API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
179
+
180
+ /*!
181
+ @typedef SecKeychainAttributeList
182
+ @abstract Represents a list of keychain attributes.
183
+ @field count An unsigned 32-bit integer that represents the number of keychain attributes in the array.
184
+ @field attr A pointer to the first keychain attribute in the array.
185
+ */
186
+ struct API_UNAVAILABLE(ios, watchos, tvos, macCatalyst) SecKeychainAttributeList
187
+ {
188
+ UInt32 count;
189
+ SecKeychainAttribute * __nullable attr;
190
+ };
191
+ typedef struct SecKeychainAttributeList SecKeychainAttributeList API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
192
+
193
+ /*!
194
+ @typedef SecKeychainStatus
195
+ @abstract Represents the status of a keychain.
196
+ */
197
+ typedef UInt32 SecKeychainStatus API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
198
+
199
+ /*!
200
+ @typedef SecTrustedApplicationRef
201
+ @abstract Contains information about a trusted application.
202
+ */
203
+ typedef struct CF_BRIDGED_TYPE(id) __SecTrustedApplication *SecTrustedApplicationRef API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
204
+
205
+ /*!
206
+ @typedef SecAccessRef
207
+ @abstract Contains information about an access.
208
+ */
209
+ typedef struct CF_BRIDGED_TYPE(id) __SecAccess *SecAccessRef API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
210
+
211
+ #if TARGET_OS_OSX
212
+ typedef struct __SecAccess OpaqueSecAccessRef;
213
+ #endif
214
+
215
+ /*!
216
+ @typedef SecACLRef
217
+ @abstract Contains information about an access control list (ACL) entry.
218
+ */
219
+ typedef struct CF_BRIDGED_TYPE(id) __SecACL *SecACLRef API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
220
+
221
+ /*!
222
+ @typedef SecPasswordRef
223
+ @abstract Contains information about a password.
224
+ */
225
+ typedef struct CF_BRIDGED_TYPE(id) __SecPassword *SecPasswordRef API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
226
+
227
+ /*!
228
+ @typedef SecKeychainAttributeInfo
229
+ @abstract Represents an attribute.
230
+ @field count The number of tag-format pairs in the respective arrays.
231
+ @field tag A pointer to the first attribute tag in the array.
232
+ @field format A pointer to the first CSSM_DB_ATTRIBUTE_FORMAT in the array.
233
+ @discussion Each tag and format item form a pair.
234
+ */
235
+ struct API_UNAVAILABLE(ios, watchos, tvos, macCatalyst) SecKeychainAttributeInfo
236
+ {
237
+ UInt32 count;
238
+ UInt32 *tag;
239
+ UInt32 * __nullable format;
240
+ };
241
+ typedef struct SecKeychainAttributeInfo SecKeychainAttributeInfo API_UNAVAILABLE(ios, watchos, tvos, macCatalyst);
242
+
243
+ /*!
244
+ @function SecCopyErrorMessageString
245
+ @abstract Returns a string describing the specified error result code.
246
+ @param status An error result code of type OSStatus or CSSM_RETURN, as returned by a Security or CSSM function.
247
+ @reserved Reserved for future use. Your code should pass NULL in this parameter.
248
+ @result A reference to an error string, or NULL if no error string is available for the specified result code. Your code must release this reference by calling the CFRelease function.
249
+ */
250
+ __nullable
251
+ CFStringRef SecCopyErrorMessageString(OSStatus status, void * __nullable reserved)
252
+ __OSX_AVAILABLE_STARTING(__MAC_10_3, __IPHONE_11_3);
253
+
254
+
255
+ /*!
256
+ @enum Security Error Codes
257
+ @abstract Result codes returned from Security framework functions.
258
+ @constant errSecSuccess No error.
259
+ @constant errSecUnimplemented Function or operation not implemented.
260
+ @constant errSecDiskFull Disk Full error.
261
+ @constant errSecIO I/O error.
262
+ @constant errSecParam One or more parameters passed to a function were not valid.
263
+ @constant errSecWrPerm Write permissions error.
264
+ @constant errSecAllocate Failed to allocate memory.
265
+ @constant errSecUserCanceled User canceled the operation.
266
+ @constant errSecBadReq Bad parameter or invalid state for operation.
267
+ @constant errSecInternalComponent
268
+ @constant errSecCoreFoundationUnknown
269
+ @constant errSecNotAvailable No keychain is available.
270
+ @constant errSecReadOnly Read only error.
271
+ @constant errSecAuthFailed Authorization/Authentication failed.
272
+ @constant errSecNoSuchKeychain The keychain does not exist.
273
+ @constant errSecInvalidKeychain The keychain is not valid.
274
+ @constant errSecDuplicateKeychain A keychain with the same name already exists.
275
+ @constant errSecDuplicateCallback The specified callback is already installed.
276
+ @constant errSecInvalidCallback The specified callback is not valid.
277
+ @constant errSecDuplicateItem The item already exists.
278
+ @constant errSecItemNotFound The item cannot be found.
279
+ @constant errSecBufferTooSmall The buffer is too small.
280
+ @constant errSecDataTooLarge The data is too large.
281
+ @constant errSecNoSuchAttr The attribute does not exist.
282
+ @constant errSecInvalidItemRef The item reference is invalid.
283
+ @constant errSecInvalidSearchRef The search reference is invalid.
284
+ @constant errSecNoSuchClass The keychain item class does not exist.
285
+ @constant errSecNoDefaultKeychain A default keychain does not exist.
286
+ @constant errSecInteractionNotAllowed User interaction is not allowed.
287
+ @constant errSecReadOnlyAttr The attribute is read only.
288
+ @constant errSecWrongSecVersion The version is incorrect.
289
+ @constant errSecKeySizeNotAllowed The key size is not allowed.
290
+ @constant errSecNoStorageModule There is no storage module available.
291
+ @constant errSecNoCertificateModule There is no certificate module available.
292
+ @constant errSecNoPolicyModule There is no policy module available.
293
+ @constant errSecInteractionRequired User interaction is required.
294
+ @constant errSecDataNotAvailable The data is not available.
295
+ @constant errSecDataNotModifiable The data is not modifiable.
296
+ @constant errSecCreateChainFailed The attempt to create a certificate chain failed.
297
+ @constant errSecACLNotSimple The access control list is not in standard simple form.
298
+ @constant errSecPolicyNotFound The policy specified cannot be found.
299
+ @constant errSecInvalidTrustSetting The specified trust setting is invalid.
300
+ @constant errSecNoAccessForItem The specified item has no access control.
301
+ @constant errSecInvalidOwnerEdit Invalid attempt to change the owner of this item.
302
+ @constant errSecTrustNotAvailable No trust results are available.
303
+ @constant errSecUnsupportedFormat Import/Export format unsupported.
304
+ @constant errSecUnknownFormat Unknown format in import.
305
+ @constant errSecKeyIsSensitive Key material must be wrapped for export.
306
+ @constant errSecMultiplePrivKeys An attempt was made to import multiple private keys.
307
+ @constant errSecPassphraseRequired Passphrase is required for import/export.
308
+ @constant errSecInvalidPasswordRef The password reference was invalid.
309
+ @constant errSecInvalidTrustSettings The Trust Settings Record was corrupted.
310
+ @constant errSecNoTrustSettings No Trust Settings were found.
311
+ @constant errSecPkcs12VerifyFailure MAC verification failed during PKCS12 Import.
312
+ @constant errSecDecode Unable to decode the provided data.
313
+
314
+ @discussion The assigned error space is discontinuous: e.g. -25240..-25279, -25290..-25329, -68608..-67585, and so on.
315
+ */
316
+
317
+ /*
318
+ Note: the comments that appear after these errors are used to create SecErrorMessages.strings.
319
+ The comments must not be multi-line, and should be in a form meaningful to an end user. If
320
+ a different or additional comment is needed, it can be put in the header doc format, or on a
321
+ line that does not start with errZZZ.
322
+ */
323
+
324
+ CF_ENUM(OSStatus)
325
+ {
326
+ errSecSuccess = 0, /* No error. */
327
+ errSecUnimplemented = -4, /* Function or operation not implemented. */
328
+ errSecDiskFull = -34, /* The disk is full. */
329
+ errSecDskFull __attribute__((deprecated("use errSecDiskFull"))) = errSecDiskFull,
330
+ errSecIO = -36, /* I/O error. */
331
+ errSecOpWr = -49, /* File already open with write permission. */
332
+ errSecParam = -50, /* One or more parameters passed to a function were not valid. */
333
+ errSecWrPerm = -61, /* Write permissions error. */
334
+ errSecAllocate = -108, /* Failed to allocate memory. */
335
+ errSecUserCanceled = -128, /* User canceled the operation. */
336
+ errSecBadReq = -909, /* Bad parameter or invalid state for operation. */
337
+
338
+ errSecInternalComponent = -2070,
339
+ errSecCoreFoundationUnknown = -4960,
340
+
341
+ errSecMissingEntitlement = -34018, /* A required entitlement is not present. */
342
+ errSecRestrictedAPI = -34020, /* Client is restricted and is not permitted to perform this operation. */
343
+
344
+ errSecNotAvailable = -25291, /* No keychain is available. You may need to restart your computer. */
345
+ errSecReadOnly = -25292, /* This keychain cannot be modified. */
346
+ errSecAuthFailed = -25293, /* The user name or passphrase you entered is not correct. */
347
+ errSecNoSuchKeychain = -25294, /* The specified keychain could not be found. */
348
+ errSecInvalidKeychain = -25295, /* The specified keychain is not a valid keychain file. */
349
+ errSecDuplicateKeychain = -25296, /* A keychain with the same name already exists. */
350
+ errSecDuplicateCallback = -25297, /* The specified callback function is already installed. */
351
+ errSecInvalidCallback = -25298, /* The specified callback function is not valid. */
352
+ errSecDuplicateItem = -25299, /* The specified item already exists in the keychain. */
353
+ errSecItemNotFound = -25300, /* The specified item could not be found in the keychain. */
354
+ errSecBufferTooSmall = -25301, /* There is not enough memory available to use the specified item. */
355
+ errSecDataTooLarge = -25302, /* This item contains information which is too large or in a format that cannot be displayed. */
356
+ errSecNoSuchAttr = -25303, /* The specified attribute does not exist. */
357
+ errSecInvalidItemRef = -25304, /* The specified item is no longer valid. It may have been deleted from the keychain. */
358
+ errSecInvalidSearchRef = -25305, /* Unable to search the current keychain. */
359
+ errSecNoSuchClass = -25306, /* The specified item does not appear to be a valid keychain item. */
360
+ errSecNoDefaultKeychain = -25307, /* A default keychain could not be found. */
361
+ errSecInteractionNotAllowed = -25308, /* User interaction is not allowed. */
362
+ errSecReadOnlyAttr = -25309, /* The specified attribute could not be modified. */
363
+ errSecWrongSecVersion = -25310, /* This keychain was created by a different version of the system software and cannot be opened. */
364
+ errSecKeySizeNotAllowed = -25311, /* This item specifies a key size which is too large or too small. */
365
+ errSecNoStorageModule = -25312, /* A required component (data storage module) could not be loaded. You may need to restart your computer. */
366
+ errSecNoCertificateModule = -25313, /* A required component (certificate module) could not be loaded. You may need to restart your computer. */
367
+ errSecNoPolicyModule = -25314, /* A required component (policy module) could not be loaded. You may need to restart your computer. */
368
+ errSecInteractionRequired = -25315, /* User interaction is required, but is currently not allowed. */
369
+ errSecDataNotAvailable = -25316, /* The contents of this item cannot be retrieved. */
370
+ errSecDataNotModifiable = -25317, /* The contents of this item cannot be modified. */
371
+ errSecCreateChainFailed = -25318, /* One or more certificates required to validate this certificate cannot be found. */
372
+ errSecInvalidPrefsDomain = -25319, /* The specified preferences domain is not valid. */
373
+ errSecInDarkWake = -25320, /* In dark wake, no UI possible */
374
+
375
+ errSecACLNotSimple = -25240, /* The specified access control list is not in standard (simple) form. */
376
+ errSecPolicyNotFound = -25241, /* The specified policy cannot be found. */
377
+ errSecInvalidTrustSetting = -25242, /* The specified trust setting is invalid. */
378
+ errSecNoAccessForItem = -25243, /* The specified item has no access control. */
379
+ errSecInvalidOwnerEdit = -25244, /* Invalid attempt to change the owner of this item. */
380
+ errSecTrustNotAvailable = -25245, /* No trust results are available. */
381
+ errSecUnsupportedFormat = -25256, /* Import/Export format unsupported. */
382
+ errSecUnknownFormat = -25257, /* Unknown format in import. */
383
+ errSecKeyIsSensitive = -25258, /* Key material must be wrapped for export. */
384
+ errSecMultiplePrivKeys = -25259, /* An attempt was made to import multiple private keys. */
385
+ errSecPassphraseRequired = -25260, /* Passphrase is required for import/export. */
386
+ errSecInvalidPasswordRef = -25261, /* The password reference was invalid. */
387
+ errSecInvalidTrustSettings = -25262, /* The Trust Settings Record was corrupted. */
388
+ errSecNoTrustSettings = -25263, /* No Trust Settings were found. */
389
+ errSecPkcs12VerifyFailure = -25264, /* MAC verification failed during PKCS12 import (wrong password?) */
390
+ errSecNotSigner = -26267, /* A certificate was not signed by its proposed parent. */
391
+
392
+ errSecDecode = -26275, /* Unable to decode the provided data. */
393
+
394
+ errSecServiceNotAvailable = -67585, /* The required service is not available. */
395
+ errSecInsufficientClientID = -67586, /* The client ID is not correct. */
396
+ errSecDeviceReset = -67587, /* A device reset has occurred. */
397
+ errSecDeviceFailed = -67588, /* A device failure has occurred. */
398
+ errSecAppleAddAppACLSubject = -67589, /* Adding an application ACL subject failed. */
399
+ errSecApplePublicKeyIncomplete = -67590, /* The public key is incomplete. */
400
+ errSecAppleSignatureMismatch = -67591, /* A signature mismatch has occurred. */
401
+ errSecAppleInvalidKeyStartDate = -67592, /* The specified key has an invalid start date. */
402
+ errSecAppleInvalidKeyEndDate = -67593, /* The specified key has an invalid end date. */
403
+ errSecConversionError = -67594, /* A conversion error has occurred. */
404
+ errSecAppleSSLv2Rollback = -67595, /* A SSLv2 rollback error has occurred. */
405
+ errSecQuotaExceeded = -67596, /* The quota was exceeded. */
406
+ errSecFileTooBig = -67597, /* The file is too big. */
407
+ errSecInvalidDatabaseBlob = -67598, /* The specified database has an invalid blob. */
408
+ errSecInvalidKeyBlob = -67599, /* The specified database has an invalid key blob. */
409
+ errSecIncompatibleDatabaseBlob = -67600, /* The specified database has an incompatible blob. */
410
+ errSecIncompatibleKeyBlob = -67601, /* The specified database has an incompatible key blob. */
411
+ errSecHostNameMismatch = -67602, /* A host name mismatch has occurred. */
412
+ errSecUnknownCriticalExtensionFlag = -67603, /* There is an unknown critical extension flag. */
413
+ errSecNoBasicConstraints = -67604, /* No basic constraints were found. */
414
+ errSecNoBasicConstraintsCA = -67605, /* No basic CA constraints were found. */
415
+ errSecInvalidAuthorityKeyID = -67606, /* The authority key ID is not valid. */
416
+ errSecInvalidSubjectKeyID = -67607, /* The subject key ID is not valid. */
417
+ errSecInvalidKeyUsageForPolicy = -67608, /* The key usage is not valid for the specified policy. */
418
+ errSecInvalidExtendedKeyUsage = -67609, /* The extended key usage is not valid. */
419
+ errSecInvalidIDLinkage = -67610, /* The ID linkage is not valid. */
420
+ errSecPathLengthConstraintExceeded = -67611, /* The path length constraint was exceeded. */
421
+ errSecInvalidRoot = -67612, /* The root or anchor certificate is not valid. */
422
+ errSecCRLExpired = -67613, /* The CRL has expired. */
423
+ errSecCRLNotValidYet = -67614, /* The CRL is not yet valid. */
424
+ errSecCRLNotFound = -67615, /* The CRL was not found. */
425
+ errSecCRLServerDown = -67616, /* The CRL server is down. */
426
+ errSecCRLBadURI = -67617, /* The CRL has a bad Uniform Resource Identifier. */
427
+ errSecUnknownCertExtension = -67618, /* An unknown certificate extension was encountered. */
428
+ errSecUnknownCRLExtension = -67619, /* An unknown CRL extension was encountered. */
429
+ errSecCRLNotTrusted = -67620, /* The CRL is not trusted. */
430
+ errSecCRLPolicyFailed = -67621, /* The CRL policy failed. */
431
+ errSecIDPFailure = -67622, /* The issuing distribution point was not valid. */
432
+ errSecSMIMEEmailAddressesNotFound = -67623, /* An email address mismatch was encountered. */
433
+ errSecSMIMEBadExtendedKeyUsage = -67624, /* The appropriate extended key usage for SMIME was not found. */
434
+ errSecSMIMEBadKeyUsage = -67625, /* The key usage is not compatible with SMIME. */
435
+ errSecSMIMEKeyUsageNotCritical = -67626, /* The key usage extension is not marked as critical. */
436
+ errSecSMIMENoEmailAddress = -67627, /* No email address was found in the certificate. */
437
+ errSecSMIMESubjAltNameNotCritical = -67628, /* The subject alternative name extension is not marked as critical. */
438
+ errSecSSLBadExtendedKeyUsage = -67629, /* The appropriate extended key usage for SSL was not found. */
439
+ errSecOCSPBadResponse = -67630, /* The OCSP response was incorrect or could not be parsed. */
440
+ errSecOCSPBadRequest = -67631, /* The OCSP request was incorrect or could not be parsed. */
441
+ errSecOCSPUnavailable = -67632, /* OCSP service is unavailable. */
442
+ errSecOCSPStatusUnrecognized = -67633, /* The OCSP server did not recognize this certificate. */
443
+ errSecEndOfData = -67634, /* An end-of-data was detected. */
444
+ errSecIncompleteCertRevocationCheck = -67635, /* An incomplete certificate revocation check occurred. */
445
+ errSecNetworkFailure = -67636, /* A network failure occurred. */
446
+ errSecOCSPNotTrustedToAnchor = -67637, /* The OCSP response was not trusted to a root or anchor certificate. */
447
+ errSecRecordModified = -67638, /* The record was modified. */
448
+ errSecOCSPSignatureError = -67639, /* The OCSP response had an invalid signature. */
449
+ errSecOCSPNoSigner = -67640, /* The OCSP response had no signer. */
450
+ errSecOCSPResponderMalformedReq = -67641, /* The OCSP responder was given a malformed request. */
451
+ errSecOCSPResponderInternalError = -67642, /* The OCSP responder encountered an internal error. */
452
+ errSecOCSPResponderTryLater = -67643, /* The OCSP responder is busy, try again later. */
453
+ errSecOCSPResponderSignatureRequired = -67644, /* The OCSP responder requires a signature. */
454
+ errSecOCSPResponderUnauthorized = -67645, /* The OCSP responder rejected this request as unauthorized. */
455
+ errSecOCSPResponseNonceMismatch = -67646, /* The OCSP response nonce did not match the request. */
456
+ errSecCodeSigningBadCertChainLength = -67647, /* Code signing encountered an incorrect certificate chain length. */
457
+ errSecCodeSigningNoBasicConstraints = -67648, /* Code signing found no basic constraints. */
458
+ errSecCodeSigningBadPathLengthConstraint = -67649, /* Code signing encountered an incorrect path length constraint. */
459
+ errSecCodeSigningNoExtendedKeyUsage = -67650, /* Code signing found no extended key usage. */
460
+ errSecCodeSigningDevelopment = -67651, /* Code signing indicated use of a development-only certificate. */
461
+ errSecResourceSignBadCertChainLength = -67652, /* Resource signing has encountered an incorrect certificate chain length. */
462
+ errSecResourceSignBadExtKeyUsage = -67653, /* Resource signing has encountered an error in the extended key usage. */
463
+ errSecTrustSettingDeny = -67654, /* The trust setting for this policy was set to Deny. */
464
+ errSecInvalidSubjectName = -67655, /* An invalid certificate subject name was encountered. */
465
+ errSecUnknownQualifiedCertStatement = -67656, /* An unknown qualified certificate statement was encountered. */
466
+ errSecMobileMeRequestQueued = -67657,
467
+ errSecMobileMeRequestRedirected = -67658,
468
+ errSecMobileMeServerError = -67659,
469
+ errSecMobileMeServerNotAvailable = -67660,
470
+ errSecMobileMeServerAlreadyExists = -67661,
471
+ errSecMobileMeServerServiceErr = -67662,
472
+ errSecMobileMeRequestAlreadyPending = -67663,
473
+ errSecMobileMeNoRequestPending = -67664,
474
+ errSecMobileMeCSRVerifyFailure = -67665,
475
+ errSecMobileMeFailedConsistencyCheck = -67666,
476
+ errSecNotInitialized = -67667, /* A function was called without initializing CSSM. */
477
+ errSecInvalidHandleUsage = -67668, /* The CSSM handle does not match with the service type. */
478
+ errSecPVCReferentNotFound = -67669, /* A reference to the calling module was not found in the list of authorized callers. */
479
+ errSecFunctionIntegrityFail = -67670, /* A function address was not within the verified module. */
480
+ errSecInternalError = -67671, /* An internal error has occurred. */
481
+ errSecMemoryError = -67672, /* A memory error has occurred. */
482
+ errSecInvalidData = -67673, /* Invalid data was encountered. */
483
+ errSecMDSError = -67674, /* A Module Directory Service error has occurred. */
484
+ errSecInvalidPointer = -67675, /* An invalid pointer was encountered. */
485
+ errSecSelfCheckFailed = -67676, /* Self-check has failed. */
486
+ errSecFunctionFailed = -67677, /* A function has failed. */
487
+ errSecModuleManifestVerifyFailed = -67678, /* A module manifest verification failure has occurred. */
488
+ errSecInvalidGUID = -67679, /* An invalid GUID was encountered. */
489
+ errSecInvalidHandle = -67680, /* An invalid handle was encountered. */
490
+ errSecInvalidDBList = -67681, /* An invalid DB list was encountered. */
491
+ errSecInvalidPassthroughID = -67682, /* An invalid passthrough ID was encountered. */
492
+ errSecInvalidNetworkAddress = -67683, /* An invalid network address was encountered. */
493
+ errSecCRLAlreadySigned = -67684, /* The certificate revocation list is already signed. */
494
+ errSecInvalidNumberOfFields = -67685, /* An invalid number of fields were encountered. */
495
+ errSecVerificationFailure = -67686, /* A verification failure occurred. */
496
+ errSecUnknownTag = -67687, /* An unknown tag was encountered. */
497
+ errSecInvalidSignature = -67688, /* An invalid signature was encountered. */
498
+ errSecInvalidName = -67689, /* An invalid name was encountered. */
499
+ errSecInvalidCertificateRef = -67690, /* An invalid certificate reference was encountered. */
500
+ errSecInvalidCertificateGroup = -67691, /* An invalid certificate group was encountered. */
501
+ errSecTagNotFound = -67692, /* The specified tag was not found. */
502
+ errSecInvalidQuery = -67693, /* The specified query was not valid. */
503
+ errSecInvalidValue = -67694, /* An invalid value was detected. */
504
+ errSecCallbackFailed = -67695, /* A callback has failed. */
505
+ errSecACLDeleteFailed = -67696, /* An ACL delete operation has failed. */
506
+ errSecACLReplaceFailed = -67697, /* An ACL replace operation has failed. */
507
+ errSecACLAddFailed = -67698, /* An ACL add operation has failed. */
508
+ errSecACLChangeFailed = -67699, /* An ACL change operation has failed. */
509
+ errSecInvalidAccessCredentials = -67700, /* Invalid access credentials were encountered. */
510
+ errSecInvalidRecord = -67701, /* An invalid record was encountered. */
511
+ errSecInvalidACL = -67702, /* An invalid ACL was encountered. */
512
+ errSecInvalidSampleValue = -67703, /* An invalid sample value was encountered. */
513
+ errSecIncompatibleVersion = -67704, /* An incompatible version was encountered. */
514
+ errSecPrivilegeNotGranted = -67705, /* The privilege was not granted. */
515
+ errSecInvalidScope = -67706, /* An invalid scope was encountered. */
516
+ errSecPVCAlreadyConfigured = -67707, /* The PVC is already configured. */
517
+ errSecInvalidPVC = -67708, /* An invalid PVC was encountered. */
518
+ errSecEMMLoadFailed = -67709, /* The EMM load has failed. */
519
+ errSecEMMUnloadFailed = -67710, /* The EMM unload has failed. */
520
+ errSecAddinLoadFailed = -67711, /* The add-in load operation has failed. */
521
+ errSecInvalidKeyRef = -67712, /* An invalid key was encountered. */
522
+ errSecInvalidKeyHierarchy = -67713, /* An invalid key hierarchy was encountered. */
523
+ errSecAddinUnloadFailed = -67714, /* The add-in unload operation has failed. */
524
+ errSecLibraryReferenceNotFound = -67715, /* A library reference was not found. */
525
+ errSecInvalidAddinFunctionTable = -67716, /* An invalid add-in function table was encountered. */
526
+ errSecInvalidServiceMask = -67717, /* An invalid service mask was encountered. */
527
+ errSecModuleNotLoaded = -67718, /* A module was not loaded. */
528
+ errSecInvalidSubServiceID = -67719, /* An invalid subservice ID was encountered. */
529
+ errSecAttributeNotInContext = -67720, /* An attribute was not in the context. */
530
+ errSecModuleManagerInitializeFailed = -67721, /* A module failed to initialize. */
531
+ errSecModuleManagerNotFound = -67722, /* A module was not found. */
532
+ errSecEventNotificationCallbackNotFound = -67723, /* An event notification callback was not found. */
533
+ errSecInputLengthError = -67724, /* An input length error was encountered. */
534
+ errSecOutputLengthError = -67725, /* An output length error was encountered. */
535
+ errSecPrivilegeNotSupported = -67726, /* The privilege is not supported. */
536
+ errSecDeviceError = -67727, /* A device error was encountered. */
537
+ errSecAttachHandleBusy = -67728, /* The CSP handle was busy. */
538
+ errSecNotLoggedIn = -67729, /* You are not logged in. */
539
+ errSecAlgorithmMismatch = -67730, /* An algorithm mismatch was encountered. */
540
+ errSecKeyUsageIncorrect = -67731, /* The key usage is incorrect. */
541
+ errSecKeyBlobTypeIncorrect = -67732, /* The key blob type is incorrect. */
542
+ errSecKeyHeaderInconsistent = -67733, /* The key header is inconsistent. */
543
+ errSecUnsupportedKeyFormat = -67734, /* The key header format is not supported. */
544
+ errSecUnsupportedKeySize = -67735, /* The key size is not supported. */
545
+ errSecInvalidKeyUsageMask = -67736, /* The key usage mask is not valid. */
546
+ errSecUnsupportedKeyUsageMask = -67737, /* The key usage mask is not supported. */
547
+ errSecInvalidKeyAttributeMask = -67738, /* The key attribute mask is not valid. */
548
+ errSecUnsupportedKeyAttributeMask = -67739, /* The key attribute mask is not supported. */
549
+ errSecInvalidKeyLabel = -67740, /* The key label is not valid. */
550
+ errSecUnsupportedKeyLabel = -67741, /* The key label is not supported. */
551
+ errSecInvalidKeyFormat = -67742, /* The key format is not valid. */
552
+ errSecUnsupportedVectorOfBuffers = -67743, /* The vector of buffers is not supported. */
553
+ errSecInvalidInputVector = -67744, /* The input vector is not valid. */
554
+ errSecInvalidOutputVector = -67745, /* The output vector is not valid. */
555
+ errSecInvalidContext = -67746, /* An invalid context was encountered. */
556
+ errSecInvalidAlgorithm = -67747, /* An invalid algorithm was encountered. */
557
+ errSecInvalidAttributeKey = -67748, /* A key attribute was not valid. */
558
+ errSecMissingAttributeKey = -67749, /* A key attribute was missing. */
559
+ errSecInvalidAttributeInitVector = -67750, /* An init vector attribute was not valid. */
560
+ errSecMissingAttributeInitVector = -67751, /* An init vector attribute was missing. */
561
+ errSecInvalidAttributeSalt = -67752, /* A salt attribute was not valid. */
562
+ errSecMissingAttributeSalt = -67753, /* A salt attribute was missing. */
563
+ errSecInvalidAttributePadding = -67754, /* A padding attribute was not valid. */
564
+ errSecMissingAttributePadding = -67755, /* A padding attribute was missing. */
565
+ errSecInvalidAttributeRandom = -67756, /* A random number attribute was not valid. */
566
+ errSecMissingAttributeRandom = -67757, /* A random number attribute was missing. */
567
+ errSecInvalidAttributeSeed = -67758, /* A seed attribute was not valid. */
568
+ errSecMissingAttributeSeed = -67759, /* A seed attribute was missing. */
569
+ errSecInvalidAttributePassphrase = -67760, /* A passphrase attribute was not valid. */
570
+ errSecMissingAttributePassphrase = -67761, /* A passphrase attribute was missing. */
571
+ errSecInvalidAttributeKeyLength = -67762, /* A key length attribute was not valid. */
572
+ errSecMissingAttributeKeyLength = -67763, /* A key length attribute was missing. */
573
+ errSecInvalidAttributeBlockSize = -67764, /* A block size attribute was not valid. */
574
+ errSecMissingAttributeBlockSize = -67765, /* A block size attribute was missing. */
575
+ errSecInvalidAttributeOutputSize = -67766, /* An output size attribute was not valid. */
576
+ errSecMissingAttributeOutputSize = -67767, /* An output size attribute was missing. */
577
+ errSecInvalidAttributeRounds = -67768, /* The number of rounds attribute was not valid. */
578
+ errSecMissingAttributeRounds = -67769, /* The number of rounds attribute was missing. */
579
+ errSecInvalidAlgorithmParms = -67770, /* An algorithm parameters attribute was not valid. */
580
+ errSecMissingAlgorithmParms = -67771, /* An algorithm parameters attribute was missing. */
581
+ errSecInvalidAttributeLabel = -67772, /* A label attribute was not valid. */
582
+ errSecMissingAttributeLabel = -67773, /* A label attribute was missing. */
583
+ errSecInvalidAttributeKeyType = -67774, /* A key type attribute was not valid. */
584
+ errSecMissingAttributeKeyType = -67775, /* A key type attribute was missing. */
585
+ errSecInvalidAttributeMode = -67776, /* A mode attribute was not valid. */
586
+ errSecMissingAttributeMode = -67777, /* A mode attribute was missing. */
587
+ errSecInvalidAttributeEffectiveBits = -67778, /* An effective bits attribute was not valid. */
588
+ errSecMissingAttributeEffectiveBits = -67779, /* An effective bits attribute was missing. */
589
+ errSecInvalidAttributeStartDate = -67780, /* A start date attribute was not valid. */
590
+ errSecMissingAttributeStartDate = -67781, /* A start date attribute was missing. */
591
+ errSecInvalidAttributeEndDate = -67782, /* An end date attribute was not valid. */
592
+ errSecMissingAttributeEndDate = -67783, /* An end date attribute was missing. */
593
+ errSecInvalidAttributeVersion = -67784, /* A version attribute was not valid. */
594
+ errSecMissingAttributeVersion = -67785, /* A version attribute was missing. */
595
+ errSecInvalidAttributePrime = -67786, /* A prime attribute was not valid. */
596
+ errSecMissingAttributePrime = -67787, /* A prime attribute was missing. */
597
+ errSecInvalidAttributeBase = -67788, /* A base attribute was not valid. */
598
+ errSecMissingAttributeBase = -67789, /* A base attribute was missing. */
599
+ errSecInvalidAttributeSubprime = -67790, /* A subprime attribute was not valid. */
600
+ errSecMissingAttributeSubprime = -67791, /* A subprime attribute was missing. */
601
+ errSecInvalidAttributeIterationCount = -67792, /* An iteration count attribute was not valid. */
602
+ errSecMissingAttributeIterationCount = -67793, /* An iteration count attribute was missing. */
603
+ errSecInvalidAttributeDLDBHandle = -67794, /* A database handle attribute was not valid. */
604
+ errSecMissingAttributeDLDBHandle = -67795, /* A database handle attribute was missing. */
605
+ errSecInvalidAttributeAccessCredentials = -67796, /* An access credentials attribute was not valid. */
606
+ errSecMissingAttributeAccessCredentials = -67797, /* An access credentials attribute was missing. */
607
+ errSecInvalidAttributePublicKeyFormat = -67798, /* A public key format attribute was not valid. */
608
+ errSecMissingAttributePublicKeyFormat = -67799, /* A public key format attribute was missing. */
609
+ errSecInvalidAttributePrivateKeyFormat = -67800, /* A private key format attribute was not valid. */
610
+ errSecMissingAttributePrivateKeyFormat = -67801, /* A private key format attribute was missing. */
611
+ errSecInvalidAttributeSymmetricKeyFormat = -67802, /* A symmetric key format attribute was not valid. */
612
+ errSecMissingAttributeSymmetricKeyFormat = -67803, /* A symmetric key format attribute was missing. */
613
+ errSecInvalidAttributeWrappedKeyFormat = -67804, /* A wrapped key format attribute was not valid. */
614
+ errSecMissingAttributeWrappedKeyFormat = -67805, /* A wrapped key format attribute was missing. */
615
+ errSecStagedOperationInProgress = -67806, /* A staged operation is in progress. */
616
+ errSecStagedOperationNotStarted = -67807, /* A staged operation was not started. */
617
+ errSecVerifyFailed = -67808, /* A cryptographic verification failure has occurred. */
618
+ errSecQuerySizeUnknown = -67809, /* The query size is unknown. */
619
+ errSecBlockSizeMismatch = -67810, /* A block size mismatch occurred. */
620
+ errSecPublicKeyInconsistent = -67811, /* The public key was inconsistent. */
621
+ errSecDeviceVerifyFailed = -67812, /* A device verification failure has occurred. */
622
+ errSecInvalidLoginName = -67813, /* An invalid login name was detected. */
623
+ errSecAlreadyLoggedIn = -67814, /* The user is already logged in. */
624
+ errSecInvalidDigestAlgorithm = -67815, /* An invalid digest algorithm was detected. */
625
+ errSecInvalidCRLGroup = -67816, /* An invalid CRL group was detected. */
626
+ errSecCertificateCannotOperate = -67817, /* The certificate cannot operate. */
627
+ errSecCertificateExpired = -67818, /* An expired certificate was detected. */
628
+ errSecCertificateNotValidYet = -67819, /* The certificate is not yet valid. */
629
+ errSecCertificateRevoked = -67820, /* The certificate was revoked. */
630
+ errSecCertificateSuspended = -67821, /* The certificate was suspended. */
631
+ errSecInsufficientCredentials = -67822, /* Insufficient credentials were detected. */
632
+ errSecInvalidAction = -67823, /* The action was not valid. */
633
+ errSecInvalidAuthority = -67824, /* The authority was not valid. */
634
+ errSecVerifyActionFailed = -67825, /* A verify action has failed. */
635
+ errSecInvalidCertAuthority = -67826, /* The certificate authority was not valid. */
636
+ errSecInvalidCRLAuthority = -67827, /* The CRL authority was not valid. */
637
+ errSecInvaldCRLAuthority API_DEPRECATED_WITH_REPLACEMENT("errSecInvalidCRLAuthority", macos(10.11, 12.0), ios(4, 15)) = errSecInvalidCRLAuthority,
638
+ errSecInvalidCRLEncoding = -67828, /* The CRL encoding was not valid. */
639
+ errSecInvalidCRLType = -67829, /* The CRL type was not valid. */
640
+ errSecInvalidCRL = -67830, /* The CRL was not valid. */
641
+ errSecInvalidFormType = -67831, /* The form type was not valid. */
642
+ errSecInvalidID = -67832, /* The ID was not valid. */
643
+ errSecInvalidIdentifier = -67833, /* The identifier was not valid. */
644
+ errSecInvalidIndex = -67834, /* The index was not valid. */
645
+ errSecInvalidPolicyIdentifiers = -67835, /* The policy identifiers are not valid. */
646
+ errSecInvalidTimeString = -67836, /* The time specified was not valid. */
647
+ errSecInvalidReason = -67837, /* The trust policy reason was not valid. */
648
+ errSecInvalidRequestInputs = -67838, /* The request inputs are not valid. */
649
+ errSecInvalidResponseVector = -67839, /* The response vector was not valid. */
650
+ errSecInvalidStopOnPolicy = -67840, /* The stop-on policy was not valid. */
651
+ errSecInvalidTuple = -67841, /* The tuple was not valid. */
652
+ errSecMultipleValuesUnsupported = -67842, /* Multiple values are not supported. */
653
+ errSecNotTrusted = -67843, /* The certificate was not trusted. */
654
+ errSecNoDefaultAuthority = -67844, /* No default authority was detected. */
655
+ errSecRejectedForm = -67845, /* The trust policy had a rejected form. */
656
+ errSecRequestLost = -67846, /* The request was lost. */
657
+ errSecRequestRejected = -67847, /* The request was rejected. */
658
+ errSecUnsupportedAddressType = -67848, /* The address type is not supported. */
659
+ errSecUnsupportedService = -67849, /* The service is not supported. */
660
+ errSecInvalidTupleGroup = -67850, /* The tuple group was not valid. */
661
+ errSecInvalidBaseACLs = -67851, /* The base ACLs are not valid. */
662
+ errSecInvalidTupleCredentials = -67852, /* The tuple credentials are not valid. */
663
+ errSecInvalidTupleCredendtials API_DEPRECATED_WITH_REPLACEMENT("errSecInvalidTupleCredentials", macos(10.11, 12.0), ios(4, 15)) = errSecInvalidTupleCredentials,
664
+ errSecInvalidEncoding = -67853, /* The encoding was not valid. */
665
+ errSecInvalidValidityPeriod = -67854, /* The validity period was not valid. */
666
+ errSecInvalidRequestor = -67855, /* The requestor was not valid. */
667
+ errSecRequestDescriptor = -67856, /* The request descriptor was not valid. */
668
+ errSecInvalidBundleInfo = -67857, /* The bundle information was not valid. */
669
+ errSecInvalidCRLIndex = -67858, /* The CRL index was not valid. */
670
+ errSecNoFieldValues = -67859, /* No field values were detected. */
671
+ errSecUnsupportedFieldFormat = -67860, /* The field format is not supported. */
672
+ errSecUnsupportedIndexInfo = -67861, /* The index information is not supported. */
673
+ errSecUnsupportedLocality = -67862, /* The locality is not supported. */
674
+ errSecUnsupportedNumAttributes = -67863, /* The number of attributes is not supported. */
675
+ errSecUnsupportedNumIndexes = -67864, /* The number of indexes is not supported. */
676
+ errSecUnsupportedNumRecordTypes = -67865, /* The number of record types is not supported. */
677
+ errSecFieldSpecifiedMultiple = -67866, /* Too many fields were specified. */
678
+ errSecIncompatibleFieldFormat = -67867, /* The field format was incompatible. */
679
+ errSecInvalidParsingModule = -67868, /* The parsing module was not valid. */
680
+ errSecDatabaseLocked = -67869, /* The database is locked. */
681
+ errSecDatastoreIsOpen = -67870, /* The data store is open. */
682
+ errSecMissingValue = -67871, /* A missing value was detected. */
683
+ errSecUnsupportedQueryLimits = -67872, /* The query limits are not supported. */
684
+ errSecUnsupportedNumSelectionPreds = -67873, /* The number of selection predicates is not supported. */
685
+ errSecUnsupportedOperator = -67874, /* The operator is not supported. */
686
+ errSecInvalidDBLocation = -67875, /* The database location is not valid. */
687
+ errSecInvalidAccessRequest = -67876, /* The access request is not valid. */
688
+ errSecInvalidIndexInfo = -67877, /* The index information is not valid. */
689
+ errSecInvalidNewOwner = -67878, /* The new owner is not valid. */
690
+ errSecInvalidModifyMode = -67879, /* The modify mode is not valid. */
691
+ errSecMissingRequiredExtension = -67880, /* A required certificate extension is missing. */
692
+ errSecExtendedKeyUsageNotCritical = -67881, /* The extended key usage extension was not marked critical. */
693
+ errSecTimestampMissing = -67882, /* A timestamp was expected but was not found. */
694
+ errSecTimestampInvalid = -67883, /* The timestamp was not valid. */
695
+ errSecTimestampNotTrusted = -67884, /* The timestamp was not trusted. */
696
+ errSecTimestampServiceNotAvailable = -67885, /* The timestamp service is not available. */
697
+ errSecTimestampBadAlg = -67886, /* An unrecognized or unsupported Algorithm Identifier in timestamp. */
698
+ errSecTimestampBadRequest = -67887, /* The timestamp transaction is not permitted or supported. */
699
+ errSecTimestampBadDataFormat = -67888, /* The timestamp data submitted has the wrong format. */
700
+ errSecTimestampTimeNotAvailable = -67889, /* The time source for the Timestamp Authority is not available. */
701
+ errSecTimestampUnacceptedPolicy = -67890, /* The requested policy is not supported by the Timestamp Authority. */
702
+ errSecTimestampUnacceptedExtension = -67891, /* The requested extension is not supported by the Timestamp Authority. */
703
+ errSecTimestampAddInfoNotAvailable = -67892, /* The additional information requested is not available. */
704
+ errSecTimestampSystemFailure = -67893, /* The timestamp request cannot be handled due to system failure. */
705
+ errSecSigningTimeMissing = -67894, /* A signing time was expected but was not found. */
706
+ errSecTimestampRejection = -67895, /* A timestamp transaction was rejected. */
707
+ errSecTimestampWaiting = -67896, /* A timestamp transaction is waiting. */
708
+ errSecTimestampRevocationWarning = -67897, /* A timestamp authority revocation warning was issued. */
709
+ errSecTimestampRevocationNotification = -67898, /* A timestamp authority revocation notification was issued. */
710
+ errSecCertificatePolicyNotAllowed = -67899, /* The requested policy is not allowed for this certificate. */
711
+ errSecCertificateNameNotAllowed = -67900, /* The requested name is not allowed for this certificate. */
712
+ errSecCertificateValidityPeriodTooLong = -67901, /* The validity period in the certificate exceeds the maximum allowed. */
713
+ errSecCertificateIsCA = -67902, /* The verified certificate is a CA rather than an end-entity */
714
+ errSecCertificateDuplicateExtension = -67903, /* The certificate contains multiple extensions with the same extension ID. */
715
+ errSecMissingQualifiedCertStatement = -67904, /* A qualified certificate statement was expected but missing. */
716
+ };
717
+
718
+
719
+ /*!
720
+ @enum SecureTransport Error Codes
721
+ @abstract Result codes returned from SecureTransport and SecProtocol functions. This is also the domain
722
+ for TLS errors in the network stack.
723
+
724
+ @constant errSSLProtocol SSL protocol error
725
+ @constant errSSLNegotiation Cipher Suite negotiation failure
726
+ @constant errSSLFatalAlert Fatal alert
727
+ @constant errSSLWouldBlock I/O would block (not fatal)
728
+ @constant errSSLSessionNotFound attempt to restore an unknown session
729
+ @constant errSSLClosedGraceful connection closed gracefully
730
+ @constant errSSLClosedAbort connection closed via error
731
+ @constant errSSLXCertChainInvalid invalid certificate chain
732
+ @constant errSSLBadCert bad certificate format
733
+ @constant errSSLCrypto underlying cryptographic error
734
+ @constant errSSLInternal Internal error
735
+ @constant errSSLModuleAttach module attach failure
736
+ @constant errSSLUnknownRootCert valid cert chain, untrusted root
737
+ @constant errSSLNoRootCert cert chain not verified by root
738
+ @constant errSSLCertExpired chain had an expired cert
739
+ @constant errSSLCertNotYetValid chain had a cert not yet valid
740
+ @constant errSSLClosedNoNotify server closed session with no notification
741
+ @constant errSSLBufferOverflow insufficient buffer provided
742
+ @constant errSSLBadCipherSuite bad SSLCipherSuite
743
+ @constant errSSLPeerUnexpectedMsg unexpected message received
744
+ @constant errSSLPeerBadRecordMac bad MAC
745
+ @constant errSSLPeerDecryptionFail decryption failed
746
+ @constant errSSLPeerRecordOverflow record overflow
747
+ @constant errSSLPeerDecompressFail decompression failure
748
+ @constant errSSLPeerHandshakeFail handshake failure
749
+ @constant errSSLPeerBadCert misc. bad certificate
750
+ @constant errSSLPeerUnsupportedCert bad unsupported cert format
751
+ @constant errSSLPeerCertRevoked certificate revoked
752
+ @constant errSSLPeerCertExpired certificate expired
753
+ @constant errSSLPeerCertUnknown unknown certificate
754
+ @constant errSSLIllegalParam illegal parameter
755
+ @constant errSSLPeerUnknownCA unknown Cert Authority
756
+ @constant errSSLPeerAccessDenied access denied
757
+ @constant errSSLPeerDecodeError decoding error
758
+ @constant errSSLPeerDecryptError decryption error
759
+ @constant errSSLPeerExportRestriction export restriction
760
+ @constant errSSLPeerProtocolVersion bad protocol version
761
+ @constant errSSLPeerInsufficientSecurity insufficient security
762
+ @constant errSSLPeerInternalError internal error
763
+ @constant errSSLPeerUserCancelled user canceled
764
+ @constant errSSLPeerNoRenegotiation no renegotiation allowed
765
+ @constant errSSLPeerAuthCompleted peer cert is valid, or was ignored if verification disabled
766
+ @constant errSSLClientCertRequested server has requested a client cert
767
+ @constant errSSLHostNameMismatch peer host name mismatch
768
+ @constant errSSLConnectionRefused peer dropped connection before responding
769
+ @constant errSSLDecryptionFail decryption failure
770
+ @constant errSSLBadRecordMac bad MAC
771
+ @constant errSSLRecordOverflow record overflow
772
+ @constant errSSLBadConfiguration configuration error
773
+ @constant errSSLUnexpectedRecord unexpected (skipped) record in DTLS
774
+ @constant errSSLWeakPeerEphemeralDHKey weak ephemeral dh key
775
+ @constant errSSLClientHelloReceived SNI
776
+ @constant errSSLTransportReset transport (socket) shutdown, e.g., TCP RST or FIN.
777
+ @constant errSSLNetworkTimeout network timeout triggered
778
+ @constant errSSLConfigurationFailed TLS configuration failed
779
+ @constant errSSLUnsupportedExtension unsupported TLS extension
780
+ @constant errSSLUnexpectedMessage peer rejected unexpected message
781
+ @constant errSSLDecompressFail decompression failed
782
+ @constant errSSLHandshakeFail handshake failed
783
+ @constant errSSLDecodeError decode failed
784
+ @constant errSSLInappropriateFallback inappropriate fallback
785
+ @constant errSSLMissingExtension missing extension
786
+ @constant errSSLBadCertificateStatusResponse bad OCSP response
787
+ @constant errSSLCertificateRequired certificate required
788
+ @constant errSSLUnknownPSKIdentity unknown PSK identity
789
+ @constant errSSLUnrecognizedName unknown or unrecognized name
790
+ @constant errSSLATSViolation ATS violation
791
+ @constant errSSLATSMinimumVersionViolation ATS violation: minimum protocol version is not ATS compliant
792
+ @constant errSSLATSCiphersuiteViolation ATS violation: selected ciphersuite is not ATS compliant
793
+ @constant errSSLATSMinimumKeySizeViolation ATS violation: peer key size is not ATS compliant
794
+ @constant errSSLATSLeafCertificateHashAlgorithmViolation ATS violation: peer leaf certificate hash algorithm is not ATS compliant
795
+ @constant errSSLATSCertificateHashAlgorithmViolation ATS violation: peer certificate hash algorithm is not ATS compliant
796
+ @constant errSSLATSCertificateTrustViolation ATS violation: peer certificate is not issued by trusted peer
797
+ @constant errSSLEarlyDataRejected Early application data rejected by peer
798
+ */
799
+
800
+ /*
801
+ Note: the comments that appear after these errors are used to create SecErrorMessages.strings.
802
+ The comments must not be multi-line, and should be in a form meaningful to an end user. If
803
+ a different or additional comment is needed, it can be put in the header doc format, or on a
804
+ line that does not start with errZZZ.
805
+ */
806
+ CF_ENUM(OSStatus) {
807
+ errSSLProtocol = -9800, /* SSL protocol error */
808
+ errSSLNegotiation = -9801, /* Cipher Suite negotiation failure */
809
+ errSSLFatalAlert = -9802, /* Fatal alert */
810
+ errSSLWouldBlock = -9803, /* I/O would block (not fatal) */
811
+ errSSLSessionNotFound = -9804, /* attempt to restore an unknown session */
812
+ errSSLClosedGraceful = -9805, /* connection closed gracefully */
813
+ errSSLClosedAbort = -9806, /* connection closed via error */
814
+ errSSLXCertChainInvalid = -9807, /* invalid certificate chain */
815
+ errSSLBadCert = -9808, /* bad certificate format */
816
+ errSSLCrypto = -9809, /* underlying cryptographic error */
817
+ errSSLInternal = -9810, /* Internal error */
818
+ errSSLModuleAttach = -9811, /* module attach failure */
819
+ errSSLUnknownRootCert = -9812, /* valid cert chain, untrusted root */
820
+ errSSLNoRootCert = -9813, /* cert chain not verified by root */
821
+ errSSLCertExpired = -9814, /* chain had an expired cert */
822
+ errSSLCertNotYetValid = -9815, /* chain had a cert not yet valid */
823
+ errSSLClosedNoNotify = -9816, /* server closed session with no notification */
824
+ errSSLBufferOverflow = -9817, /* insufficient buffer provided */
825
+ errSSLBadCipherSuite = -9818, /* bad SSLCipherSuite */
826
+
827
+ /* fatal errors detected by peer */
828
+ errSSLPeerUnexpectedMsg = -9819, /* unexpected message received */
829
+ errSSLPeerBadRecordMac = -9820, /* bad MAC */
830
+ errSSLPeerDecryptionFail = -9821, /* decryption failed */
831
+ errSSLPeerRecordOverflow = -9822, /* record overflow */
832
+ errSSLPeerDecompressFail = -9823, /* decompression failure */
833
+ errSSLPeerHandshakeFail = -9824, /* handshake failure */
834
+ errSSLPeerBadCert = -9825, /* misc. bad certificate */
835
+ errSSLPeerUnsupportedCert = -9826, /* bad unsupported cert format */
836
+ errSSLPeerCertRevoked = -9827, /* certificate revoked */
837
+ errSSLPeerCertExpired = -9828, /* certificate expired */
838
+ errSSLPeerCertUnknown = -9829, /* unknown certificate */
839
+ errSSLIllegalParam = -9830, /* illegal parameter */
840
+ errSSLPeerUnknownCA = -9831, /* unknown Cert Authority */
841
+ errSSLPeerAccessDenied = -9832, /* access denied */
842
+ errSSLPeerDecodeError = -9833, /* decoding error */
843
+ errSSLPeerDecryptError = -9834, /* decryption error */
844
+ errSSLPeerExportRestriction = -9835, /* export restriction */
845
+ errSSLPeerProtocolVersion = -9836, /* bad protocol version */
846
+ errSSLPeerInsufficientSecurity = -9837, /* insufficient security */
847
+ errSSLPeerInternalError = -9838, /* internal error */
848
+ errSSLPeerUserCancelled = -9839, /* user canceled */
849
+ errSSLPeerNoRenegotiation = -9840, /* no renegotiation allowed */
850
+
851
+ /* non-fatal result codes */
852
+ errSSLPeerAuthCompleted = -9841, /* peer cert is valid, or was ignored if verification disabled */
853
+ errSSLClientCertRequested = -9842, /* server has requested a client cert */
854
+
855
+ /* more errors detected by us */
856
+ errSSLHostNameMismatch = -9843, /* peer host name mismatch */
857
+ errSSLConnectionRefused = -9844, /* peer dropped connection before responding */
858
+ errSSLDecryptionFail = -9845, /* decryption failure */
859
+ errSSLBadRecordMac = -9846, /* bad MAC */
860
+ errSSLRecordOverflow = -9847, /* record overflow */
861
+ errSSLBadConfiguration = -9848, /* configuration error */
862
+ errSSLUnexpectedRecord = -9849, /* unexpected (skipped) record in DTLS */
863
+ errSSLWeakPeerEphemeralDHKey = -9850, /* weak ephemeral dh key */
864
+
865
+ /* non-fatal result codes */
866
+ errSSLClientHelloReceived = -9851, /* SNI */
867
+
868
+ /* fatal errors resulting from transport or networking errors */
869
+ errSSLTransportReset = -9852, /* transport (socket) shutdown, e.g., TCP RST or FIN. */
870
+ errSSLNetworkTimeout = -9853, /* network timeout triggered */
871
+
872
+ /* fatal errors resulting from software misconfiguration */
873
+ errSSLConfigurationFailed = -9854, /* TLS configuration failed */
874
+
875
+ /* additional errors */
876
+ errSSLUnsupportedExtension = -9855, /* unsupported TLS extension */
877
+ errSSLUnexpectedMessage = -9856, /* peer rejected unexpected message */
878
+ errSSLDecompressFail = -9857, /* decompression failed */
879
+ errSSLHandshakeFail = -9858, /* handshake failed */
880
+ errSSLDecodeError = -9859, /* decode failed */
881
+ errSSLInappropriateFallback = -9860, /* inappropriate fallback */
882
+ errSSLMissingExtension = -9861, /* missing extension */
883
+ errSSLBadCertificateStatusResponse = -9862, /* bad OCSP response */
884
+ errSSLCertificateRequired = -9863, /* certificate required */
885
+ errSSLUnknownPSKIdentity = -9864, /* unknown PSK identity */
886
+ errSSLUnrecognizedName = -9865, /* unknown or unrecognized name */
887
+
888
+ /* ATS compliance violation errors */
889
+ errSSLATSViolation = -9880, /* ATS violation */
890
+ errSSLATSMinimumVersionViolation = -9881, /* ATS violation: minimum protocol version is not ATS compliant */
891
+ errSSLATSCiphersuiteViolation = -9882, /* ATS violation: selected ciphersuite is not ATS compliant */
892
+ errSSLATSMinimumKeySizeViolation = -9883, /* ATS violation: peer key size is not ATS compliant */
893
+ errSSLATSLeafCertificateHashAlgorithmViolation = -9884, /* ATS violation: peer leaf certificate hash algorithm is not ATS compliant */
894
+ errSSLATSCertificateHashAlgorithmViolation = -9885, /* ATS violation: peer certificate hash algorithm is not ATS compliant */
895
+ errSSLATSCertificateTrustViolation = -9886, /* ATS violation: peer certificate is not issued by trusted peer */
896
+
897
+ /* early data errors */
898
+ errSSLEarlyDataRejected = -9890, /* Early application data rejected by peer */
899
+ };
900
+
901
+ CF_IMPLICIT_BRIDGING_DISABLED
902
+ CF_ASSUME_NONNULL_END
903
+
904
+ __END_DECLS
905
+
906
+ #endif /* _SECURITY_SECBASE_H_ */