LocalizedTimeAgo icon indicating copy to clipboard operation
LocalizedTimeAgo copied to clipboard

Swift package localized resources

Open ejensen opened this issue 3 years ago • 0 comments

This change updates the Swift package definition to support localized resources. This was done by following Apple's Localizing Package Resources article.

The pod spec has been updated to generate the resource bundle rather than using a pre-built bundle. The pre-built bundle is not recommended in CocoaPods:

For building the Pod as a static library, we strongly recommend library developers to adopt resource bundles as there can be name collisions using the resources attribute. Moreover, resources specified with this attribute are copied directly to the client target and therefore they are not optimised by Xcode.

ejensen avatar Feb 27 '22 17:02 ejensen