You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple Swift version 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29)
Target: x86_64-apple-darwin19.4.0
macOS Catalina 10.15.4
Additional Detail from JIRA
Votes
0
Component/s
Package Manager
Labels
Bug
Assignee
None
Priority
Medium
md5: 487b7242243c8ea9de432ca33ffce4f7
Issue Description:
If I have a SPM target with a custom path and the specified array of sources, prior to Swift 5.2 it was possible to add files outside of that path, like this: .target(
{{ name:"DemoTarget",}}
{{ dependencies: [],}}
{{ path:"Foo",}}
{{ sources: [}}
{{ "Dummy.swift",}}
{{ "../Bar/FileOutsidePath.swift" // file in question}}
{{ ]}} )
Now with Swift 5.2. this is not possible anymore and the file in question is not included in the target.
Attachment: Download
Environment
Apple Swift version 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29)
Target: x86_64-apple-darwin19.4.0
macOS Catalina 10.15.4
Additional Detail from JIRA
md5: 487b7242243c8ea9de432ca33ffce4f7
Issue Description:
If I have a SPM target with a custom path and the specified array of sources, prior to Swift 5.2 it was possible to add files outside of that path, like this:
.target(
{{ name:"DemoTarget",}}
{{ dependencies: [],}}
{{ path:"Foo",}}
{{ sources: [}}
{{ "Dummy.swift",}}
{{ "../Bar/FileOutsidePath.swift" // file in question}}
{{ ]}}
)
Now with Swift 5.2. this is not possible anymore and the file in question is not included in the target.
I pinned down the error in a minimal setup under https://github.com/rikner/c-swift-demo
The text was updated successfully, but these errors were encountered: