If I convert my SPM from .strings
to .xcstrings
it will fail to build when using swift build
. It builds from Xcode 15. My UI code uses bundle: .module
so the localized strings are found properly. See https://github.com/bolsinga/site/pull/685 for the change (as well as the action log).
Does SPM build somehow not know that .xcstrings
in a Resource directory make the build a "bundle build"?
I filed FB13261704
Thanks!
See https://github.com/apple/swift-package-manager/issues/6993 At least I found a workaround. xcstrings no longer need the "en.lproj" directory, and it appears maybe SPM is looking for that. If I add a "fake" file in that directory it will build!