Invalid Siri Support - Warning iTunes Connect

2019-02-19 03:04发布

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 ?

2条回答
疯言疯语
2楼-- · 2019-02-19 03:55

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.
查看更多
淡お忘
3楼-- · 2019-02-19 04:01

I got that comment for EN when I submitted a build to the App Store, and English is my system language! After lots of experiments, what worked was to select the AppIntentVocabulary.plist file, and in the Inspector pane (where I assume you've selected Localize), also check the English box.

For several other files – Intents.intentdefinition, LaunchScreen.storyboard, Main.storyboard – I have not had to also check the English box. It was implicit in the Base localization. But for .strings, the English box is to be checked and there is no Base.

With AppIntentVocabulary.plist, there's a Base and an English, and they both need to be checked.

I don't know why there's that inconsistency, and I don't know if there's a better way. I just know this configuration kept me from receiving those App Store Connect warnings.

查看更多
登录 后发表回答