Hello!
We have some resources included as part of our test target like so:
.testTarget(
name: "MyProjectTests",
dependencies: ["MyProject"],
resources:
							[.process("Assets/Test_5s.mov")])
However, when running the following command:
swift package generate-xcodeproj the generated package does not include the assets. Additionally the code to access the resources won't compile because there is no auto-generated file to provide the 'module' extension for 'Bundle'.
Bundle.module.url(forResource: "Test_5s", withExtension: "mov")
results in a "Type 'Bundle' has no member 'module'" compilation error.
Is this a known issue, or am I approaching this incorrectly if I want to have a project for the package?
Currently using Xcode 12 beta 2
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Xcode
Beta
Swift Packages
Command Line Tools