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

Dependency's platformFilter feature should support other platforms other than iOS and macOS #1509

Open
ikesyo opened this issue Oct 3, 2024 · 1 comment

Comments

@ikesyo
Copy link
Contributor

ikesyo commented Oct 3, 2024

Since Xcode 14, multi-platform targets are supported not only for iOS and macOS (Mac Catalyst) but for watchOS, tvOS and visionOS additionally.

https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes

Xcode 14 enables a single target to support multiple platforms and conditionally include dependencies, code, resources, and build settings for specific platforms. (74664328)

So the feature should not be limited to Mac Catalyst and should be updated to support other platforms.

  • - [ ] **platformFilter**: **String** - This field is specific to Mac Catalyst. It corresponds to the "Platforms" dropdown in the Frameworks & Libraries section of Target settings in Xcode. Available options are: **iOS**, **macOS** and **all**. Defaults is **all**.
  • public enum PlatformFilter: String, Equatable {
    case all
    case iOS
    case macOS
    }
@ikesyo ikesyo changed the title platformFilter feature should support other platforms other than iOS and macOS DependencyplatformFilter feature should support other platforms other than iOS and macOS Oct 3, 2024
@ikesyo ikesyo changed the title DependencyplatformFilter feature should support other platforms other than iOS and macOS Dependency's platformFilter feature should support other platforms other than iOS and macOS Oct 3, 2024
@Dahlgren
Copy link
Contributor

destinationFilters is the newer one for Xcode 14+ with support for all platforms, use that instead of platformFilter

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

No branches or pull requests

2 participants