Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Siri Intent Example Phrase [duplicate]

I'm integrate SiriKit in my app for ride a book but after send my app to TestFlight I get a mail response with the next warnings.

Invalid Siri Support - No example phrase was provided for INGetRideStatusIntent in the "en-CO" language

Invalid Siri Support - No example phrase was provided for INRequestRideIntent in the "en" language

I have added the necessary translation to my InfoPlist.string for each localised version but the problem still happens.

I'm using the AppIntentVocabulary.plist where I added examples phrases for INGetRideStatusIntent and INRequestRideIntent

In the apple documentation for localized plist file, say that I should add key="value for localized string" but in this case in AppIntentVocabulary.plist no have a key I have a Array and I don`t know how to write the correct localized string in InfoPlist.string.

e.g.

CFBundleDisplayName = "Maisons"; NSHumanReadableCopyright = "Copyright © 2014 My Great Company Tous droits réservés.";

somebody know how can solve this warnings ?

like image 598
kakashy Avatar asked Nov 19 '22 15:11

kakashy


1 Answers

I solved this problem, the solution is very simple, the only thing that I need to do is add Localized option to AppIntentVocabulary.plist.

  • In Xcode, select the AppIntentVocabulary
  • In inspector panel click on the Localized button
  • Select all languages needed to support
  • Add corresponding translation to Example Phrases and that's all.
like image 53
kakashy Avatar answered Dec 21 '22 00:12

kakashy