Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version #11

Closed
tiwoc opened this issue Nov 27, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@tiwoc
Copy link

tiwoc commented Nov 27, 2024

When resolving package versions in an SPM project that depends on analytics-connector-ios (via Amplitude-iOS), I'm seeing these warnings:

warning: 'analytics-connector-ios': /[email protected]:9:15: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 7 |     name: "analytics-connector-ios",
 8 |     platforms: [
 9 |         .iOS(.v10),
   |               `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
10 |         .macOS(.v10_13),
11 |         .tvOS(.v9),

/[email protected]:11:16: warning: 'v9' is deprecated: tvOS 12.0 is the oldest supported version
 9 |         .iOS(.v10),
10 |         .macOS(.v10_13),
11 |         .tvOS(.v9),
   |                `- warning: 'v9' is deprecated: tvOS 12.0 is the oldest supported version
12 |         .watchOS(.v3),
13 |         .visionOS(.v1),

/[email protected]:12:19: warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version
10 |         .macOS(.v10_13),
11 |         .tvOS(.v9),
12 |         .watchOS(.v3),
   |                   `- warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version
13 |         .visionOS(.v1),
14 |     ],

It looks like the minimum versions for iOS, tvOS, and watchOS in [email protected] need to be bumped to the minimum versions supported by Xcode 16 to get rid of these warnings. It's not blocking the build though.

  • Command: swift package resolve
  • Xcode 16.1 (16B40)
@sojingle sojingle added the bug Something isn't working label Nov 27, 2024
@sojingle
Copy link
Collaborator

Hi, @tiwoc. Thank you for the feedback!

This warning was fixed in 1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants