-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
34 lines (32 loc) · 1.53 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "inarix-ios-sdk",
platforms: [.iOS(.v16)],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "inarix-ios-sdk",
targets: ["inarix-ios-sdk"]),
],
dependencies: [
// Add dependencies if your SDK uses other packages.
.package(url: "https://github.com/newrelic/newrelic-ios-agent-spm.git", branch: "main"),
.package(url: "https://github.com/PostHog/posthog-ios.git", from: "3.0.0"),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "inarix-ios-sdk",
dependencies: [
.product(name: "NewRelic", package: "newrelic-ios-agent-spm"),
.product(name: "PostHog", package: "posthog-ios"),
.target(name: "InarixSDK"),
]),
.binaryTarget(name: "InarixSDK", url: "https://storage.googleapis.com/prod-inarix-public/dev/InarixSDK_v0.2.2-alpha.xcframework.zip", checksum: "54899ca1924f2a0f15655b092766ee5fbecde5f12dc7ee601a0d0a4845a94a64"),
.testTarget(
name: "inarix-ios-sdkTests",
dependencies: ["inarix-ios-sdk"]),
])