Post

Replies

Boosts

Views

Activity

Are Swift Packages supported by String Catalogs?
Hello, do the String Catalogs (new in Xcode 15) support Swift Packages? I've tried adding a new Localizable.xcstrings (string catalog) file to my package's resources folder. Great! I then see this screen: All good so far. I then try to go and build my Swift Package... and nothing changes. The string catalog is never populated and I'm left with the same screen as above. So, do string catalogs not support packages at this time or am I doing something wrong? I was really hoping String Catalogs would work and save the day since Export Localizations also does not work for Swift packages that don't support macOS. 😔
7
0
3.0k
Jun ’23
DocC for custom LibraryItems not supported?
My SwiftUI framework makes use of custom LibraryItems. The default library items have generous amounts of documentation next to them: My views are somewhat complex and having similair documentation for them would be quite helpful. I've tried adding DocC style doc around my library item declarations but Xcode doesnt seem to pick it up and I get "No Details" instead: Is this not supported?
0
0
407
Apr ’23
Stop the Xcode Navigator sidebar switching from the Test Navigator to the Debug Navigator at the start of every new UI test
In previous Xcode builds, when running UI tests on my app, the Navigator sidebar would remain on the Test Navigator tab and it would be easy to track how many tests have ran/remain and which have passed/failed. Starting with Xcode 12.5 (and possibly earlier) at the start of each new UI test, the Navigator automatically switches to the Debug tab and I have to manually switch back to the Test tab after each test. How can I keep the Navigator locked to the "Test" tab for the entire duration of all my tests? Xcode 12.5
0
0
834
Jul ’21