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
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
480
Trends & Patterns
ephread
0
1.7k
Publishing your library with Carthage
ephread
0
980
Other Decks in Programming
See All in Programming
管你要 trace 什麼、bpftrace 用下去就對了 — COSCUP 2025
shunghsiyu
0
390
Portapad紹介プレゼンテーション
gotoumakakeru
1
130
Bedrock AgentCore ObservabilityによるAIエージェントの運用
licux
9
620
Reactの歴史を振り返る
tutinoko
1
180
ZeroETLで始めるDynamoDBとS3の連携
afooooil
0
160
バイブコーディングの正体——AIエージェントはソフトウェア開発を変えるか?
stakaya
5
880
サイトを作ったらNFCタグキーホルダーを爆速で作れ!
yuukis
0
180
新しいモバイルアプリ勉強会(仮)について
uetyo
1
250
GitHub Copilotの全体像と活用のヒント AI駆動開発の最初の一歩
74th
7
2.5k
Scale out your Claude Code ~自社専用Agentで10xする開発プロセス~
yukukotani
9
1.9k
React 使いじゃなくても知っておきたい教養としての React
oukayuka
18
5.6k
Strands Agents で実現する名刺解析アーキテクチャ
omiya0555
1
120
Featured
See All Featured
Making Projects Easy
brettharned
117
6.3k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Being A Developer After 40
akosma
90
590k
How to Ace a Technical Interview
jacobian
278
23k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Building an army of robots
kneath
306
45k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Adopting Sorbet at Scale
ufuk
77
9.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Writing Fast Ruby
sferik
628
62k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
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?