Skip to content

Xcode 26.2: SwiftPM dependency-scan warnings ('WhisperKit' missing dependency on Tokenizers/Hub/...) #408

@atlascodesai

Description

@atlascodesai

Environment

  • Xcode 26.2 (Build 17C52)
  • macOS 26.2 (Build 25C56)
  • Building from an Xcode project that pulls WhisperKit via SwiftPM

WhisperKit revision

  • main @ 0a064c3 (from Package.resolved)

What happens
On a clean build, Xcode emits SwiftPM dependency-scan warnings like:

warning: 'WhisperKit' is missing a dependency on 'TensorUtils' because dependency scan of Swift module 'WhisperKit' discovered a dependency on 'TensorUtils'
warning: 'WhisperKit' is missing a dependency on 'Tokenizers' because dependency scan of Swift module 'WhisperKit' discovered a dependency on 'Tokenizers'
warning: 'WhisperKit' is missing a dependency on 'InternalCollectionsUtilities' because dependency scan of Swift module 'WhisperKit' discovered a dependency on 'InternalCollectionsUtilities'
warning: 'WhisperKit' is missing a dependency on 'OrderedCollections' because dependency scan of Swift module 'WhisperKit' discovered a dependency on 'OrderedCollections'
warning: 'WhisperKit' is missing a dependency on 'Jinja' because dependency scan of Swift module 'WhisperKit' discovered a dependency on 'Jinja'
warning: 'WhisperKit' is missing a dependency on 'Hub' because dependency scan of Swift module 'WhisperKit' discovered a dependency on 'Hub'

(Those warnings repeat multiple times per build; seen on both macOS and iOS Simulator builds.)

Repro

  • Build any Xcode project that depends on WhisperKit at the revision above.
  • For example (from my app project):
    • xcodebuild -project "Local AI Chat.xcodeproj" -scheme "Seek Deep Local AI" -destination "generic/platform=macOS" -derivedDataPath /tmp/LocalAIChat-DD-macOS -quiet clean build
    • xcodebuild -project "Local AI Chat.xcodeproj" -scheme "Seek Deep Local AI" -destination "generic/platform=iOS Simulator" -derivedDataPath /tmp/LocalAIChat-DD-iOS -quiet clean build

Question
Is WhisperKit intentionally relying on these modules as transitive dependencies, and if not, would you accept a PR to add them explicitly to the relevant target dependencies in Package.swift to satisfy Xcode's dependency scan?

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