Implement App Intents In Objective-C Framework

I want to implement AppIntent in my framework which is created and choose Objective-C as language, but when I new a swift file and implement AppIntent. then import to my project. the AppIntent didn't work. but I can use AppIntent directly in project.

project does not complie if i add sample proejct files

Implement App Intents In Objective-C Framework
 
 
Q