iOS Packages

Choose between the aggregate iOS SDK, the core runtime, pairing UI, Objective-C support, and individual native tool products.

Start with the aggregate Ansight product for a local development build. It includes the runtime, native pairing, and standard native tool suites used by the iOS quickstart.

Use AnsightCore plus selected products only when the app needs a smaller, explicitly assembled integration.

Package Managers

The SDK is available as a Swift package from ansight-ai/ansight-sdk and as matching CocoaPods pods.

.package(url: "https://github.com/ansight-ai/ansight-sdk.git", exact: "1.4.0-preview.1")
pod 'Ansight', '1.4.0-preview.1'

Follow iOS Setup for the complete installation and startup flow.

Products

ProductRegistryPurpose
AnsightCocoaPodsAggregate setup with AnsightCore, QR/file pairing, database, file-system, file-descriptor diagnostics, preferences, reflection, secure-storage, and visual-tree tools.
AnsightCoreCocoaPodsRuntime lifecycle, telemetry, host connection, pairing protocol, screenshots, touch input, tool abstractions, and build-time checks.
AnsightPairingQRCocoaPodsUIKit document import and AVFoundation QR scanning for SDK-owned pairing UI.
AnsightToolsVisualTreeCocoaPodsUIKit visual tree, screenshot, node inspection, and overlay tools.
AnsightToolsFileSystemCocoaPodsSandboxed file list, read, checksum, download, push, copy, move, and delete tools.
AnsightToolsFileDescriptorDiagnosticsCocoaPodsProcess file-descriptor counts, limits, utilization, and open-descriptor diagnostics.
AnsightToolsDatabaseCocoaPodsSQLite discovery, schema inspection, and constrained read-only query tools.
AnsightToolsPreferencesCocoaPodsUserDefaults list, read, write, and remove tools.
AnsightToolsSecureStorageCocoaPodsAllow-listed Keychain read, write, and remove tools.
AnsightToolsReflectionCocoaPodsRegistered-root runtime inspection plus opt-in write/invoke hooks.
AnsightObjCCocoaPodsObjective-C facade used by Objective-C hosts and the React Native bridge.

Swift application code should normally use Ansight or AnsightCore. Use AnsightObjC only for Objective-C hosts and bridge layers.

Core-Only Setup

After adding AnsightCore, initialize it once from the same app-startup location used by the aggregate SDK:

import AnsightCore

let options = try AnsightOptions.createBuilder()
    .withFramesPerSecond()
    .withReadOnlyToolAccess()
    .build()

try AnsightRuntime.shared.initializeAndActivate(options: options)

Core-only setup provides the runtime, telemetry, pairing, screenshots, touch input, and custom tool abstractions without registering concrete tool suites.

Keep aggregate setup, enrollment UI, and remote tool products limited to approved development builds. Review iOS Security before choosing a distributable-build package layout.