Same here - still an issue with Xcode 12.3... 😕
Luckily we already had a fallback to Zip for pre-iOS 14 devices, which we're now also using when building against the simulator (using #if targetEnvironment(simulator)).
Filed as FB8964166.
Post
Replies
Boosts
Views
Activity
Just for reference, the issue is discussed in more detail here: https://forums.swift.org/t/swift-5-3-spm-resources-in-tests-uses-wrong-bundle-path/37051/6
There is also a bug report here: https://bugs.swift.org/browse/SR-12912
I'm having the same problem. Interestingly, things work fine if the package is built and tested with Xcode. However, running swift test on the terminal fails.