-
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
Conversation
@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.
@swift-ci test windows |
…talogs as Sources
70ec07d
to
0006fd6
Compare
@swift-ci test |
@swift-ci please test windows |
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
Packages that include String Catalogs.
rdar://147474472
Change is already tested and in use within Xcode.
Unit tests added here, plus usage within Xcode.