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
45
Other Decks in Programming
See All in Programming
ドメインイベント増えすぎ問題
h0r15h0
2
570
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
7
1.4k
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
390
技術的負債と向き合うカイゼン活動を1年続けて分かった "持続可能" なプロダクト開発
yuichiro_serita
0
300
shadcn/uiを使ってReactでの開発を加速させよう!
lef237
0
300
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
590
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
130
良いユニットテストを書こう
mototakatsu
11
3.6k
Lookerは可視化だけじゃない。UIコンポーネントもあるんだ!
ymd65536
1
130
DevFest - Serverless 101 with Google Cloud Functions
tunmise
0
140
ErdMap: Thinking about a map for Rails applications
makicamel
1
660
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
1
150
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
Rails Girls Zürich Keynote
gr2m
94
13k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Why Our Code Smells
bkeepers
PRO
335
57k
BBQ
matthewcrist
85
9.4k
Gamification - CAS2011
davidbonilla
80
5.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Making Projects Easy
brettharned
116
6k
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