Following steps helped me to get rid of this problem:
- Go to project path and remove Pods folder and Podfile.lock file.
- Reinstall pods again using "pod install" command.
- Open xcworkspace and clean it before running.
Hope it will save someone's time like it did for me.