Skip to content

iOS is declared in Package.swift but FormatoCore does not build for iOS #27

Closed

Description

@Paullo9

Found while working on mac4DSTEM/SpectroKit#19 (2026-10-28).

Package.swift declares .iOS(.v18), but xcodebuild -scheme <package> -destination generic/platform=iOS build (run from SpectroKit, which depends on FormatoKit 0.7.0) fails:

Sources/FormatoCore/GuardedXML.swift:77:51: error: cannot find type 'XMLDocument' in scope

XMLDocument is macOS-only Foundation. Either drop the iOS platform line, or gate the XML path with #if os(macOS) and build iOS in CI. SpectroKit is dropping its own iOS claim (#17), since it cannot build for iOS until this is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions