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
430
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
680
Boost your App Dev using Sketch
griffin_stewie
0
290
Lightweight Markup Language to PDF
griffin_stewie
1
570
ドキュメント作成どうしてる?
griffin_stewie
0
590
Pitfalls of PhotoKit
griffin_stewie
0
250
Talk about "clg" color list generator.
griffin_stewie
1
440
Tips for Apple Watch.
griffin_stewie
0
790
JSON をそこそこ見やすくする CUI ツールを Objective-C で作ったときの話
griffin_stewie
1
570
Other Decks in Technology
See All in Technology
急成長する企業で作った、エンジニアが輝ける制度/ 20250214 Rinto Ikenoue
shift_evolve
2
880
アジャイル開発とスクラム
araihara
0
160
テストアーキテクチャ設計で実現する高品質で高スピードな開発の実践 / Test Architecture Design in Practice
ropqa
3
710
AndroidXR 開発ツールごとの できることできないこと
donabe3
0
110
滅・サービスクラス🔥 / Destruction Service Class
sinsoku
6
1.5k
TAMとre:Capセキュリティ編 〜拡張脅威検出デモを添えて〜
fujiihda
1
110
サーバーレスアーキテクチャと生成AIの融合 / Serverless Meets Generative AI
_kensh
12
3k
現場で役立つAPIデザイン
nagix
29
10k
Culture Deck
optfit
0
330
AndroidデバイスにFTPサーバを建立する
e10dokup
0
240
開発者が自律的に AWS Security Hub findings に 対応する仕組みと AWS re:Invent 2024 登壇体験談 / Developers autonomously report AWS Security Hub findings Corresponding mechanism and AWS re:Invent 2024 presentation experience
kaminashi
0
190
Googleマップ/Earthが一般化した 地図タイルのイマ
mapconcierge4agu
1
200
Featured
See All Featured
Six Lessons from altMBA
skipperchong
27
3.6k
Visualization
eitanlees
146
15k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
950
Designing Experiences People Love
moore
139
23k
4 Signs Your Business is Dying
shpigford
182
22k
Done Done
chrislema
182
16k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
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 ͯ͠ͷ͚ͧΔ