Skip to content

Comments

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

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

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

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.

2 participants