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
140
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
47
MacRuby & RubyMotion - Madridrb May 2012
markvillacampa
0
44
Other Decks in Programming
See All in Programming
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
140
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
980
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
900
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
AI時代におけるSRE、 あるいはエンジニアの生存戦略
pyama86
6
1.2k
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
距離関数を極める! / SESSIONS 2024
gam0022
0
290
イベント駆動で成長して委員会
happymana
1
340
Featured
See All Featured
Building Applications with DynamoDB
mza
90
6.1k
Rails Girls Zürich Keynote
gr2m
94
13k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
4 Signs Your Business is Dying
shpigford
180
21k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
110
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
KATA
mclloyd
29
14k
Code Reviewing Like a Champion
maltzj
520
39k
Optimizing for Happiness
mojombo
376
70k
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