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
0
75
リーダーズ9期 CocoaPods講座
Ryosei Shinoki
April 15, 2017
Tweet
Share
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
170
AutoLayout講座
shinokiryosei
2
140
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
Designing Powerful Visuals for Engaging Learning
tmiket
0
240
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
250
Testing 201, or: Great Expectations
jmmastey
46
8.1k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
93
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
Chasing Engaging Ingredients in Design
codingconduct
0
110
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
Designing for Performance
lara
610
70k
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Λಉ࣌ʹ։ ͍ͯ͘ΕΔ