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
Desmistifying the iOS Simulator
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Mark Villacampa
September 18, 2015
Programming
170
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Desmistifying the iOS Simulator
Lightning talk at NSSpain 2015
Mark Villacampa
September 18, 2015
More Decks by Mark Villacampa
See All by Mark Villacampa
Impresión 3D: Desktop Manufacturing
markvillacampa
0
64
MacRuby & RubyMotion - Madridrb May 2012
markvillacampa
0
59
Other Decks in Programming
See All in Programming
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
150
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.3k
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
18
6.3k
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
120
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
640
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
530
Claspは野良GASの夢をみるか
takter00
0
180
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
210
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
240
Agentic UI
manfredsteyer
PRO
0
120
さぁV100、メモリをお食べ・・・
nilpe
0
130
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
エンジニアに許された特別な時間の終わり
watany
107
250k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
190
Building Applications with DynamoDB
mza
96
7.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
Speed Design
sergeychernyshev
33
1.8k
Mind Mapping
helmedeiros
PRO
1
240
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
600
Transcript
Demystifying the Simulator
@MarkVillacampa
RubyMotion
None
None
KNOW YOUR TOOLS
$ xcrun simctl create delete pair unpair erase boot shutdown
rename getenv openurl addphoto install uninstall get_app_container launch spawn list icloud_sync help
create delete pair unpair erase boot shutdown rename getenv openurl
addphoto install uninstall get_app_container launch spawn list icloud_sync help $ xcrun simctl
Multiple simulators running in parallel
https://github.com/facebook/FBSimulatorControl (Yes, another Facebook project shoutout)
$XCODE = /Applications/Xcode.app/Contents/Developer/
SimRuntimes - One builtin SimRuntime per platform: /Library/Developer/CoreSimulator/profiles/Runtimes $XCODE/Platforms/AppleTVSimulator.platform/Developer/Library/CoreSimulator/ Profiles/Runtimes/tvOS
9.0.simruntime/ $XCODE/Platforms/WatchSimulator.platform/Developer/Library/CoreSimulator/ Profiles/Runtimes/watchOS 2.0.simruntime/ $XCODE/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/ Profiles/Runtimes/iOS 9.1.simruntime/ - Additional SimRuntimes:
- Install additional SimRuntimes: https://github.com/neonichu/xcode-install/pull/47 xcode-install By jpsim by @neonacho
DeviceTypes - Defined by Xcode: $XCODE/Platforms/iPhoneSimulator.platform/Developer/ Library/CoreSimulator/Profiles/DeviceTypes/
$ xcrun simctl list - Available DeviceTypes - Available SimRuntimes
- Existing devices
$ DEVICETYPE=com.apple.CoreSimulator.SimDeviceType.iPhone-6 $ SIMRUNTIME=com.apple.CoreSimulator.SimRuntime.iOS-8-4 $ xcrun simctl create hugephone $DEVICETYPE
$SIMRUNTIME CA898799-099C-4DB8-A3D4-FE11A78D9BD1 CREATING A NEW DEVICE
~/Library/Developer/CoreSimulator
- WatchOS $XCODE/Applications/Simulator (Watch).app - iOS and tvOS $XCODE/Applications/Simulator.app TWO
SIMULATOR APPLICATIONS
- CI Servers WHY THIS IS IMPORTANT - Avoid using
Xcode - Know your tools