SlideShare a Scribd company logo
COCOAPODS
Ian Kunneke
William Kunneke
– Technical Ninjas
WHAT IS COCOAPODS
 According to Cocoapods.org:
 The dependency manager for Swift and Objective-C Cocoa projects
 Over ten thousand libraries and can help you scale your projects elegantly
 Built with Ruby and is installable with the default Ruby available on OS X
 Built for XCode
 You can specify a specific version of a library so that breaking
changes don’t break you
COCOAPODS COMPARED TO
 Gradle build scripts - .gradle files auto generated in Android
Studio. You don’t have to know much about Gradle to use it since
Android Studio does the heavy lifting for you.
 Maven – Great for Java projects, especially large scale cross
team projects.
 Cocoapods – De facto standard for iOS. Well supported
community,
SETTING UP COCOAPODS
 You will need Git set up
 You will need Xcode command line tools set up
 No need to brew it, just:
 sudo gem install cocoapods
 pod setup (one time set up)
 Create an Xcode project and change into the project root directory
(where your ProjectName.xcodeproj file is placed)
SETTING UP COCOAPODS
 From the project root directory:
 You can issue a pod init and a default podfile will be created. Or
 touch podfile
 open –e podfile
 Add some dependencies:
 pod 'AFNetworking', '0.9.1’
 Save the podfile
 pod install
SETTING UP COCOAPODS
 Open the workspace – not the project
POD COMMANDS
 pod help – get a detailed list of pod commands
 pod init - generate a Podfile for the current directory.
 pod install - install project dependencies to Podfile.lock versions
 pod search <search term> - search for an existing pod to use
 pod update - update outdated project dependencies and create
new Podfile.lock
PRE-BUILT PODS
 Large list of pre-built pods available from cocoapods.org
 Search capability and example code
 Can also use the pod search <search term> as previously
mentioned
ABOUT
 Ian Kunneke
 IanKunneke@Live.Com
 www.linkedin.com/in/iankunneke
 Bill Kunneke
 Bill@TheKunnekes.Com
 @Bkunneke
 www.linkedin.com/in/billkunneke

More Related Content

PDF
Using Cocoapods
PDF
CocoaPods introduction
PDF
Intro to Git for Drupal 7
PPTX
GitFlow, SourceTree and GitLab
PDF
Using Git with Drupal
PPTX
Create Your First Cocoa pods
PDF
Cocoapods Overview - library dependency manager for iOS
PDF
Building a Drupal site with Git
Using Cocoapods
CocoaPods introduction
Intro to Git for Drupal 7
GitFlow, SourceTree and GitLab
Using Git with Drupal
Create Your First Cocoa pods
Cocoapods Overview - library dependency manager for iOS
Building a Drupal site with Git

What's hot (20)

PDF
Introduction to GitHub Actions
PDF
OpenShift: Java EE in the clouds
PPTX
Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire
PDF
Introduction to GitHub Actions
PDF
Разработка cloud-native Java-приложений для Kubernetes, Егор Волков,Senior Ja...
PPTX
Seven Habits of Highly Effective Jenkins Users (2014 edition!)
PDF
Puppet at GitHub
PDF
Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...
PDF
Cloud expo-east-2015
PDF
Fig for Local Development
PDF
Puppeteerのお話
PDF
Docker 導入:障礙與對策
PDF
Breaking bad habits with GitLab CI
PPT
Git 101 - Crash Course in Version Control using Git
PPTX
Continuous Delivery with Jenkins and Wildfly (2014)
PDF
FOSDEM 2017: GitLab CI
PDF
Gitlab ci e kubernetes, build test and deploy your projects like a pro
PDF
Webinar: Creating an Effective Docker Build Pipeline for Java Apps
PDF
Breaking Bad Habits with GitLab CI
PPTX
How to Build & Deploy a HelloWorld API function using Java on OpenShift in...
Introduction to GitHub Actions
OpenShift: Java EE in the clouds
Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire
Introduction to GitHub Actions
Разработка cloud-native Java-приложений для Kubernetes, Егор Волков,Senior Ja...
Seven Habits of Highly Effective Jenkins Users (2014 edition!)
Puppet at GitHub
Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...
Cloud expo-east-2015
Fig for Local Development
Puppeteerのお話
Docker 導入:障礙與對策
Breaking bad habits with GitLab CI
Git 101 - Crash Course in Version Control using Git
Continuous Delivery with Jenkins and Wildfly (2014)
FOSDEM 2017: GitLab CI
Gitlab ci e kubernetes, build test and deploy your projects like a pro
Webinar: Creating an Effective Docker Build Pipeline for Java Apps
Breaking Bad Habits with GitLab CI
How to Build & Deploy a HelloWorld API function using Java on OpenShift in...
Ad

Similar to Cocoapods (20)

