You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like .language(en) should be .language("en") instead.
My guess is that LocaleReference+Generator.swift line 18 should be: return ".language(\"\(string)\")" instead of return ".language(\(string))"
AppIntentVocabulary is a localized file without a Base Localization. Adding Base Localization to the file does not fix the issue for me since the generated code still contains .language(en) instead of .base
The text was updated successfully, but these errors were encountered:
I updated to Swift 7.2.0 and added Rswift as a Xcode Plugin. Code generation seems to work however the generated code does not compile.
Xcode complains:
Cannot find 'en' in scope
in the following line:var appIntentVocabularyPlist: RswiftResources.FileResource { .init(name: "AppIntentVocabulary", pathExtension: "plist", bundle: bundle, locale: .language(en)) }
It seems like
.language(en)
should be.language("en")
instead.My guess is that LocaleReference+Generator.swift line 18 should be:
return ".language(\"\(string)\")"
instead ofreturn ".language(\(string))"
AppIntentVocabulary is a localized file without a Base Localization. Adding Base Localization to the file does not fix the issue for me since the generated code still contains
.language(en)
instead of.base
The text was updated successfully, but these errors were encountered: