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
Take a peep at .app
Search
griffin-stewie
December 08, 2017
Technology
0
440
Take a peep at .app
How to dig into Apple's app.
griffin-stewie
December 08, 2017
Tweet
Share
More Decks by griffin-stewie
See All by griffin-stewie
How I develop a Sketch Native Plugin
griffin_stewie
0
730
Boost your App Dev using Sketch
griffin_stewie
0
310
Lightweight Markup Language to PDF
griffin_stewie
1
610
ドキュメント作成どうしてる?
griffin_stewie
0
620
Pitfalls of PhotoKit
griffin_stewie
0
270
Talk about "clg" color list generator.
griffin_stewie
1
460
Tips for Apple Watch.
griffin_stewie
0
820
JSON をそこそこ見やすくする CUI ツールを Objective-C で作ったときの話
griffin_stewie
1
580
Other Decks in Technology
See All in Technology
JuniorからSeniorまで: DevOpsエンジニアの成長ロードマップ
yuriemori
0
220
株式会社ARAV 採用案内
maqui
0
350
「守る」から「進化させる」セキュリティへ ~AWS re:Inforce 2025参加報告~ / AWS re:Inforce 2025 Participation Report
yuj1osm
1
140
JOAI発表資料 @ 関東kaggler会
joai_committee
1
350
会社にデータエンジニアがいることでできるようになること
10xinc
9
1.6k
Android Studio の 新しいAI機能を試してみよう / Try out the new AI features in Android Studio
yanzm
0
270
見てわかるテスト駆動開発
recruitengineers
PRO
5
380
我々は雰囲気で仕事をしている / How can we do vibe coding as well
naospon
2
220
事業価値と Engineering
recruitengineers
PRO
2
250
そのコンポーネント、サーバー?クライアント?App Router開発のモヤモヤを可視化する補助輪
makotot
4
580
新規案件の立ち上げ専門チームから見たAI駆動開発の始め方
shuyakinjo
0
130
Yahoo!広告ビジネス基盤におけるバックエンド開発
lycorptech_jp
PRO
1
280
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Scaling GitHub
holman
462
140k
GitHub's CSS Performance
jonrohan
1031
460k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Music & Morning Musume
bryan
46
6.7k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Building Adaptive Systems
keathley
43
2.7k
Agile that works and the tools we love
rasmusluckow
329
21k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Making Projects Easy
brettharned
117
6.3k
The Art of Programming - Codeland 2020
erikaheidi
55
13k
Transcript
Take a peep at .app @griffin-stewie
Fenrir Inc. @griffin-stewie
Motive
• ۀͰʮApple ͷ˓˓ΞϓϦ෩ͳײ͡ʯ • ࣮ࡍʹͲ͏ͬͯΔͷ͔ؾʹͳΔ
We can do it!
iOS Simulator ͰͳΒ • Xcode ͷ Attach To Process •
ϓϩηε໊͕͔Ε͍͚Δ • ViewDebugging Ͱߏ͕͔Δ • LLDB Ͱ෦࣮͕͔Δ
1. Xcode ͰదͳϓϩδΣΫτΛ։͘ 2. γϛϡϨʔλͰ Debug Run 3. ରΞϓϦΛγϛϡϨʔλͰىಈͤ͞Δ 4.
Attach To Process 5. ViewDebugging ։࢝ खॱ
How to find?
ද໊ࣔ ϓϩηε໊ ΧϨϯμʔBQQ .PCJMF$BM ࣸਅBQQ .PCJMF4MJEF4IPX ਤBQQ .BQT /FXTBQQ /FXT
ϦϚΠϯμʔBQQ 3FNJOEFST ϔϧεέΞBQQ )FBMUI 8BMMFUBQQ 1BTTCPPL ઃఆBQQ 1SFGFSFODFT J.FTTBHFTBQQ .PCJMF4.4 4BGBSJBQQ .PCJMF4BGBSJ ࿈བྷઌBQQ $POUBDUT ϗʔϜը໘ 4QSJOH#PBSE
Demo
None
Tips
LLDBͰΰχϣΰχϣ • View Λબ • ӈϖΠϯ OnjectInspector ʹΞυϨε͕͋Δ • Console
ʹίϐϖͯ͠ϝιουݺͼग़͠
Swift ͰΖ͏ͱ͢Δͱ • Framework ͷΠϯϙʔτ͕ඞཁ • Ωϟετ͕ඞཁ • ͦͦະͷΞϓϦͩͱʹͳΒͳ͍
͜͜Ͱ Objective-C
Objective-C ͳΒ • Framework ͷΠϯϙʔτ͕ෆཁ • (ิ͕͍Βͳ͍ͳΒ)Ωϟετ͕ෆཁ • ະͰؔͳ͍
Wrap up
ಘΒΕͨݟ • Apple Container ViewController Λଟ༻͍ͯ͠ Δ • UIWindow.rootViewController
͕ΧελϜ ViewController • Ϋϥε໊ͷ໋໊ͷࢀߟ
͓·͚ • Ϋϥεͷ෦࣮·ͰݟΔͷςΫ͕͍Δ • LLDB Plugin (Chisel) ศར • ࣮ػͰσόοάγϯϘϧ͕͋Εʁ͕ࣗϏϧ
υͯ͠ͳ͍ΞϓϦͰ Attach ͯ͠ͷ͚ͧΔ