Skip to main content
Fixed the weird syntax highlighting (as a result, the diff looks more extensive than it really is - use view "Side-by-side Markdown" to compare) - though it may be possible to use the proper syntax highlighting.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

Normally we use

sudo gem install cocoapods 
sudo gem install cocoapods 

Solution, fix for CocoaPods error on Mac OS X v10.11 (El Capitan):

sudo gem install -n /usr/local/bin cocoapods pod setup cd /project path pod init 
sudo gem install -n /usr/local/bin cocoapods pod setup cd /project path pod init 

In Podfile we need to set the target

# Podfile platform :ios, '9.0' use_frameworks! # My other pods target “Projectname” do pod 'MBProgressHUD', '~> 0.8' pod 'Reachability', '~> 3.1.1' pod 'AFNetworking', '~> 2.2' pod 'TPKeyboardAvoiding', '~> 1.2' end target 'ProjectnameTests' do testing_pods end target 'ProjectnameUITests' do testing_pods end 
# Podfile platform :ios, '9.0' use_frameworks! # My other pods target “Projectname” do pod 'MBProgressHUD', '~> 0.8' pod 'Reachability', '~> 3.1.1' pod 'AFNetworking', '~> 2.2' pod 'TPKeyboardAvoiding', '~> 1.2' end target 'ProjectnameTests' do testing_pods end target 'ProjectnameUITests' do testing_pods end 

In the console - terminal

pod install 
pod install 

Normally we use

sudo gem install cocoapods 

Solution, fix for CocoaPods error on Mac OS X v10.11 (El Capitan):

sudo gem install -n /usr/local/bin cocoapods pod setup cd /project path pod init 

In Podfile we need to set the target

# Podfile platform :ios, '9.0' use_frameworks! # My other pods target “Projectname” do pod 'MBProgressHUD', '~> 0.8' pod 'Reachability', '~> 3.1.1' pod 'AFNetworking', '~> 2.2' pod 'TPKeyboardAvoiding', '~> 1.2' end target 'ProjectnameTests' do testing_pods end target 'ProjectnameUITests' do testing_pods end 

In the console - terminal

pod install 

Normally we use

sudo gem install cocoapods 

Solution, fix for CocoaPods error on Mac OS X v10.11 (El Capitan):

sudo gem install -n /usr/local/bin cocoapods pod setup cd /project path pod init 

In Podfile we need to set the target

# Podfile platform :ios, '9.0' use_frameworks! # My other pods target “Projectname” do pod 'MBProgressHUD', '~> 0.8' pod 'Reachability', '~> 3.1.1' pod 'AFNetworking', '~> 2.2' pod 'TPKeyboardAvoiding', '~> 1.2' end target 'ProjectnameTests' do testing_pods end target 'ProjectnameUITests' do testing_pods end 

In the console - terminal

pod install 
Active reading [<https://en.wikipedia.org/wiki/CocoaPods> <https://en.wikipedia.org/wiki/OS_X_El_Capitan>].
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

Normally we use

sudo gem install cocoapods 

Solution, fix for CocoapodsCocoaPods error on ElMac OS X v10.11 (El Capitan 10.11):

sudo gem install -n /usr/local/bin cocoapods pod setup cd /project path pod init 

In Podfile we need to set the target

# Podfile platform :ios, '9.0'   use_frameworks!   # My other pods target “Projectname” do pod 'MBProgressHUD', '~> 0.8' pod 'Reachability', '~> 3.1.1' pod 'AFNetworking', '~> 2.2' pod 'TPKeyboardAvoiding', '~> 1.2'   end   target 'ProjectnameTests' do testing_pods end   target 'ProjectnameUITests' do testing_pods end 

inIn the console - terminal

pod install 

Normally we use

sudo gem install cocoapods 

Solution, fix for Cocoapods error on El Capitan 10.11:

sudo gem install -n /usr/local/bin cocoapods pod setup cd /project path pod init 

In Podfile we need to set target

# Podfile platform :ios, '9.0'   use_frameworks!   # My other pods target “Projectname” do pod 'MBProgressHUD', '~> 0.8' pod 'Reachability', '~> 3.1.1' pod 'AFNetworking', '~> 2.2' pod 'TPKeyboardAvoiding', '~> 1.2'   end   target 'ProjectnameTests' do testing_pods end   target 'ProjectnameUITests' do testing_pods end 

in console - terminal

pod install 

Normally we use

sudo gem install cocoapods 

Solution, fix for CocoaPods error on Mac OS X v10.11 (El Capitan):

sudo gem install -n /usr/local/bin cocoapods pod setup cd /project path pod init 

In Podfile we need to set the target

# Podfile platform :ios, '9.0' use_frameworks! # My other pods target “Projectname” do pod 'MBProgressHUD', '~> 0.8' pod 'Reachability', '~> 3.1.1' pod 'AFNetworking', '~> 2.2' pod 'TPKeyboardAvoiding', '~> 1.2' end target 'ProjectnameTests' do testing_pods end target 'ProjectnameUITests' do testing_pods end 

In the console - terminal

pod install 
added 27 characters in body
Source Link
Manjeet
  • 101
  • 9

Normally we use

sudo gem install cocoapods 

Solution, fix for Cocoapods error on El Capitan 10.11:

sudo gem install -n /usr/local/bin cocoapods pod setup cd /project path pod init 

In Podfile we need to set targattarget

# Podfile platform :ios, '9.0' use_frameworks! # My other pods target “Projectname” do pod 'MBProgressHUD', '~> 0.8' pod 'Reachability', '~> 3.1.1' pod 'AFNetworking', '~> 2.2' pod 'TPKeyboardAvoiding', '~> 1.2' end target 'ProjectnameTests' do testing_pods end target 'ProjectnameUITests' do testing_pods end 

in console - terminal

pod install 

Normally we use

sudo gem install cocoapods 

Solution, fix for Cocoapods error on El Capitan 10.11:

sudo gem install -n /usr/local/bin cocoapods pod setup cd /project path pod init 

In Podfile we need to set targat

# Podfile platform :ios, '9.0' use_frameworks! # My other pods target “Projectname” do pod 'MBProgressHUD', '~> 0.8' pod 'Reachability', '~> 3.1.1' pod 'AFNetworking', '~> 2.2' pod 'TPKeyboardAvoiding', '~> 1.2' end target 'ProjectnameTests' do testing_pods end target 'ProjectnameUITests' do testing_pods end pod install 

Normally we use

sudo gem install cocoapods 

Solution, fix for Cocoapods error on El Capitan 10.11:

sudo gem install -n /usr/local/bin cocoapods pod setup cd /project path pod init 

In Podfile we need to set target

# Podfile platform :ios, '9.0' use_frameworks! # My other pods target “Projectname” do pod 'MBProgressHUD', '~> 0.8' pod 'Reachability', '~> 3.1.1' pod 'AFNetworking', '~> 2.2' pod 'TPKeyboardAvoiding', '~> 1.2' end target 'ProjectnameTests' do testing_pods end target 'ProjectnameUITests' do testing_pods end 

in console - terminal

pod install 
Source Link
Manjeet
  • 101
  • 9
Loading