title: Error "Invalid Intent Vocabulary" from App Store when trying to submit an app with Siri extension
body: <p>My app is using a Siri extension with <em>custom</em> Siri intents, which is a new feature for Xcode 10 / iOS 12. I design my custom Siri intents in a <code>.intentdefinition</code> file (included for both app and extension targets).</p>
  
  <p>My <em>custom</em> (not system) Siri intents are declared within the "Do" category.</p>
  
  <p><a href="https://i.stack.imgur.com/k5QAh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k5QAh.png" alt="enter image description here"></a></p>
  
  <p>A Siri intent also requires a <code>AppIntentVocabulary.plist</code> file with example phrases in it <a href="https://developer.apple.com/documentation/sirikit/registering_custom_vocabulary_with_sirikit" rel="nofollow noreferrer">https://developer.apple.com/documentation/sirikit/registering_custom_vocabulary_with_sirikit</a></p>
  
  <p>I've got my <code>AppIntentVocabulary.plist</code> included for the app target only. It looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
      &lt;key&gt;IntentPhrases&lt;/key&gt;
      &lt;array&gt;
          &lt;dict&gt;
              &lt;key&gt;IntentName&lt;/key&gt;
              &lt;string&gt;MyIntentName1&lt;/string&gt;
              &lt;key&gt;IntentExamples&lt;/key&gt;
              &lt;array&gt;
                  &lt;string&gt;Do stuff with foo&lt;/string&gt;
                  &lt;string&gt;Do stuff with fu&lt;/string&gt;
              &lt;/array&gt;
          &lt;/dict&gt;
          &lt;dict&gt;
              &lt;key&gt;IntentName&lt;/key&gt;
              &lt;string&gt;MyIntentName2&lt;/string&gt;
              &lt;key&gt;IntentExamples&lt;/key&gt;
              &lt;array&gt;
                  &lt;string&gt;Do other stuff&lt;/string&gt;
              &lt;/array&gt;
          &lt;/dict&gt;
      &lt;/array&gt;
      &lt;key&gt;ParameterVocabularies&lt;/key&gt;
      &lt;array&gt;
          &lt;dict&gt;
              &lt;key&gt;ParameterNames&lt;/key&gt;
              &lt;array&gt;
                  &lt;string&gt;MyIntentName1.someParam&lt;/string&gt;
              &lt;/array&gt;
              &lt;key&gt;ParameterVocabulary&lt;/key&gt;
              &lt;array&gt;
                  &lt;dict&gt;
                      &lt;key&gt;VocabularyItemIdentifier&lt;/key&gt;
                      &lt;string&gt;paramName&lt;/string&gt;
                      &lt;key&gt;VocabularyItemSynonyms&lt;/key&gt;
                      &lt;array&gt;
                          &lt;dict&gt;
                              &lt;key&gt;VocabularyItemPhrase&lt;/key&gt;
                              &lt;string&gt;foo&lt;/string&gt;
                              &lt;key&gt;VocabularyItemPronunciation&lt;/key&gt;
                              &lt;string&gt;fu&lt;/string&gt;
                              &lt;key&gt;VocabularyItemExamples&lt;/key&gt;
                              &lt;array&gt;
                                  &lt;string&gt;Do stuff with foo&lt;/string&gt;
                              &lt;/array&gt;
                          &lt;/dict&gt;
                          &lt;dict&gt;
                              &lt;key&gt;VocabularyItemPhrase&lt;/key&gt;
                              &lt;string&gt;bar&lt;/string&gt;
                              &lt;key&gt;VocabularyItemPronunciation&lt;/key&gt;
                              &lt;string&gt;bur&lt;/string&gt;
                              &lt;key&gt;VocabularyItemExamples&lt;/key&gt;
                              &lt;array&gt;
                                  &lt;string&gt;Do stuff with bar&lt;/string&gt;
                              &lt;/array&gt;
                          &lt;/dict&gt;
                      &lt;/array&gt;
                  &lt;/dict&gt;
              &lt;/array&gt;
          &lt;/dict&gt;
      &lt;/array&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>It builds fine and works ok too. But when I'm trying to submit it to App Store, I get:</p>
  
  <blockquote>
    <p>[Transporter Error Output]: ERROR ITMS-90624: "Invalid Intent
    Vocabulary. The AppIntentVocabulary.plist file in the
    Payload/AppName.app/en.lproj folder can't contain the intent name
    "MyIntentName1"."</p>
  </blockquote>
  
  <p>And there are subsequent error messages repeating for every <code>.lproj</code> folder.</p>
  
  <p>If it helps, my app is localized for 14 languages, the project is not using base localization.</p>