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
650
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
450
Trends & Patterns
ephread
0
1.7k
Publishing your library with Carthage
ephread
0
960
Other Decks in Programming
See All in Programming
Linux && Docker 研修/Linux && Docker training
forrep
22
4.1k
SRE、開発、QAが協業して挑んだリリースプロセス改革@SRE Kaigi 2025
nealle
1
3.3k
Pythonでもちょっとリッチな見た目のアプリを設計してみる
ueponx
0
220
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
190
[Fin-JAWS 第38回 ~re:Invent 2024 金融re:Cap~]FaultInjectionServiceアップデート@pre:Invent2024
shintaro_fukatsu
0
340
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
150
【PHP】破壊的バージョンアップと戦った話〜決断と説得
satoshi256kbyte
0
100
カンファレンス動画鑑賞会のススメ / Osaka.swift #1
hironytic
0
200
Оптимизируем производительность блока Казначейство
lamodatech
0
990
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
8
2.2k
さいきょうのレイヤードアーキテクチャについて考えてみた
yahiru
1
530
Azure AI Foundryのご紹介
qt_luigi
1
260
Featured
See All Featured
Become a Pro
speakerdeck
PRO
26
5.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
30
2.1k
Done Done
chrislema
182
16k
The Invisible Side of Design
smashingmag
299
50k
The Language of Interfaces
destraynor
156
24k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Building Applications with DynamoDB
mza
93
6.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
175
51k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
113
50k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
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?