Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Managing Objective-C and Xcode dependencies wit...

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

Managing Objective-C and Xcode dependencies with Cocoapods.

Cocoapods is a dependency management system for Objective-C and Xcode Projects. In this slide we will go over setting up Cocoapods in an iOS Project.

Avatar for builtbydestiny

builtbydestiny

April 27, 2014

Other Decks in Technology

Transcript

  1. Save the file as Podfile with no extension in the

    Project Folder. Leave Targets unchecked and click ‘Create’.
  2. Visit cocoapods.org and search for an Open-source Off Canvas Menu

    on the search bar. We will use AMSlideMenu 1.5.3.
  3. Open the Terminal app and Navigate to your Project folder

    by typing cp and dragging your project folder into Terminal app then press ‘Enter’.
  4. Cocoapods will now download all the dependencies in your Podfile

    and add them in your project in a new workspace.
  5. Close your Project in Xcode first then navigate to your

    Project folder in Finder. Re-open the new Workspace Cocoapods has created for you.
  6. Your Project will now have your Project Directory and a

    second Pods Directory with all your dependencies.