Skip to content

Commit ee4e5b4

Browse files
Merge pull request #203 from segmentio/add-spm-support-plugins
feat: added SPM support to idfa plugin
2 parents df577c0 + 32141c2 commit ee4e5b4

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// swift-tools-version: 5.9
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "segment_analytics_plugin_idfa",
8+
platforms: [
9+
.iOS("12.0"),
10+
],
11+
products: [
12+
.library(name: "segment-analytics-plugin-idfa", type: .static, targets: ["segment_analytics_plugin_idfa"])
13+
],
14+
targets: [
15+
.target(
16+
name: "segment_analytics_plugin_idfa",
17+
dependencies: [],
18+
path: "Classes",
19+
linkerSettings: [
20+
.linkedFramework("Flutter", .when(platforms: [.iOS])),
21+
.linkedFramework("AdSupport", .when(platforms: [.iOS])),
22+
.linkedFramework("AppTrackingTransparency", .when(platforms: [.iOS])),
23+
]
24+
)
25+
]
26+
)

0 commit comments

Comments
 (0)