PPTX
CocoaPods.pptx
PPTX
Private pod support using cocoa pods in ios
PPTX
What is CocoaPods and how to setup?
PDF
Manage your external libraries with CocoaPods
PDF
NDK Programming in Android
PDF
Shipping NodeJS with Docker and CoreOS
PDF
Introduction to Docker - Vellore Institute of Technology
PPTX
Google Map Implementation with offline feature.
PDF
Introduction to Docker - VIT Campus
PPTX
PDF
Kubernetes buildpacks - from a source code to the running OCI container with ...
PPTX
Kotlin Basics & Introduction to Jetpack Compose.pptx
PPTX
PDF
[Webinar] Automating Developer Workspace Construction for the Nuxeo Platform ...
PPTX
Android ndk - Introduction
PPTX
Native development kit (ndk) introduction
PDF
OCCIware Year 1 Milestone: Docker Studio, Studio Factory, pluggable XaaS runt...
PDF
OCCIware Cloud Expo London 2016 - Docker Studio, Studio Factory, erocci bus &...
PDF
Docker for .NET Developers - Michele Leroux Bustamante, Solliance
CocoaPods.pptx
Private pod support using cocoa pods in ios
What is CocoaPods and how to setup?
Manage your external libraries with CocoaPods
NDK Programming in Android
Shipping NodeJS with Docker and CoreOS
Introduction to Docker - Vellore Institute of Technology
Google Map Implementation with offline feature.
Introduction to Docker - VIT Campus
Kubernetes buildpacks - from a source code to the running OCI container with ...
Kotlin Basics & Introduction to Jetpack Compose.pptx
[Webinar] Automating Developer Workspace Construction for the Nuxeo Platform ...
Android ndk - Introduction
Native development kit (ndk) introduction
OCCIware Year 1 Milestone: Docker Studio, Studio Factory, pluggable XaaS runt...
OCCIware Cloud Expo London 2016 - Docker Studio, Studio Factory, erocci bus &...
Docker for .NET Developers - Michele Leroux Bustamante, Solliance
Ad

Recently uploaded (20)

PDF
Chapter 2 Digital Image Fundamentals.pdf
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced Soft Computing BINUS July 2025.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Transforming Manufacturing operations through Intelligent Integrations
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPT
Teaching material agriculture food technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
KodekX | Application Modernization Development
PPTX
Big Data Technologies - Introduction.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
Chapter 2 Digital Image Fundamentals.pdf
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Review of recent advances in non-invasive hemoglobin estimation
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced Soft Computing BINUS July 2025.pdf
Understanding_Digital_Forensics_Presentation.pptx
Transforming Manufacturing operations through Intelligent Integrations
Diabetes mellitus diagnosis method based random forest with bat algorithm
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Teaching material agriculture food technology
Reach Out and Touch Someone: Haptics and Empathic Computing
The Rise and Fall of 3GPP – Time for a Sabbatical?
KodekX | Application Modernization Development
Big Data Technologies - Introduction.pptx
NewMind AI Monthly Chronicles - July 2025
NewMind AI Weekly Chronicles - August'25 Week I
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
MYSQL Presentation for SQL database connectivity
Advanced methodologies resolving dimensionality complications for autism neur...

Cocoapods

  • 2. WHAT IS COCOAPODS  According to Cocoapods.org:  The dependency manager for Swift and Objective-C Cocoa projects  Over ten thousand libraries and can help you scale your projects elegantly  Built with Ruby and is installable with the default Ruby available on OS X  Built for XCode  You can specify a specific version of a library so that breaking changes don’t break you
  • 3. COCOAPODS COMPARED TO  Gradle build scripts - .gradle files auto generated in Android Studio. You don’t have to know much about Gradle to use it since Android Studio does the heavy lifting for you.  Maven – Great for Java projects, especially large scale cross team projects.  Cocoapods – De facto standard for iOS. Well supported community,
  • 4. SETTING UP COCOAPODS  You will need Git set up  You will need Xcode command line tools set up  No need to brew it, just:  sudo gem install cocoapods  pod setup (one time set up)  Create an Xcode project and change into the project root directory (where your ProjectName.xcodeproj file is placed)
  • 5. SETTING UP COCOAPODS  From the project root directory:  You can issue a pod init and a default podfile will be created. Or  touch podfile  open –e podfile  Add some dependencies:  pod 'AFNetworking', '0.9.1’  Save the podfile  pod install
  • 6. SETTING UP COCOAPODS  Open the workspace – not the project
  • 7. POD COMMANDS  pod help – get a detailed list of pod commands  pod init - generate a Podfile for the current directory.  pod install - install project dependencies to Podfile.lock versions  pod search <search term> - search for an existing pod to use  pod update - update outdated project dependencies and create new Podfile.lock
  • 8. PRE-BUILT PODS  Large list of pre-built pods available from cocoapods.org  Search capability and example code  Can also use the pod search <search term> as previously mentioned
  • 9. ABOUT  Ian Kunneke  [email protected]  www.linkedin.com/in/iankunneke  Bill Kunneke  [email protected]  @Bkunneke  www.linkedin.com/in/billkunneke