Skip to content

[SR-13560] swiftpm: SWIFTPM_MODULE_BUNDLE returning nil #4500

Closed
@thomasvl

Description

@thomasvl
Previous ID SR-13560
Radar rdar://problem/69090207
Original Reporter @thomasvl
Type Bug
Additional Detail from JIRA
Votes 5
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 54f1a590f07af2575ba60b5ea19e1321

is duplicated by:

  • SR-13714 'Swift test' fails when including package resources

Issue Description:

An all ObjC package is getting nil from SWIFTPM_MODULE_BUNDLE when using swift test, but if the Package.swift is directly opened in Xcode 12, then the tests pass as the bundle is returned.

Project: https://github.com/google/gtm-session-fetcher
Commit attempt to move the 5.3 Resource support: thomasvl/gtm-session-fetcher@f38d107

Raised in https://forums.swift.org/t/5-3-resources-support-not-working-on-with-swift-test/40381

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions