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
リーダーズ9期 CocoaPods講座
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Ryosei Shinoki
April 15, 2017
75
0
Share
リーダーズ9期 CocoaPods講座
Ryosei Shinoki
April 15, 2017
More Decks by Ryosei Shinoki
See All by Ryosei Shinoki
チームで使おうGit&GitHub
shinokiryosei
0
1.4k
リーダーズ9期 GitHub講座
shinokiryosei
0
190
Leaders 9期 コースプレゼン
shinokiryosei
0
180
AutoLayout講座
shinokiryosei
2
140
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
The Curse of the Amulet
leimatthew05
1
12k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
310
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
140
Test your architecture with Archunit
thirion
1
2.2k
Optimizing for Happiness
mojombo
378
71k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Transcript
CocoaPods Leaders 9th
CocoaPodsͰϥΠϒϥϦΛಋೖ Goal
CocoaPods? • ϥΠϒϥϦཧπʔϧ • GitHubBitBucketͰެ։͞Ε͍ͯΔϥΠϒϥ ϦͷϓϩδΣΫτͷಋೖΛ؆୯ʹ͢Δπʔϧ • https://github.com/CocoaPods/CocoaPods/ • https://cocoapods.org/
ϥΠϒϥϦʁ • ݸਓձ͕ࣾ։ൃΛָʹͨ͠Γɺศརͳػೳ ΛΞϓϦʹಋೖ͢ΔίʔυϓϩδΣΫτΛ ΦʔϓϯιʔεͰެ։ͯ͘͠Ε͍ͯΔͷ • ͲΕ͚ͩେ͖ͯ͘༗໊ͳձࣾɾΞϓϦ CocoaPodsΛ͍ͬͯΔɻ • ंྠͷ࠶ൃ໌
Uber • iOSΤϯδχΞ͚ͩͰ150ਓ͘Β͍͍ΔΒ͠ ͍ɻ • ϋϯόʔΨʔϝχϡʔ > Legal > Software
License • RxɺLottieɺZipɺSwift Youtube Player etc…
Έ
Xcode Project ϥΠϒϥϦA ϥΠϒϥϦB ϥΠϒϥϦC
Xcode Project ϥΠϒϥϦA ϥΠϒϥϦB ϥΠϒϥϦC CocoaPods
Hands on
ʲSwiftʳCocoaPodsಋೖखॱ
Hands on
͓͞Β͍
ίϚϯυҰཡ • pod init • pod install • pod update
pod init • init(initialͷུ)ͳͷͰɺCocoaPodsΛ͏ͨΊ ʹ࠷ॳʹ1ճ͚ͩ͏ίϚϯυ • PodfileΛੜ
pod install • PodfileʹैͬͯϥΠϒϥϦΛಋೖ • xcworkspaceΛੜ
pod update • PodfileʹैͬͯϥΠϒϥϦΛߋ৽ • ϥΠϒϥϦͷόʔδϣϯΛࣗಈͰߋ৽ͯ͘͠ ΕΔ
ϓϩδΣΫτߏ • Podfile • Podfile.lock • xcworkspace
Podfile • ಋೖ͢ΔϥΠϒϥϦʹ͍ͭͯهड़༷ͨ͠ॻ • pod installpod updateͷίϚϯυΛୟ͘ ͱɺPodfileͷهड़༰ʹैͬͯϥΠϒϥϦ͕ ಋೖ͞ΕΔ •
։ൃऀ͕ฤू͢Δ༷ॻ
Podfile.lock • ಋೖ͞ΕͨϥΠϒϥϦͷ༰ʹ͍ͭͯهड़͞ Ε༷ͨॻ • CocoaPods͕ࣗಈͰੜͯ͠ɺهड़ͯ͘͠Ε Δɻ • ։ൃऀฤू͠ͳ͍༷ॻ
xcworkspace • CocoaPodsΛͬͯ։ൃΛ͢Δͱ͖ʹ։͘ϓϩ δΣΫτϑΝΠϧ • CocoaPodsͰϥΠϒϥϦΛಋೖ͔ͯ͠Β xcodeprojͰͳ͘ɺxcworkspaceΛ։͘ • ΞϓϦͷxcodeprojͱPods.xcodeprojΛಉ࣌ʹ։ ͍ͯ͘ΕΔ