google / google/GoogleSignIn-iOS

Package.swift: fix deprecation warnings (package(name:url:from:), revision)

Open
#588 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
750
Forks
282
Avg merge
2d 15h
Merged PRs (30d)
9

Description

When resolving or building with a recent Swift toolchain, `Package.swift` triggers deprecation warnings:

- `package(name:url:from:)` is deprecated: use `package(url:from:)` instead
- `package(name:url:_:)` with `.revision` / `revision` is deprecated: use specific requirement APIs

Please update the dependency declarations in `Package.swift` to the non-deprecated SPM APIs so the package builds without warnings.

Seen on Swift 6 / Xcode 16+ with GoogleSignIn-iOS 9.1.0.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.