Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-14949] Xcode warns about unhandled files when using SPM target sources parameter #4400

Open
neonichu opened this issue Jul 21, 2021 · 0 comments

Comments

@neonichu
Copy link
Member

Previous ID SR-14949
Radar rdar://69567306
Original Reporter @neonichu
Type Improvement

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Improvement
Assignee None
Priority Medium

md5: 652fcec8ca934a82f54e6241025cffaf

Issue Description:

  • DESCRIPTION:
    If I load an SPM package into Xcode that includes a target that uses the `sources` parameter to define where to find source files any files that are inside the path for the target but not inside any of the sources folders are considered unhandled.
  • OTHER INFORMATION:

Please list the steps you took to reproduce the issue:
Open the Package.swift from the attached project and view the error messages.

What did you expect to happen?
Given I have told the target where to look for files via the `sources` parameter it shouldn't be warning about files outside of those folders.

What actually happened?
I get the warning “found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target”.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants