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
Mark Villacampa
September 18, 2015
Programming
3
150
Desmistifying the iOS Simulator
Lightning talk at NSSpain 2015
Mark Villacampa
September 18, 2015
Tweet
Share
More Decks by Mark Villacampa
See All by Mark Villacampa
Impresión 3D: Desktop Manufacturing
markvillacampa
0
54
MacRuby & RubyMotion - Madridrb May 2012
markvillacampa
0
49
Other Decks in Programming
See All in Programming
CSC305 Lecture 09
javiergs
PRO
0
320
ALL CODE BASE ARE BELONG TO STUDY
uzulla
28
6.7k
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
260
Foundation Modelsを実装日本語学習アプリを作ってみた!
hypebeans
0
130
AI駆動で0→1をやって見えた光と伸びしろ
passion0102
1
870
Developer Joy - The New Paradigm
hollycummins
1
370
One Enishi After Another
snoozer05
PRO
0
160
AkarengaLT vol.38
hashimoto_kei
1
130
Amazon Verified Permissions実践入門 〜Cedar活用とAppSync導入事例/Practical Introduction to Amazon Verified Permissions
fossamagna
2
100
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
2
820
Devvox Belgium - Agentic AI Patterns
kdubois
1
150
PHPに関数型の魂を宿す〜PHP 8.5 で実現する堅牢なコードとは〜 #phpcon_hiroshima / phpcon-hiroshima-2025
shogogg
1
340
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
How GitHub (no longer) Works
holman
315
140k
The Invisible Side of Design
smashingmag
302
51k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
KATA
mclloyd
PRO
32
15k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Site-Speed That Sticks
csswizardry
13
930
The World Runs on Bad Software
bkeepers
PRO
72
11k
Bash Introduction
62gerente
615
210k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
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