Skip to content

Commit 197d23b

Browse files
kkarlsen06w-goog
andauthored
Fix Swift Package Manager deprecation warnings (#579)
Co-authored-by: w-goog <115107835+w-goog@users.noreply.github.com>
1 parent 7d91611 commit 197d23b

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

Package.swift

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,39 +42,33 @@ let package = Package(
4242
],
4343
dependencies: [
4444
.package(
45-
name: "AppAuth",
4645
url: "https://github.com/openid/AppAuth-iOS.git",
4746
from: "2.0.0"),
4847
.package(
49-
name: "AppCheck",
5048
url: "https://github.com/google/app-check.git",
5149
from: "11.0.0"),
5250
.package(
53-
name: "GTMAppAuth",
5451
url: "https://github.com/google/GTMAppAuth.git",
5552
from: "5.0.0"),
5653
.package(
57-
name: "GTMSessionFetcher",
5854
url: "https://github.com/google/gtm-session-fetcher.git",
5955
from: "3.3.0"),
6056
.package(
61-
name: "OCMock",
6257
url: "https://github.com/firebase/ocmock.git",
63-
.revision("7291762d3551c5c7e31c49cce40a0e391a52e889")),
58+
revision: "7291762d3551c5c7e31c49cce40a0e391a52e889"),
6459
.package(
65-
name: "GoogleUtilities",
6660
url: "https://github.com/google/GoogleUtilities.git",
6761
from: "8.0.0"),
6862
],
6963
targets: [
7064
.target(
7165
name: "GoogleSignIn",
7266
dependencies: [
73-
.product(name: "AppAuth", package: "AppAuth"),
74-
.product(name: "AppAuthCore", package: "AppAuth"),
75-
.product(name: "AppCheckCore", package: "AppCheck"),
67+
.product(name: "AppAuth", package: "AppAuth-iOS"),
68+
.product(name: "AppAuthCore", package: "AppAuth-iOS"),
69+
.product(name: "AppCheckCore", package: "app-check"),
7670
.product(name: "GTMAppAuth", package: "GTMAppAuth"),
77-
.product(name: "GTMSessionFetcherCore", package: "GTMSessionFetcher"),
71+
.product(name: "GTMSessionFetcherCore", package: "gtm-session-fetcher"),
7872
],
7973
path: "GoogleSignIn/Sources",
8074
resources: [
@@ -110,11 +104,11 @@ let package = Package(
110104
name: "GoogleSignIn-UnitTests",
111105
dependencies: [
112106
"GoogleSignIn",
113-
"OCMock",
114-
.product(name: "AppAuth", package: "AppAuth"),
115-
.product(name: "AppCheckCore", package: "AppCheck"),
107+
.product(name: "OCMock", package: "ocmock"),
108+
.product(name: "AppAuth", package: "AppAuth-iOS"),
109+
.product(name: "AppCheckCore", package: "app-check"),
116110
.product(name: "GTMAppAuth", package: "GTMAppAuth"),
117-
.product(name: "GTMSessionFetcherCore", package: "GTMSessionFetcher"),
111+
.product(name: "GTMSessionFetcherCore", package: "gtm-session-fetcher"),
118112
.product(name: "GULMethodSwizzler", package: "GoogleUtilities"),
119113
.product(name: "GULSwizzlerTestHelpers", package: "GoogleUtilities"),
120114
],

0 commit comments

Comments
 (0)