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
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
240
선언형 UI에서의 상태관리
l2hyunwoo
0
270
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
390
shadcn/uiを使ってReactでの開発を加速させよう!
lef237
0
300
20241217 競争力強化とビジネス価値創出への挑戦:モノタロウのシステムモダナイズ、開発組織の進化と今後の展望
monotaro
PRO
0
290
Androidアプリの One Experience リリース
nein37
0
1.2k
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
300
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
190
AHC041解説
terryu16
0
390
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
370
Findy Team+ Awardを受賞したかった!ベストプラクティス応募内容をふりかえり、開発生産性向上もふりかえる / Findy Team Plus Award BestPractice and DPE Retrospective 2024
honyanya
0
140
AppRouterを用いた大規模サービス開発におけるディレクトリ構成の変遷と問題点
eiganken
1
450
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
89
5.8k
4 Signs Your Business is Dying
shpigford
182
22k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Speed Design
sergeychernyshev
25
740
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
A designer walks into a library…
pauljervisheath
205
24k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Why Our Code Smells
bkeepers
PRO
335
57k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
The Pragmatic Product Professional
lauravandoore
32
6.4k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
How STYLIGHT went responsive
nonsquared
96
5.3k
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