CocoaPods 5 minute introduction

CocoaPods 5 minute introduction

Quick introduction to CocoaPods, given at the OpenSourceBash Berlin 2015.

9d2ea021919ff81e02d48530aae191bd?s=128

Boris Bügling

September 28, 2015
Tweet

Transcript

  1. CocoaPods OpenSourceBash, September 2015 Boris Bügling - @NeoNacho

  2. CocoaPods is the dependency manager for Swift and Objective- C

    Cocoa projects.
  3. None
  4. Reducing this

  5. to this pod 'ReactiveCocoa'

  6. but also • Declarative language for libraries • Transitive dependencies

    • Discovery of new libraries • Plugin system
  7. podspec Pod::Spec.new do |s| s.name = "Contentful" s.version = "0.1.0"

    s.summary = "Swift SDK for Contentful's Content Delivery API." s.homepage = "https://github.com/contentful/contentful.swift/" s.social_media_url = 'https://twitter.com/contentful' s.license = { :type => 'MIT', :file => 'LICENSE' } s.authors = { "Boris Bügling" => "boris@buegling.com" } s.source = { :git => "https://github.com/contentful/contentful.swift.git", :tag => s.version.to_s } s.requires_arc = true s.source_files = 'Code/*.swift' s.ios.deployment_target = '9.0' s.osx.deployment_target = '10.11' s.dependency 'Interstellar', '~> 1.1.0' end
  8. $ pod install Analyzing dependencies Downloading dependencies Using Interstellar (1.1.0)

    Using Nimble (2.0.0-rc.3) Using Quick (0.6.0) Generating Pods project Integrating client project Sending stats
  9. Technologies • Written in Ruby • Relies heavily on Xcode

  10. Websites

  11. None
  12. None
  13. Community

  14. Test Jam 2015

  15. Contributor Coins

  16. RailsGirls Summer of Code

  17. Contributing

  18. Resources • http://cocoapods.org • http://blog.cocoapods.org/starting-open-source/ • https://github.com/CocoaPods/CocoaPods/labels/ d1%3Aeasy