There are many questions with the error message like mine but I couldn't find any proper solution for me.
I have a mobile app and I have been using ionic framework with 
CodePudding user response:
If you have multiple schemas you need to add them to the Podfile so they can use Capacitor plugins
target 'App Staging' do
capacitor_pods
# Add your Pods here
end
CodePudding user response:
Finally, I've found the solution. For some reason, I had to copy and paste the list of frameworks in Frameworks Search Paths. It was filled in Debug and Release schema but for Staging Debug it was empty. Here is the screenshot with what I had to add.

