App Intents not discovered by iOS 16 Beta 1

Hi,

I tried to implement the new AppIntents to replace some old shortcuts. I followed the sessions and their examples on how they are implemented. Unfortunately, I have not been able to get an App Intent into the Shortcuts App.

I tried it on different apps, new projects and tried multiple changes to the intents. Is there something that I'm missing or is this just a bug in Beta 1?

Here's my sample code:

import AppIntents

struct TestIntent: AppIntent {

    static var title: LocalizedStringResource = "Test"

    static var description: IntentDescription? = IntentDescription("Test description")

    

    func perform() async throws -> some IntentPerformResult {

        .finished(value: "Test")

    }

}

I filed a feedback for this issue: FB10102293

All the best,

Alex

  • Hello It's not working for me either.

  • I also tried implementing the  SiriTipView(intent: AddDataIntent()) in one of my views in SwiftUI, however I can't see it.

  • Have you implemented AppShortcutsProvider protocol?