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-11584] Bundle.main doesn't give the right bundle path on linux #3285

Open
ankitspd opened this issue Oct 7, 2019 · 0 comments
Open

[SR-11584] Bundle.main doesn't give the right bundle path on linux #3285

ankitspd opened this issue Oct 7, 2019 · 0 comments

Comments

@ankitspd
Copy link
Member

ankitspd commented Oct 7, 2019

Previous ID SR-11584
Radar None
Original Reporter @aciidb0mb3r
Type Bug

Attachment: Download

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

md5: 92bef74e87ac89183c477613f8587174

Issue Description:

Run `swiftc -module-name pkg -emit-executable main.swift && ./pkg` on the attached zip and notice that it doesn't get the correct path of the bundle. It does work if I change it to `let bundle = Bundle(path: "pkg.resources")!`.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 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

1 participant