Xcode 15.3 AppIntentsSSUTraining warning: missing the definition of locale # variables.1.definitions

Hello!

I've noticed that adding localizations for AppShortcuts triggers the following warnings in Xcode 15.3:

warning: missing the definition of zh-Hans # variables.1.definitions
warning: missing the definition of zh-Hans # variables.2.definitions

This occurs with both legacy strings files and String Catalogs.

Example project: https://github.com/gongzhang/AppShortcutsLocalizationWarningExample

Post not yet marked as solved Up vote post of Gong Down vote post of Gong
382 views

Replies

FB13682631

请不要清理你的build缓存。 当你清理了xcode的Clean Build Folder之后,此错误提示就会出现。 当你出现了这个错误,你可以清理你的Clean Build Folder,然后删除你的AppShortcutsProvider 重新运行 然后再恢复你刚刚删除的AppShortcutsProvider 重新运行

现在你只要不执行Clean Build Folder,就不会再出现这个错误。 当然这只是一个临时的解决方案。

I've tried to debug this but sadly with no luck. Filed the feedback under FB13756693. Maybe @eskimo could let us know whether this is intended behaviour and how to fix it or a bug