First install Ruby gems bundler:
gem install bundler
Then go to project folder, and run:
bundle install
bundle exec pod install
If this doesn't work execute:
bundle exec pod repo update
bundle exec pod install
Last, open .xcworkspace on XCode IDE to complete the setup of the project.