Installation
Add the Lander Swift package to your iOS app with Swift Package Manager.
Check your toolchain
The SDK needs iOS 15.0 or newer and Xcode 16 or newer (its package manifest uses Swift tools version 6.0). It has no dependencies of its own.
If your app's deployment target is lower than iOS 15.0, raise it first: select your app target in Xcode, then General and set Minimum Deployments to iOS 15.0.
Add the package
In Xcode, choose File > Add Package Dependencies..., paste the repository URL and add the Lander library to your app target:
https://github.com/SwiftwareIO/lander_iosChoose Up to Next Major Version from 0.1.0.
If your app is itself a Swift package (or you manage dependencies in a Package.swift), add it there:
dependencies: [
.package(url: "https://github.com/SwiftwareIO/lander_ios", from: "0.1.0"),
],
targets: [
.target(
name: "AcmeShop",
dependencies: [.product(name: "Lander", package: "lander_ios")]
),
]The current release is 0.1.0. The standalone iOS SDK is not published to CocoaPods trunk; use the Swift package above.
Source and issues
The source is mirrored read only at github.com/SwiftwareIO/lander_ios. Report bugs on its issue tracker. The package is MIT licensed.
Import it
Everything comes from one module:
import LanderIt exports Lander, LanderLink, LanderShortLink, LanderParamValue, LanderConfidence, LanderError and LanderSubscription.
What the package adds for you
- A privacy manifest.
PrivacyInfo.xcprivacyships inside the package, so Xcode includes Lander's declarations in your app's privacy report. See Privacy. - Nothing else. No method swizzling, no app delegate proxies, no background modes, no Info.plist keys added for you. You hand links to Lander with one line per callback, so you always know what it sees.
You still need to tell iOS that your app owns your Lander link domain. That is the next step.