I have an app that uses a Swift framework that contains an intentdefinition file. I use CocoaPods to manage/distribute my frameworks, so, in order for Siri to successfully find the app and extension so that she can respond, I needed to add a "Build Phases"/"Copy Bundle Resources" step that copies the intentdefinition file from the framework into the app's main bundle.
Please see this question and answer for more background about this question.
The app and extension are working properly, now, but at compile time I get warnings for each intent:
"The Swift file '.../DerivedSources/IntentDefinitionGenerated/*Intents/*Intent.swift' cannot be processed by a Copy Bundle Resources build phase"
While this statement is true, it is not relevant in this case, since the framework will process the files.
How can I suppress this warning?