Custom Intent Handler Not Being Called

I have setup a custom intent and it all seems to be working fine except that the handler is not being called. Siri responds as if everything was successful but I don't see anything in the console output and none of my breakpoints are triggering... Here is the handler...


@implementation IntentHandler

- (id)handlerForIntent:(INIntent *)intent
{
    // This is the default implementation.  If you want different objects to handle different intents,
    // you can override this and return the handler you want for that particular intent.

  NSLog(@"In handlerForIntent.");

  if ([intent isKindOfClass:[TriggerSceneIntent class]])
  {
       return [SceneIntentsHandler sharedInstance];
  }
    
    return self;
}

@end


I have breakpoints at lines 10, 12, and 15. None of them are being hit. I also never see "In handlerForIntent" in the console log in xCode.


I'm guessing this is something fairly simple that I missed but I'm not seeing it. Welcome any suggestions?

You have to run your extension(siri) instead of your main app. Choose your extension -> you will receive a popup to select an app to run, select your main app

Custom Intent Handler Not Being Called
 
 
Q