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
CONTRIBUTING TO SWIFT
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
giginet
PRO
July 21, 2017
530
3
Share
CONTRIBUTING TO SWIFT
#oi_study
giginet
PRO
July 21, 2017
More Decks by giginet
See All by giginet
🀄️ on swiftc
giginet
PRO
0
460
15年メンテしてきたdotfilesから開発トレンドを振り返る 2011 - 2026
giginet
PRO
2
360
Claude Codeログ基盤の構築
giginet
PRO
7
4.2k
Inside of Swift Export
giginet
PRO
1
2.5k
Swiftビルド弾丸ツアー - Swift Buildが作る新しいエコシステム
giginet
PRO
0
2.7k
SwiftでMCPサーバーを作ろう!
giginet
PRO
3
430
Creating Intuitive Developer Tool in Swift
giginet
PRO
0
1.6k
Mergeable Libraryで 高速なアプリ起動を実現しよう!
giginet
PRO
2
7.3k
5分でわかるExplicitly Built Modules
giginet
PRO
2
1.8k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
187
22k
GitHub's CSS Performance
jonrohan
1033
470k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
540
Darren the Foodie - Storyboard
khoart
PRO
3
3.3k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
250
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Believing is Seeing
oripsolob
1
130
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
59
Deep Space Network (abreviated)
tonyrice
0
150
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
370
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
390
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
120
Transcript
CONTRIBUTING TO SWIFT @giginet
@giginet • iOS Engineer @ Cookpad • ։ൃج൫ͬͯ·͢ • झຯɿήʔϜ։ൃ
• Contributor of fasltane • &⌚ͷਓ
giginet/Toybox
giginet/xcprofile
ࠓ͢͜ͱ • SwiftʹContributionͯ͠Έ͔ͨͬͨͷͰ ͪΐͬͱࢼͯ͠Έͨ
apple/Swift
։ൃڥΛ࡞Δ
։ൃڥ • جຊతʹREADME௨ΓʹΕྑ͍ • Xcode 9betaɺPython 2.7ɺ͍͔ͭ͘ͷґଘ ύοέʔδ͕ඞཁ
$ brew install cmake ninja $ mkdir swift-source $ git
clone https://github.com/apple/ swift.git $ ./swift/utils/update-checkout —clone $ ./swift/utils/build-script -x
Ϗϧυ • ΊͬͪΌ͔͔࣌ؒΔ • Ϗϧυʹ3~4࣌ؒ
Xcode Project • -xΦϓγϣϯͰXcodeϓϩδΣΫτ͕ੜ͞Ε Δ • build/swift-macosx-x86_64/swift-macosx- x86_64/Swift.xcworkspace
None
ςετΛ࣮ߦ͢Δ • docs/Testing.md $ ./Swift/utils/build-script --test
None
swift-source • update-checkoutsʹΑͬͯෳͷϦϙδτϦ ͕clone͞ΕΔ
swift-source • Swift • swift-corelibs-foundation • swift-corelibs-libdispatch • swift-corelibs-xctest •
swift-xcode-playground-support • swift-integration-tests
swift-source • Swift • swift-corelibs-foundation • swift-corelibs-libdispatch • swift-corelibs-xctest •
swift-xcode-playground-support • swift-integration-tests
$ mkdir swift-foundation $ cd swift-foundation $ git clone
[email protected]
:apple/
swift-corelibs-foundation.git $ git clone
[email protected]
:apple/ swift-corelibs-xctest.git $ open swift-corelibs-foundation/ Foundation.xcworkspace
swift-corelibs-foundation • https://swift.org ͔Β࠷৽ͷtoolchainΛऔಘ • Xcode > Preferences > ComponentsͰઃఆ
swift-corelibs-foundation
ωλΛ୳͢
• 1. issueτϥοΧʔΛݟΔ • 2. FIXME୳͢ • 3. warning௵͢ ωλͷ୳͠ํ
Issue TrackerΛݟΔ
https://bugs.swift.org/
issueͷݟ͚ͭํ • FoundationXCTestSwiftͰॻ͔Ε͍ͯΔͷ ͰखΛ͚͍͢ • ίϯύΠϥLLVMݫ͍͠ • ʮContributing to Open
Source SwiftʯݟΔ
https://news.realm.io/jp/news/tryswift-jesse- squires-contributing-open-source-swift/
None
FIXMEΛ͢
None
$ git grep 'FIXME' | wc -l > 3367
WARNINGΛ௵͢
None
PRΛૹΔ
PRΛૹΔ • CONTRIBUTING GUIDEಡΉ • https://swift.org/contributing • ଞͷPRݟΔ
None
None
CI • PR͝ͱʹউखʹճΒͳ͍ • ϨϏϡΞʔ͕ඞཁʹԠͯ͡ճͯ͘͠ΕΔ • 1PRʹ30͙Β͍͔͔Δ
None
None
·ͱΊ • ڥ࡞ͬͯwarning௵͚ͩ͢ͳΒ୭ͰͰ͖Δ • FIXME͢ͱ͜Ζଟͦ͏ʢઓதʣ • Ϗϧυ͕ͱʹ͔ͯ͘͘ٳ͕௵ΕΔ
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