If the project uses CocoaPods be aware to always open the .xcworkspace file instead of the .xcodeproj file.
if you are using .xcworkspace , Please reinstall the pod file by removing the pods and again insert the pods and install it !!! this worked for me