-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Problem
the new diagnose-breaking-changes action introduced in #101 only seems to work with packages that can be compiled on/for macOS, but fails with packages that only list iOS in their deployment targets.
my guess is that the command internally uses swift build, whch always compiles the package for the current target platform, and as a result cannot compile iOS-only packages (or the iOS version of a multi-platform package; any iOS-related compilation still needs xcodebuild)
Solution
we should look into somehow making this work. there is no trivial flag we could pass to get it to compile for iOS rather than macOS, but in the worst case we'd probably be able to compile the old&new versions of the package ourselves, produce the API digest for both, and then somehow invoke swift api-digester -diagnose-sdk ourselves; though i don't know what the output from that would look like.
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct and Contributing Guidelines
Metadata
Metadata
Assignees
Labels
Type
Projects
Status