Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Seeding your library with CocoaPods
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Frédéric Maquin
November 26, 2015
Programming
0
680
Seeding your library with CocoaPods
Talk given at CocoaHeads Strasbourg.
Frédéric Maquin
November 26, 2015
Tweet
Share
More Decks by Frédéric Maquin
See All by Frédéric Maquin
Bluetooth Low Energy
ephread
1
490
Trends & Patterns
ephread
0
1.7k
Publishing your library with Carthage
ephread
0
990
Other Decks in Programming
See All in Programming
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
2
480
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
250
Rubyと楽しいをつくる / Creating joy with Ruby
chobishiba
0
210
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
1.8k
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
220
CSC307 Lecture 12
javiergs
PRO
0
460
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
9
2.6k
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
200
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
350
AI活用のコスパを最大化する方法
ochtum
0
120
あなたはユーザーではない #PdENight
kajitack
4
340
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
A better future with KSS
kneath
240
18k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
150
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
360
My Coaching Mixtape
mlcsv
0
67
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
470
Become a Pro
speakerdeck
PRO
31
5.8k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Being A Developer After 40
akosma
91
590k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
250
Statistics for Hackers
jakevdp
799
230k
Ethics towards AI in product and experience design
skipperchong
2
220
Transcript
SEEDING YOUR LIBRARY WITH CocoaHeads Strasbourg Frédéric Maquin @ephread November
26th, 2015
COCOAPODS?
None
Centralised dependency manager for Xcode projects.
AUGUST 2011 ELOY DURÁN @ALLOY
AUGUST 2011 ELOY DURÁN @ALLOY
RUBYGEM-LIKE
GITHUB-BASED
None
$ [sudo] gem install cocoapods Installation
PODFILE VS. PODSPEC
Podfile source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' use_frameworks! pod 'ElsassPod', '~>
1.0'
Podfile $ pod install
*.podspec Pod::Spec.new do |s| s.name = "ElsassPod" s.version = "1.0.0"
s.summary = "Made in Elsass" s.homepage = "https://github.com/ephread/ElsassPod" s.license = "MIT" s.author = { "Frédéric Maquin" => "
[email protected]
" } s.source = { :git => "https://github.com/ephread/ElsassPod.git", :tag => s.version.to_s } s.platform = :ios, "8.0" s.requires_arc = true s.source_files = "ElsassPod", "Source/*.swift" s.resources = ["Source/*.xcassets"] end
MANAGING LIBRAIRIES
Automatic Integration $ pod lib create CocoaPods is opinionated!
Automatic Integration $ pod lib create CocoaPods is opinionated!
Manual Integration Write the .podspec file by hand.
$ pod spec lint mypod.posdspec $ pod lib lint mypod.posdspec
REMOTE LOCAL Linting
Linting Always lint your pod locally first!
Public pods $ pod trunk push ElsassPod.podspec
Private pods $ pod repo add REPO_NAME SOURCE_URL $ pod
repo push REPO_NAME ElsassPod.podspec
Private pods source 'https://github.com/ephread/ElsassPodSpecs.git'
DEMO
QUESTIONS?