

Find Command Line Tools and select install/update. Xcode → Preferences → Downloads → Components. You can check this by opening Xcode, navigating the menu to
XCODE DOWNLOAD UBUNTU HOW TO
Please follow it properly and I am sure you will not get any error.įrom How to install CocoaPods and setup with your Xcode project.įirst of all, check you have to install command line or not. You can check on this following link for more info. There is a complete tutorial for removing pods from your Xcode project on Stack Overflow. # platform :ios, '8.0' //Choose your version of iOSĬheck for updates of pods on existing project: Pod search networking (replace networking with which you want to search)Īdding the pods: (After adding your pods you must save the podfile first and then head back to the terminal again.) target 'WebServiceUsingMantleAFNetworking' do Please wait for some time after each and every command entered to the terminal to execute successfully. Now please move to your Xcode Project directory by using this following command, and replace /Your Xcode Project Directory Path with the actual path to the directory: cd /Your Xcode Project Directory Pathīelow are instructions for how to use CocoaPods. Type in the following command if you don't already have CocoaPods installed: sudo gem install cocoapods First of all, open the terminal and use the following commands, and press enter after each command.
XCODE DOWNLOAD UBUNTU MAC
I am posting these steps as short as possible and assuming that you know about Mac and Xcode projects. These are the complete steps that I usually follow. (You should no longer open the xcodeproj file.) xcworkspace Xcode project file and start coding. "Pod installation complete! There are X dependencies from the Podfile Once completed, there will be a message that says Or (For m1 chip) arch -x86_64 pod installĭepending how many libraries you added to your podfile for your project, the time to complete this varies. Then install pods into your project by typing in terminal: pod install When you are done editing the podfile, save it and close Xcode. Uncomment use_frameworks! if you're using Swift (This line is an example of adding the AFNetworking library to your project.) For example, in the podfile, type pod 'AFNetworking', '0.9.1' Here is where you add your project's dependencies. Initially there will be some default commands in there. Then open your project's podfile by typing in terminal: open -a Xcode Podfile xcodeproj file resides) and type: pod init Then in the terminal, cd to your Xcode project root directory (where your. Once done, it will output "Setup Complete", and you can create your Xcode project and save it. Alternatively, you can try adding "-verbose" to the command like so: pod setup -verbose You can track of the download by opening Activity and go to the Network tab and search for "git-remote-https". The size is very big (370.0 MB in December 2016). Type in the terminal: pod setupĪnd wait it will download the master repository. Next, you need to setup the CocoaPods master repository. Read them and if no error found, it means the CocoaPods installation is done.

sudo gem install activesupport -v 4.2.6Īfter installation, there will be a lot of messages. If there is an error "activesupport requires Ruby version >= 2.xx", then install latest activesupport first by typing in the terminal. Or try on Mac OS X v10.11 (El Capitan), type: sudo gem install -n /usr/local/bin cocoapods The Gem will get installed in Ruby inside the System library. aria2 provide a faster way to download other files.Open terminal and type: sudo gem install cocoapods "Downloader for Apple Developers" uses aria2 an open-source lightweight multi-protocol & multi-source, cross-platform download utility operated in command-line. Select any file which you want to download. Log in with your Apple Developer Account.Īfter login, you'll see the Apple Developer Downloads page. After that, unzip and move Downloader.app into the /Applications directory. If you face any issue using the above command then you can manually install it by downloading it from Github. You can install Downloader by running the following command in your terminal - curl -s | bash


Downloading Xcode from the Mac App Store or Apple Developer Website is very slow and sometimes it's terribly slow if it is a new release like 11.4 Beta.
