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
340
Xcode previews and llvm Vol.2
Akio Itaya
April 17, 2020
Tweet
Share
More Decks by Akio Itaya
See All by Akio Itaya
Porting a visionOS App to Android XR
akkeylab
0
970
How to handle 3D content on Android XR
akkeylab
0
130
Create a website using Spatial Web
akkeylab
0
340
How to build visionOS apps using Windows
akkeylab
0
170
How to build visionOS apps using Persona
akkeylab
1
360
Summary - Introducing enterprise APls for visionOS
akkeylab
0
510
Apple Vision Pro trial session
akkeylab
0
310
How to support Privacy Manifest
akkeylab
0
420
Let's make it compatible with visionOS!
akkeylab
0
300
Other Decks in Programming
See All in Programming
ZeroETLで始めるDynamoDBとS3の連携
afooooil
0
160
GitHub Copilotの全体像と活用のヒント AI駆動開発の最初の一歩
74th
7
2.4k
DynamoDBは怖くない!〜テーブル設計の勘所とテスト戦略〜
hyamazaki
0
200
書き捨てではなく継続開発可能なコードをAIコーディングエージェントで書くために意識していること
shuyakinjo
1
260
Go製CLIツールをnpmで配布するには
syumai
2
1.1k
Gemini CLIの"強み"を知る! Gemini CLIとClaude Codeを比較してみた!
kotahisafuru
3
970
コーディングは技術者(エンジニア)の嗜みでして / Learning the System Development Mindset from Rock Lady
mackey0225
2
330
AIのメモリー
watany
13
1.4k
Constant integer division faster than compiler-generated code
herumi
2
580
Terraform やるなら公式スタイルガイドを読もう 〜重要項目 10選〜
hiyanger
12
3k
Android 15以上でPDFのテキスト検索を爆速開発!
tonionagauzzi
0
200
自作OSでDOOMを動かしてみた
zakki0925224
1
1.3k
Featured
See All Featured
Code Review Best Practice
trishagee
69
19k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Building an army of robots
kneath
306
45k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
How to Ace a Technical Interview
jacobian
278
23k
Building Applications with DynamoDB
mza
96
6.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Fireside Chat
paigeccino
38
3.6k
Art, The Web, and Tiny UX
lynnandtonic
301
21k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
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 !!