Today, if you wanted to build or test a package on iOS, you could generate a xcodeproj via swift package generate-xcodeproj and test via xcodebuild.
However, once you start using the new Resources feature, this breaks. It doesn't look like the generated xcodeproj is set up to copy resource bundles or generate the resource_bundle_accessor.swift source.
Here's a reproducible case using the Fruta sample code.
However, once you start using the new Resources feature, this breaks. It doesn't look like the generated xcodeproj is set up to copy resource bundles or generate the resource_bundle_accessor.swift source.
Here's a reproducible case using the Fruta sample code.
Code Block $ cd Packages/NutritionFacts $ swift package generate-xcodeproj $ xcodebuild build -sdk iphoneos error: type 'Bundle?' has no member 'module' Text("\(kilocalories) Calories", bundle: .module)