Error about Siri capability exporting Catalyst app as Developer ID

I'm working on enabling Catalyst for my existing iOS app. When I try to archive and export Catalyst as a Developer ID-signed Mac app, I get the following error:

Cannot create a Mac Catalyst Developer ID provisioning profile for "[my bundle ID]".

The Siri capability is not available for Mac Catalyst Developer ID provisioning profiles. Disable this feature and try again.

My iOS app uses SiriKit to donate a Siri intent, so Siri is among the capabilities listed in the Signing and Capabilities tab in the project inspector in Xcode. I don't see a way to turn that capability off only for Catalyst (like you can link some frameworks only for Catalyst or iOS), and I don't want to disable Siri entirely in my iOS app.

What's going on here? What do I need to do to "disable this feature" for Catalyst?

Answered by Mr. Jefferson in 680139022

I got an answer to this elsewhere. The enabling or disabling of the Siri capability (and others) is actually stored in the project's Entitlements file. So I duplicated my existing Entitlements file, removed Siri from it, and set that Entitlements file as a variation for the macOS SDK in the project's "Code Signing Entitlements" build setting.

Accepted Answer

I got an answer to this elsewhere. The enabling or disabling of the Siri capability (and others) is actually stored in the project's Entitlements file. So I duplicated my existing Entitlements file, removed Siri from it, and set that Entitlements file as a variation for the macOS SDK in the project's "Code Signing Entitlements" build setting.

Hey hey, I was going to suggest that but I wanted to run it past DTS’s tools specialist first (who happens to also be our DRI for SiriKit as well).

Anyway, I’m glad to hear that you found a workaround. From our perspective, this is definitely a workaround rather than the experience we’d like to see long term; Xcode should just handle this automatically (r. 79753217).

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Error about Siri capability exporting Catalyst app as Developer ID
 
 
Q