Thank you very much for trying to help me. I just download the project from the link below and ran it.
https://developer.apple.com/documentation/sirikit/providing_hands-free_app_control_with_intents
I haven't made any changes to the code. The message I provided I got on the iPhone X. When the application opens, it shows the three recipes and when Siri comes up I get the message from Siri "I can't get directions using Recipe Assistant. Sorry about that". I don't get any messages in the debug console.
If I ran the project in Simulator iPhone 12 Pro for example, I get a different message "I can help find a place if you turn on Location Services. Go to Privacy Settings, select Location Services, scroll to Siri & Dictation, and allow location access"
I am using the scheme Siri Intent Query "show directions for recepe on Recepe Assistant" provided in the project. The message I get from Siri is the response for Siri Intent Query.
I would really appreciate the help.