I have old project that is running in Xcode 8 fine but when i am trying to run the project in Xcode 9 beta version I am getting the error
Failed to r
It fixes for me by update to latest Cocoapods:
sudo gem install cocoapods --pre