-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Support String Catalog symbol generation by adding String Catalogs as both Sources and Resources #8815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release/6.2
Are you sure you want to change the base?
Conversation
…talogs as Sources
@swift-ci please test |
Will fail in CI until SwiftBuild portion lands via swiftlang/swift-build#582 |
Thanks for this change, but would it be possible to add, or enabled, one or more automated tests that would validate the SwiftPM behaviour? |
It would be the same as the Asset Catalog logic on the lines above. Are there existing tests for these code paths somewhere that it would make sense to add to? |
@swift-ci please test |
@swift-ci test |
Added tests in |
@@ -2216,15 +2222,15 @@ final class PIFBuilderTests: XCTestCase { | |||
Manifest.createRootManifest( | |||
displayName: "Foo", | |||
path: "/Foo", | |||
toolsVersion: .v5_3, | |||
toolsVersion: .v5_9, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bumped to the first tools version that supports xcstrings
at all.
This change adds support for String Catalog symbol generation by ensuring that String Catalogs get added to the Sources build phase in the same way that Asset Catalogs do.
Depends on: swiftlang/swift-build#582