Post

Replies

Boosts

Views

Activity

Comment on Are Swift Packages supported by String Catalogs?
yes, that was helpful. Especially specifying which bundle. That however opens a bigger can of worms. ".module" often doesn't work. The way I expose Bundles of Packages to other packages is with this handy fix: https://forums.swift.org/t/swift-5-3-spm-resources-in-tests-uses-wrong-bundle-path/37051/36 and https://developer.apple.com/forums/thread/664295 Then you create a public extension on Bundle. All this still doesn't fully solve the task of one Module that 'vends' Strings.
Nov ’23
Comment on Are Swift Packages supported by String Catalogs?
yes, that was helpful. Especially specifying which bundle. That however opens a bigger can of worms. ".module" often doesn't work. The way I expose Bundles of Packages to other packages is with this handy fix: https://forums.swift.org/t/swift-5-3-spm-resources-in-tests-uses-wrong-bundle-path/37051/36 and https://developer.apple.com/forums/thread/664295 Then you create a public extension on Bundle. All this still doesn't fully solve the task of one Module that 'vends' Strings.
Replies
Boosts
Views
Activity
Nov ’23