Skip to content

Conversation

@klaaspieter
Copy link

When including DeviceKit as a dependency SPM warns about unhandled files:

warning: 'devicekit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/kp/Developer/clones/DeviceKit/Tests/Info.plist
warning: 'devicekit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/kp/Developer/clones/DeviceKit/Source/Device.swift.gyb

When including DeviceKit as a dependency SPM warns about unhandled files:

warning: 'devicekit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/kp/Developer/clones/DeviceKit/Tests/Info.plist
warning: 'devicekit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/kp/Developer/clones/DeviceKit/Source/Device.swift.gyb
@Zandor300 Zandor300 requested review from Zandor300 and Copilot and removed request for Zandor300 February 4, 2026 06:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the SwiftPM manifest to explicitly exclude non-source files that SPM previously warned as "unhandled" when consuming DeviceKit as a dependency.

Changes:

  • Exclude Info.plist and Device.swift.gyb from the main DeviceKit target so they are no longer reported as unhandled files.
  • Exclude Info.plist from the DeviceKitTests test target to eliminate the corresponding SPM warning.

@klaaspieter
Copy link
Author

@Zandor300 anything I can do about the danger failure?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants