cocoapods not installing
Using following commands, it worked for me.
sudo gem uninstall cocoapods
sudo gem install -n /usr/local/bin cocoapods
cocoapods pod install
If you encounter this error on step 2
:
ERROR: While executing gem ... (Gem::CommandLineError) Please specify at least one gem name (e.g. gem build GEMNAME)
Then try this as step 2 instead (step 3 is not needed):
gem install -n /usr/local/bin cocoapods
Cocoapods not updating even after latest version is installed
Use which pod
to figure out where it's installed. Most likely it's through brew
, so you need to do a brew upgrade
to get the latest version. Generally it's best to install all Ruby tools through the same method: directly, through brew
, or using a Ruby manager like rvm
.
Related Topics
iOS 7 Status Bar Collides with Navigationbar
How to Save, Retrieve, Delete & Update My Data in Plist File in iOS
Cannot Assign a Value of Type "String" to Type "Uilabel" in Swift
How to Create Custom Mkannotationview and Custom Annotation Title and Subtitle
What Is Export * in Module.Modulemap File Inside Each Framework
How to Set iOS Status Bar Background Color in React Native
Xcode Myprojectname-Bridging-Header.H Does Not Exist
How to Check If the iOS Device Is Locked/Unlocked
Swift 3 Core Data Delete Object
Ios 8.1 Simulator Always Uses Us Keyboard Layout Despite German Hardware Keyboard
Storing Images Locally on an iOS Device
Swift Default Alertviewcontroller Breaking Constraints
How to Access File Included in App Bundle in Swift
Auto-Renewable Subscription in iOS7
How to Determine If an Nsdate Is Today