SwiftDate: RelativeFormatters don't work with Swift Package Manager
This is a side effect of Swift Package Manager not working with bundled resources. So, the Formatters/RelativeFormatter/langs/ various json files aren’t included and therefore aren’t accessible when using Swift Package Manager.
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 2
- Comments: 15 (7 by maintainers)
for now you can add new build phase at the end
Maybe it would be possible to bring these language mappings into the swift code so that it would work properly with Swift Package Manager?
at least it should not crash 😃 ATM it crashing in
suitableFlavourlocaleData.flavours[Flavour.long.rawValue].