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
310
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
130
How to build visionOS apps using Persona
akkeylab
1
250
Summary - Introducing enterprise APls for visionOS
akkeylab
0
440
Apple Vision Pro trial session
akkeylab
0
260
How to support Privacy Manifest
akkeylab
0
390
Let's make it compatible with visionOS!
akkeylab
0
250
Let's Join the Android community!
akkeylab
0
160
顔写真メイクアップアプリの開発におけるプライバシー保護とコスト削減のための手法
akkeylab
1
400
How to hide the key
akkeylab
0
320
Other Decks in Programming
See All in Programming
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
670
Immutable ActiveRecord
megane42
0
130
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
770
SpringBoot3.4の構造化ログ #kanjava
irof
2
970
Domain-Driven Transformation
hschwentner
2
1.9k
“あなた” の開発を支援する AI エージェント Bedrock Engineer / introducing-bedrock-engineer
gawa
11
1.8k
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
7
2.5k
Java Webフレームワークの現状 / java web framework at burikaigi
kishida
9
2.2k
ISUCON14公式反省会LT: 社内ISUCONの話
astj
PRO
0
180
Open source software: how to live long and go far
gaelvaroquaux
0
620
社内フレームワークとその依存性解決 / in-house framework and its dependency management
vvakame
1
550
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
110
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
67
11k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Unsuck your backbone
ammeep
669
57k
Adopting Sorbet at Scale
ufuk
74
9.2k
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
GitHub's CSS Performance
jonrohan
1030
460k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
114
50k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
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 !!