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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Akio Itaya
April 17, 2020
Programming
380
0
Share
Xcode previews and llvm Vol.2
Akio Itaya
April 17, 2020
More Decks by Akio Itaya
See All by Akio Itaya
How to stabilize UI tests using XCTest
akkeylab
0
160
Bringing Spatial Web to E-Commerce
akkeylab
0
72
Learn CPU architecture with Assembly
akkeylab
1
2k
Porting a visionOS App to Android XR
akkeylab
0
1.1k
How to handle 3D content on Android XR
akkeylab
0
220
Create a website using Spatial Web
akkeylab
0
390
How to build visionOS apps using Windows
akkeylab
0
210
How to build visionOS apps using Persona
akkeylab
1
460
Summary - Introducing enterprise APls for visionOS
akkeylab
0
550
Other Decks in Programming
See All in Programming
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
5k
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
180
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
2
560
ルールルルルルRubyの中身の予備知識 ── RubyKaigiの前に予習しなイカ?
ydah
1
190
実践CRDT
tamadeveloper
0
580
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
16
5.6k
AWSコミュニティ活動は顧客のクラウド推進に効くのか / Do AWS community activities help customers adopt the cloud?
seike460
PRO
0
140
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
220
ソフトウェア設計の結合バランス #phperkaigi
kajitack
0
140
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
2.6k
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
280
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
4
3k
Featured
See All Featured
My Coaching Mixtape
mlcsv
0
100
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
270
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
130
Heart Work Chapter 1 - Part 1
lfama
PRO
6
35k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
Building Adaptive Systems
keathley
44
3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
We Are The Robots
honzajavorek
0
220
Statistics for Hackers
jakevdp
799
230k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.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 !!