google / google/GoogleSignIn-iOS

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

Đang mở
#588 1 bình luận 5 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Objective-C
Star
750
Fork
282
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
9

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.