Executable formats
XCFramework declared target coverage
Compare explicit platform, variant and architecture requests with ordered library declarations.
Your inputs
Start with an exampleYour result
Example resultHow it works
Match exact platform, optional variant and architecture strings. Retain every matching declaration and show the first in source order under SwiftPM’s metadata predicate. Keep device and simulator tuples separate.
The two arm64 requests select different iOS device and simulator records. A device x86_64 request remains uncovered even though a simulator record advertises x86_64.
Limits
Converted plist declarations only: 1 MB of data, 5000 libraries/targets, 50000 architecture tokens, 2 million comparisons and a 2 MB report. Paths stay opaque. No binary/XML plist, target-triple/alias mapping, Mach-O slice checks, SDK/signature/headers/module/file checks, universal binary or build verdict. This models SwiftPM’s supplied tuple predicate; CMake and other consumers can select differently.