-
Notifications
You must be signed in to change notification settings - Fork 501
Open
Description
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 buildxcodebuild -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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels