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
Xcode previews and llvm Vol.2
Search
Akio Itaya
April 17, 2020
Programming
0
300
Xcode previews and llvm Vol.2
Akio Itaya
April 17, 2020
Tweet
Share
More Decks by Akio Itaya
See All by Akio Itaya
How to build visionOS apps using Windows
akkeylab
0
110
How to build visionOS apps using Persona
akkeylab
1
190
Summary - Introducing enterprise APls for visionOS
akkeylab
0
400
Apple Vision Pro trial session
akkeylab
0
230
How to support Privacy Manifest
akkeylab
0
360
Let's make it compatible with visionOS!
akkeylab
0
210
Let's Join the Android community!
akkeylab
0
140
顔写真メイクアップアプリの開発におけるプライバシー保護とコスト削減のための手法
akkeylab
1
360
How to hide the key
akkeylab
0
300
Other Decks in Programming
See All in Programming
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
110
Better Code Design in PHP
afilina
PRO
0
120
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
Remix on Hono on Cloudflare Workers
yusukebe
1
280
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
Jakarta EE meets AI
ivargrimstad
0
130
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
280
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
Outline View in SwiftUI
1024jp
1
320
CSC509 Lecture 11
javiergs
PRO
0
180
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
600
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Writing Fast Ruby
sferik
627
61k
Embracing the Ebb and Flow
colly
84
4.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Practical Orchestrator
shlominoach
186
10k
Rails Girls Zürich Keynote
gr2m
94
13k
It's Worth the Effort
3n
183
27k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Speed Design
sergeychernyshev
24
610
Agile that works and the tools we love
rasmusluckow
327
21k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
860
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
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 !!