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
Frédéric Maquin
November 26, 2015
Programming
0
610
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
400
Trends & Patterns
ephread
0
1.7k
Publishing your library with Carthage
ephread
0
890
Other Decks in Programming
See All in Programming
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
26
8.2k
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
100
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
670
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
230
"config" ってなんだ? / What is "config"?
okashoi
0
240
Elm 0.19.0 Changes
bkuhlmann
0
490
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
180
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
200
SIMD Parallel Programming with the Vector API
josepaumard
0
150
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
0
230
try! Swift Tokyo 初参加報告LT
hinakko2
0
220
Ruby Pattern Matching
bkuhlmann
0
930
Featured
See All Featured
Web Components: a chance to create the future
zenorocha
305
41k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
What's in a price? How to price your products and services
michaelherold
237
11k
Ruby is Unlike a Banana
tanoku
96
10k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
2
3.4k
Automating Front-end Workflow
addyosmani
1356
200k
The Cult of Friendly URLs
andyhume
74
5.7k
A Tale of Four Properties
chriscoyier
151
22k
Teambox: Starting and Learning
jrom
128
8.4k
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
Rebuilding a faster, lazier Slack
samanthasiow
73
8.2k
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?