OwlMetry
SDKsSwift SDK

Installation

Add the OwlMetry Swift SDK to your project via Swift Package Manager.

The OwlMetry Swift SDK is distributed as a Swift Package. It has zero external dependencies.

  1. Open your project in Xcode.
  2. Go to File > Add Package Dependencies.
  3. Enter the repository URL:
    https://github.com/Jasonvdb/owlmetry.git
  4. Set the dependency rule to Branch and enter main.
  5. Click Add Package.
  6. Select the OwlMetry library and add it to your app target.

Package.swift

If you manage dependencies through a Package.swift file, add OwlMetry to the dependencies array:

dependencies: [
    .package(url: "https://github.com/Jasonvdb/owlmetry.git", branch: "main")
]

Then add the product to your target's dependencies:

.target(
    name: "YourApp",
    dependencies: [
        .product(name: "OwlMetry", package: "owlmetry")
    ]
)

Verify the Installation

Build your project and confirm the import compiles without errors:

import OwlMetry

If you see a "No such module 'OwlMetry'" error in your editor, this is a known SourceKit issue -- the error should resolve when you perform an actual build with Xcode or xcodebuild.

Requirements

PlatformMinimum Version
iOS16.0
iPadOS16.0
macOS13.0

Next Steps

Once the package is added and your project builds, proceed to Configuration to initialize the SDK.

Ready to get started?

Install the CLI and let your agent handle the rest.