Why can't I have INPlayMediaIntent in 2 extensions?

I want my media app to support Siri when using the phone, and CarPlay when in the car but I get an error during installation that it's not possible because 2 extensions both use INPlayMediaIntent.

Can someone explain why this is bad? I don't understand why I can't have both.

I'm not sure how exactly your project is configured but the CarPlay Music Sample allows for Siri Integration and works in CarPlay. Generally a Shortcut with voice prompt is ideal or the modern approach of using App Intents and suggesting phrases to get Siri to perform an action when speaking. The caveat is that CarPlay doesn't support App Intents yet, so suggesting Voice Shortcuts would be your best path to avoid more code. That said, you can use the project to compare against your setup.

Rico

WWDR - DTS - Software Engineer

Oh yes, I used that Car Play Music Sample to add CarPlay to my app and it seems to work good but now I need to make sure Siri works with CarPlay and the main app, the watch, HomePod and everything else.

I'm just running into conflicts with INPlayMediaIntent plus I'm working on a Radio app so when a user says "Hey Siri, play Beatles Radio" the phone tries to play Beatles in my music library instead of my app. I have 40 other radio stations with the word "radio" in the name, so I'm dealing with that.

I'm getting lots of other errors when I try to upload to appstoreconnect, but will deal with them later: ITMS-90626: Invalid Siri Support - '' is not a supported intent type

Though you are not required to fix the following issues, we wanted to make you aware of them:

ITMS-90626: Invalid Siri Support - No example phrase was provided for INSendMessageIntent in the 'pt-br' language. Please refer to 'https://developer.apple.com/documentation/sirikit/registering_custom_vocabulary_with_sirikit/global_vocabulary_reference/intent_phrases'

ITMS-90626: Invalid Siri Support - No example phrase was provided for INAddMediaIntent in the 'fr' language. Please refer to 'https://developer.apple.com/documentation/sirikit/registering_custom_vocabulary_with_sirikit/global_vocabulary_reference/intent_phrases'

ITMS-90626: Invalid Siri Support - Localized title for custom intent: 'Configuration' not found for locale: pt-br

ITMS-90626: Invalid Siri Support - No example phrase was provided for INSendMessageIntent in the 'en' language. Please refer to 'https://developer.apple.com/documentation/sirikit/registering_custom_vocabulary_with_sirikit/global_vocabulary_reference/intent_phrases'

Why can't I have INPlayMediaIntent in 2 extensions?
 
 
Q