Cocoa pod command gives error in Catalina os , xcode 11
This below command is going to help you.
sudo xcode-select --install
I can not do a pod install in CocoaPods
Execute this command in Terminal and try again:
xcode-select -s /Applications/Xcode.app/Contents/Developer
And be sure to update your Cocoapods spec repository by running pod repo update
before pod install
Description:
The error is because the wrong path was set as the Xcode Command Line Tools. this can lead to many problems such as git error, C compiler error etc.
Always be sure your Xcode Command Line Tools path has been set to embedded Command Line Tools in Xcode app.
Pod install command with error
replace this character " ‘ " with this " ' " in your podfile and try to install again.
it's happen to me when I copy pod line from somewhere else (like Evernote), some text editors automatically change this character. Usually it's like this :
pod 'AFNetworking', '~> 2.0'
but when I take from other editor, it could be like this :
pod ‘AFNetworking‘, ‘~> 2.0‘
Related Topics
How to Specify Size for iPhone 6/7 Customised Edge-To-Edge Image
Uicollectionview's Cell Disappearing
How to Password Protect Writing to Nfc Ntag216 Tag on iOS 13 Using Nfc Core
Change the Width of Master in Uisplitviewcontroller
Nsurlconnection Get Request Returns -1005, "The Network Connection Was Lost"
Uicollectionview Set Number of Columns
Implement Document Picker in Swift (Ios)
Facebook Sdk Login Never Calls Back My Application on iOS 9
Xcode 8 :Function Types Cannot Have Argument Label Breaking My Build
Uigesturerecognizer on Uiimageview
Set Dimensions for Uiimagepickercontroller "Move and Scale" Cropbox
Swift with iOS 5 Deployment Target
Differences Between Udid and Uuid
How to Get iOS Device MAC Address Programmatically
Where to Store Global Constants in an iOS Application