How to install cocoapods on mac how to#
Run pod repo update in Terminal to update the local CocoaPods repository. Welcome to Appychip Youtube channelIn this video, we will demonstrate you how to download and install 'cocoapods' on MacOS using brew on Terminal for free.T.With command cd and give the path of your project and then press the Enter key Note: type the 'cd'. If it asks, you should provide system password and then press the Enter key Step 3. See the following steps to solve the issue: Open Terminal, hit command, and then press the Enter key sudo gem install cocoapods Step 2. The local CocoaPods repository is not updated. Further installation instructions are in the guides. Using the default Ruby install can require you to use sudo when installing gems. None of your spec sources contain a spec satisfying the dependency: `AgoraRtcEngine_iOS (= 3.5.0)`. CocoaPods is built with Ruby and is installable with the default Ruby available on macOS. This means is that developers using continuous integration only register as 1 install, even if the server runs pod install each time, separating total installations vs actual downloads. When you install the Agora SDK, you might encounter the following issues:Īfter entering pod 'library_name' in a Podfile and running pod install in Terminal, the Agora SDK that is installed is not the latest version.Īfter entering pod 'library_name', 'latest_version' in a Podfile and running pod install in Terminal, the Terminal prompts error messages such as the following: CocoaPods could not find compatible versions for pod "AgoraRtcEngine_iOS": CocoaPods Stats will be able to keep track of the unique number of installs within Apps / Watch Apps / Extensions / Unit Tests. If you run sudo gem install cocoapods and encounter authority issues such as You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory, Agora recommends that you run sudo gem install -n /usr/bin cocoapods to install CocoaPods.