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

Add a minimum macOS version that matches the SnapshotTesting dependency #225

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

jmesmith
Copy link
Collaborator

The SnapshotTesting dependency specifies 10.15 as the minimum version. Even though this library doesn't support macOS, it's helpful to specify one that's compatible with its dependencies so it can be consumed in mixed-platform packages. Today, if a mixed iOS/macOS package depends on AccessibilitySnapshot, SPM emits an error:

error: the library 'AccessibilitySnapshot' requires macos 10.13, but depends on the product 'SnapshotTesting' which requires macos 10.15;
consider changing the library 'AccessibilitySnapshot' to require macos 10.15 or later, or the product 'SnapshotTesting' to require macos 10.13 or earlier.

The SnapshotTesting dependency specifies 10.15 as the minimum version. Even though this library doesn't support macOS, it's helpful to specify one so it can be consumed in mixed-platform packages. Today, if a mixed iOS/macOS package depends on AccessibilitySnapshot, SPM emits an error: "error: the library 'AccessibilitySnapshot' requires macos 10.13, but depends on the product 'SnapshotTesting' which requires macos 10.15; consider changing the library 'AccessibilitySnapshot' to require macos 10.15 or later, or the product 'SnapshotTesting' to require macos 10.13 or earlier."
@jmesmith jmesmith merged commit e527ccc into master Nov 11, 2024
7 checks passed
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.

3 participants