Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Desmistifying the iOS Simulator
Mark Villacampa
September 18, 2015
Programming
3
110
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
23
MacRuby & RubyMotion - Madridrb May 2012
markvillacampa
0
33
Other Decks in Programming
See All in Programming
New Relicを使った Observabilityの実現方法と活用例 / gocon 2022 spring after talk
budougumi0617
0
790
How useEvent would change our applications
koba04
1
1.1k
WindowsコンテナDojo:第2回 Windowsコンテナアプリのビルド、公開、デプロイ
oniak3ibm
PRO
0
130
Angular's new Standalone Components: How Will They Affect My Architecture? @iJS London 2022
manfredsteyer
PRO
0
370
Practical Advanced Kotlin in Practice
rock3r
3
130
2022 Android Training
mixi_engineers
1
620
Securing Kafka Connect Pipelines with Client-Side Field Level Cryptography @ Kafka Summit London 2022
hpgrahsl
0
300
Go言語仕様輪読会の開催を通じた振り返り
syumai
1
130
質とスピード(2022春版、質疑応答用資料付き) / Quality and Speed 2022 Spring Edition
twada
PRO
27
17k
Jetpack DataStore
djain2405
1
170
How to get satisfaction from ungrateful work: A journey into updating Kotlin
syrinet
0
110
Nix for Scala folks
kubukoz
0
120
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
24
6.1k
GitHub's CSS Performance
jonrohan
1020
410k
The MySQL Ecosystem @ GitHub 2015
samlambert
238
11k
The Language of Interfaces
destraynor
148
20k
jQuery: Nuts, Bolts and Bling
dougneiner
56
6.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
224
49k
Making Projects Easy
brettharned
98
4.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
38
12k
Thoughts on Productivity
jonyablonski
43
2.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
19
1.1k
Building Better People: How to give real-time feedback that sticks.
wjessup
343
17k
Fashionably flexible responsive web design (full day workshop)
malarkey
396
62k
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