I'm trying to update one project to use the new Resources support, and I'm not sure if this is a case of I'm holding it wrong or something else.
https://github.com/google/gtm-session-fetcher is ObjC code, but we have a basic SwiftPM package. The tests need some resources, so it was hot-wired in the code to work around things, but I made an attempt to things over. If I open the
Package.swift in Xcode 12, then the tests seem to build/pass; but if I try to use
swift test on the command line, then
SWIFTPM_MODULE_BUNDLE seems to always be returning me
nil. I'm assuming there shouldn't be a difference in behavior for this case, do I have something configured wrong?