Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Xcode previews and llvm Vol.2
Akio Itaya
April 17, 2020
Programming
0
150
Xcode previews and llvm Vol.2
Akio Itaya
April 17, 2020
Tweet
Share
More Decks by Akio Itaya
See All by Akio Itaya
Improve user experience with VisionKit
akkeylab
1
72
Language and Region
akkeylab
3
470
How to release apps faster with SwiftUI
akkeylab
5
2.2k
Working style using Swift
akkeylab
0
450
How to use HorizonCalendar
akkeylab
0
1.4k
Strongest reject measure and Practice SwiftUI
akkeylab
2
830
Five things you can do with SwiftUI v2
akkeylab
0
760
How to prevent personal information leakage
akkeylab
1
110
Xcode previews and llvm
akkeylab
1
540
Other Decks in Programming
See All in Programming
チームでカレーを作ろう!アジャイルカレークッキング
akitotsukahara
0
830
LINE Messaging APIの概要 - LINE API総復習シリーズ
uezo
1
180
Angular-basierte Micro Frontends mit Module Federation @API Summit
manfredsteyer
PRO
0
110
Springin‘でみんなもクリエイターに!
ueponx
0
220
クックパッドマートの失敗したデータ設計 Before / After 大放出
mokuzon
0
150
BASE BANKチームの技術選定と歴史 / how to decide technology selection for startup
budougumi0617
0
1.1k
インターン生・新卒向け、学校でもっと教えてほしいITエンジニア基本スキル
nearme_tech
0
130
GoogleI/O2022 LT報告会資料
shinsukefujita1126
0
340
[DevTrends - Jun/2022] Arquitetura baseada em eventos
camilacampos
0
150
短納期でローンチした新サービスをJavaで開発した話/launched new service using Java
eichisanden
6
1.9k
[월간 데이터리안 세미나 6월] 스스로 성장하는 분석가 커리어 이야기
datarian
0
220
Power Automateドリブンのチームマネジメント
hanaseleb
0
190
Featured
See All Featured
Designing on Purpose - Digital PM Summit 2013
jponch
106
5.6k
VelocityConf: Rendering Performance Case Studies
addyosmani
316
22k
Code Review Best Practice
trishagee
43
9.2k
Debugging Ruby Performance
tmm1
65
10k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
655
120k
JazzCon 2018 Closing Keynote - Leadership for the Reluctant Leader
reverentgeek
172
8.4k
Happy Clients
brianwarren
89
5.6k
How GitHub (no longer) Works
holman
296
140k
How GitHub Uses GitHub to Build GitHub
holman
465
280k
Building Better People: How to give real-time feedback that sticks.
wjessup
344
17k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
39
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
7
1.1k
Transcript
AKKEY / AKIO ITAYA LLVM ͷυΩϡϝϯτಡΉӋʹͳͬͨ MatchingAgent, Inc. SwiftUI ಋೖͰ
ଓฤ
໊લɿ൘୩ ߊྑɹ/ɹ͖͋ͬʔ झຯɿυϥΠϒ ׆ಈɿ@AkkeyLab Cyberagent, Inc. MatchingAgent, Inc. େֶೖֶޙϓϩάϥϛϯάʹҰࠍΕɺ18৽ଔ iOS
ΤϯδχΞ ࣗݾհ
ଓฤͰ͢
ৼΓฦΓ Code Instrumentationʢinstrʣ ͕༗ޮͰɺ Static Framework Λ Link ͢Δͱ͖ɺ Linker
ʹରͯ͠ instr Λ༗ޮʹ͢ΔΑ͏ʹࢦఆ͠ͳ͚ΕͳΒͳ͍ ͱ͍͏ݱ͕ SwiftUI ͷ XcodePreviews ಈ࡞࣌ʹൃੜ͢Δ
·ͣɺగਖ਼Օॴ
గਖ਼ ৺૿ͨ͠ͷͷɺ FirebaseCore ͕ݟͨΒͳ͍ͱݴΘΕΔ ΧόϨοδϥΠϯλΠϜϥΠϒϥϦ͕ݺͼग़ͤͳ͍ͱݴΘΕΔ
ཧͷॲཧखॱ
App ཧਤ
ܭଌɾஅॲཧ App ཧਤ instrumented code swiftc -fprofile-instr-generate
Code Coverage Runtime Library ܭଌɾஅॲཧ App ཧਤ instrumented code env
swiftc -fprofile-instr-generate
Code Coverage Runtime Library ܭଌɾஅॲཧ App ཧਤ instrumented code env
linker -fprofile-instr-generate swiftc -fprofile-instr-generate
ݱ࣮
Code Coverage Runtime Library ܭଌɾஅॲཧ App ݱ࣮ਤ instrumented code env
linker swiftc -fprofile-instr-generate ❌
Code Coverage Runtime Library ܭଌɾஅॲཧ App ݱ࣮ਤ instrumented code env
linker swiftc -fprofile-instr-generate ❌ -fprofile-instr-generate ͕దԠ͞Ε͍ͯͳ͍
Code Coverage Runtime Library ܭଌɾஅॲཧ App ݱ࣮ਤ instrumented code env
linker swiftc -fprofile-instr-generate ❌ -fprofile-instr-generate ͕దԠ͞Ε͍ͯͳ͍ ͜ͷݱ͕ XcodePreviews ༻ͷϏϧυ࣌ʹൃੜ͢Δ
݁
Xcode Bug ※ ͓ͦΒ͘
ֶͼ
ֶͼ ɾͦͦΧόϨοδͷৗ࣌༗ޮΑΖ͘͠ͳ͍ ɾCI ͰΧόϨοδΛऔಘ͢Δͱ͖ͷΈ༗ޮʹ͢Δ ࠓճͷʹରͯ͠ΞυόΠε͍͍ͯͨͩͨ͠օ͞Μɺ ͋Γ͕ͱ͏͍͟͝·͢ʂ
Thank you !!