I added Firebase libraries to my project, and then I got this error. When I compile it, Xcode can\'t find some directories. However, they are in the Pods directory.
For me i had to change/edit the schema and choose the new one.
I had renamed my debug
schema to debug(development)
and that was causing my problem.
Fix:
Product > Edit Schema > Change Build Configuration
What I did was create alternate Configurations
and renamed my current one.
Go To Project Target > Build Settings:
Look for Search Paths > Framework Search Paths, delete all paths which you have been warned; then in Library Search Paths, delete all paths which you have been warned.
I was facing same issue and I tried multiple things but still it was not working. I tried below.
Finally the thing that worked is, deleting pod file and re-creating pod file. It worked as magic!
P.S.: This is very generic error and so same solution may not work for all.
In my case I just had to go to Edit Scheme > Run and Reselect "None" as Executable.
Make sure you are opening the workspace file and not the project file. I was receiving the same error and realized I was using the project not the workspace.