It seems to me that the second part of this error message is:
Updating CocoaPods may fix the problem.
Is your problem. use_frameworks! was added in CocoaPods 0.36.0, which was recently released.
Use pod --version to find out what you are currently using. Assuming this is earlier than 0.36.0 , you need to update it with
[sudo] gem install cocoapods
This is exactly the same as you originally installed it.
source share