The fix is โโsimple and the error says what to do. Add this to the top of your subfile:
source 'https://github.com/artsy/Specs.git'
source 'https://github.com/CocoaPods/Specs.git'
Here's a Github issue with more details - https://github.com/CocoaPods/CocoaPods/issues/2515
Update
Make sure you create the Podfile in the root of the Xcode project directory. Here's what your subfile looks like -
source 'https://github.com/artsy/Specs.git'
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
inhibit_all_warnings!
pod 'RestKit', :head
pod 'RestKit/Testing', :head
pod 'CocoaLumberjack', :head
pod 'NLTHTTPStubServer', :head
pod 'Appsee', '~> 2.1'
pod 'google-plus-ios-sdk', '~> 1.7.0'
In the terminal -
- RubyGems -
sudo gem update - Cocoa Pods -
sudo gem install cocoapods
-
- -
rm -rf Pods/ - -
pod install