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-13184] PackageManager sees folders containing dots in the name as resource files #4527

Open
swift-ci opened this issue Jul 9, 2020 · 0 comments
Labels

Comments

@swift-ci
Copy link
Contributor

swift-ci commented Jul 9, 2020

Previous ID SR-13184
Radar None
Original Reporter EpilepticKoala (JIRA User)
Type Bug

Attachment: Download

Environment

Xcode 12 beta 2 (12A6163b)

Swift Tools 5.3

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

md5: 2e7ffff0fca5f3611f00e60a25f9e023

Issue Description:

Create a Swift Package using

```
swift-tools-version:5.3

```

Add a folder that contains a dot in the name, e.g. "Sample-1.0.0".

Optionally add source files to it.

Expectation:

Package can be built.

Actual:

Package loading fails (at least in Xcode) with:

: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
<Project Path>/Sample-1.0.0

**It seems like the package manager mistakenly sees the folder as a file.

I attached a sample project that showcases the issue.

@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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants