You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This library's Package.swift file is currently using the .exact(…) enum rather than the exact: parameter. The former is deprecated, and this causes warning output in adopting libraries.
Environment
Platform:
SDK version:
StoreKit version:
StoreKit 1 (default on versions <5.0.0. Can be enabled in versions >=5.0.0 with .with(storeKitVersion: .storeKit1))
StoreKit 2 (default on versions >=5.0.0)
OS version: any
Xcode version: Xcode 14 and later (could be 13, not sure)
Device and/or simulator:
Device
Simulator
Environment:
Sandbox
TestFlight
Production
How widespread is the issue. Percentage of devices affected.
Debug logs that reproduce the issue. Complete logs with Purchases.logLevel = .verbose will help us debug this issue.
warning: 'purchases-ios-spm': /Users/dfed/source/apple/Apps/.build/checkouts/purchases-ios-spm/Package.swift:20:26: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
18 | // Versions 1.4.0 and 1.4.1 are failing to compile, so we are pinning it to 1.3.0 for now
19 | // https://github.com/RevenueCat/purchases-ios/pull/4216
20 | dependencies.append(.package(url: "https://github.com/apple/swift-docc-plugin", .exact("1.3.0")))
| `- warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
21 | }
22 |
Steps to reproduce, with a description of expected vs. actual behavior
Describe the bug
This library's Package.swift file is currently using the
.exact(…)
enum rather than theexact:
parameter. The former is deprecated, and this causes warning output in adopting libraries..with(storeKitVersion: .storeKit1)
)Purchases.logLevel = .verbose
will help us debug this issue.Add Purchases-iOS (or Purchases-iOS-SPM) dependency. Resolve packages.
Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
deprecate name attribute on package dependencies swiftlang/swift-package-manager#3641
Additional context
PRs are out to solve this issue:
Use exact: rather than .exact(…) #4276
Use exact: rather than .exact(…) purchases-ios-spm#8
The text was updated successfully, but these errors were encountered: