Replies: 1 comment 4 replies
-
I think you misunderstand the Package platform definition. The tool I'd also strongly recommend not using SwiftGenKit for "checking" at runtime if your strings files or other resources are OK. You should be checking all of this at build-time, not run-time. There are dedicated tools for checking your strings files, such as POEditor (online platform), or local tools such as BartyCrouch. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to write some localization tests to ensure that our pluralization files have the same placeholders as our base localization. I would like to use the parsers provided in
SwiftGenKit
but currently theSwiftGen
package is only available onmacOS 10.11
or later. I see two potential solutions:import AppKit
toimport CoreText
or adding a type alias forNSColor
.SwiftGenCLI
andswiftgen
to the additional platforms, which may create more availability checks throughout the codeSwiftGenKit
Beta Was this translation helpful? Give feedback.
All reactions