According to the comments in this issue, the problem could be that you opened up .xcodeproj
instead of .xcworkspace
. Some of the other suggested fixes include:
- Make sure your cocoapods build target is the same version as your projects build target. link
- Try rebooting your machine. link
- Examine your podfile to make sure your build scheme is included in it. link
I was experiencing a similar issue when trying to build the project from the command line and the root issue was that I was using the .xcodeproj
instead of .xcworkspace
. From what I could tell this error could be caused by multiple different factors.