Skip to content

Commit b6b213c

Browse files
committed
Add basic Swift package manifest
1 parent 26e5711 commit b6b213c

File tree

2 files changed

+129
-0
lines changed

2 files changed

+129
-0
lines changed

Package.resolved

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"object": {
3+
"pins": [
4+
{
5+
"package": "abseil",
6+
"repositoryURL": "https://github.com/firebase/abseil-cpp-SwiftPM.git",
7+
"state": {
8+
"branch": null,
9+
"revision": "05d8107f2971a37e6c77245b7c4c6b0a7e97bc99",
10+
"version": "0.20200225.0"
11+
}
12+
},
13+
{
14+
"package": "Segment",
15+
"repositoryURL": "https://github.com/segmentio/analytics-ios.git",
16+
"state": {
17+
"branch": null,
18+
"revision": "fb56c304db5b5c2248f03f7a814cdc097b71f94a",
19+
"version": "4.1.3"
20+
}
21+
},
22+
{
23+
"package": "BoringSSL-GRPC",
24+
"repositoryURL": "https://github.com/firebase/boringssl-SwiftPM.git",
25+
"state": {
26+
"branch": null,
27+
"revision": "7bcafa2660bc58715c39637494550d1ed7cd7229",
28+
"version": "0.0.7"
29+
}
30+
},
31+
{
32+
"package": "Firebase",
33+
"repositoryURL": "https://github.com/firebase/firebase-ios-sdk.git",
34+
"state": {
35+
"branch": null,
36+
"revision": "a8d209a86090fdf6d2087ae6a001d5e3ecaa5ba9",
37+
"version": "7.5.0"
38+
}
39+
},
40+
{
41+
"package": "GoogleAppMeasurement",
42+
"repositoryURL": "https://github.com/google/GoogleAppMeasurement.git",
43+
"state": {
44+
"branch": null,
45+
"revision": "58ae309ad8e3b198e2d9fde648b50f09ce9aba7a",
46+
"version": "7.5.0"
47+
}
48+
},
49+
{
50+
"package": "GoogleUtilities",
51+
"repositoryURL": "https://github.com/google/GoogleUtilities.git",
52+
"state": {
53+
"branch": null,
54+
"revision": "7fa255f7b57ac2b79effa56652ed693002d4fb01",
55+
"version": "7.2.0"
56+
}
57+
},
58+
{
59+
"package": "gRPC",
60+
"repositoryURL": "https://github.com/firebase/grpc-SwiftPM.git",
61+
"state": {
62+
"branch": null,
63+
"revision": "91b62619e6c83bc5f1b99d9d60fe46b2862d3a5a",
64+
"version": "1.28.2"
65+
}
66+
},
67+
{
68+
"package": "GTMSessionFetcher",
69+
"repositoryURL": "https://github.com/google/gtm-session-fetcher.git",
70+
"state": {
71+
"branch": null,
72+
"revision": "91ed3d188eb95705fef3c249453b81f32dc557d1",
73+
"version": "1.5.0"
74+
}
75+
},
76+
{
77+
"package": "leveldb",
78+
"repositoryURL": "https://github.com/firebase/leveldb.git",
79+
"state": {
80+
"branch": null,
81+
"revision": "fa1f25f296a766e5a789c4dacd4798dea798b2c2",
82+
"version": "1.22.1"
83+
}
84+
},
85+
{
86+
"package": "nanopb",
87+
"repositoryURL": "https://github.com/firebase/nanopb.git",
88+
"state": {
89+
"branch": null,
90+
"revision": "c2d43e59d8ec880ed261366818f0cacc5c8cc2e6",
91+
"version": "2.30907.0"
92+
}
93+
},
94+
{
95+
"package": "Promises",
96+
"repositoryURL": "https://github.com/google/promises.git",
97+
"state": {
98+
"branch": null,
99+
"revision": "afa9a1ace74e116848d4f743599ab83e584ff8cb",
100+
"version": "1.2.12"
101+
}
102+
}
103+
]
104+
},
105+
"version": 1
106+
}

Package.swift

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// swift-tools-version:5.3
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "SegmentFirebase",
6+
platforms: [.macOS(.v10_10), .iOS(.v8)],
7+
products: [.library(name: "SegmentFirebase", targets: ["SegmentFirebase"])],
8+
dependencies: [
9+
.package(name: "Segment", url: "https://github.com/segmentio/analytics-ios.git", from: "4.1.2"),
10+
.package(name: "Firebase", url: "https://github.com/firebase/firebase-ios-sdk.git", from: "7.5.0"),
11+
],
12+
targets: [
13+
.target(
14+
name: "SegmentFirebase",
15+
dependencies: [
16+
"Segment",
17+
.product(name: "FirebaseAnalytics", package: "Firebase"),
18+
],
19+
path: "Segment-Firebase/Classes",
20+
publicHeadersPath: "include"
21+
)
22+
]
23+
)

0 commit comments

Comments
 (0)