Skip to content

Fix Package.swift deprecation warnings (package(name:url:from:), revision)#589

Closed
BerkeleyDude wants to merge 1 commit intogoogle:mainfrom
BerkeleyDude:fix-package-swift-deprecations
Closed

Fix Package.swift deprecation warnings (package(name:url:from:), revision)#589
BerkeleyDude wants to merge 1 commit intogoogle:mainfrom
BerkeleyDude:fix-package-swift-deprecations

Conversation

@BerkeleyDude
Copy link

Updates Package.swift to use non-deprecated Swift Package Manager APIs:

  • Replace .package(name:url:from:) with .package(url:from:) (identity derived from URL).
  • Replace .package(name:url:.revision(...)) with .package(url:..., revision: "...").
  • Update target package: references to use URL-derived identities: AppAuth-iOS, app-check, gtm-session-fetcher (others unchanged).

Resolves the deprecation warnings when resolving/building with recent Swift toolchains (Swift 6 / Xcode 16+).

Made with Cursor

…vision

Co-authored-by: Cursor <cursoragent@cursor.com>
@google-cla
Copy link

google-cla bot commented Feb 21, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@ImanMahmoudinasab
Copy link

Thanks @BerkeleyDude ❤️ , this will resolve #576

@w-goog w-goog requested a review from mdmathias March 5, 2026 21:32
@w-goog
Copy link
Contributor

w-goog commented Mar 5, 2026

@mdmathias, this LGTM. It implies "dropping" support for Swift 5.1, but I think some of the SwiftUI bits in the GSI button are already 5.2+.

@w-goog
Copy link
Contributor

w-goog commented Mar 5, 2026

@BerkeleyDude - You'll need to take care of the CLA before we can submit this PR :)

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@w-goog
Copy link
Contributor

w-goog commented Mar 5, 2026

We're going to submit #579 instead, because I think getting Cursor to sign the CLA will be....tough 😅

@w-goog w-goog closed this Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants