7

In Rubymotion we start terminal with rake

Ankits-MacBook-Pro:Magic ankitgupta$ rake 
     Build ./build/iPhoneSimulator-6.0-Development
  Simulate ./build/iPhoneSimulator-6.0-Development/Magic.app
(main)>

By default it is starting iPhoneSimulator-6.0-Development . How can i start iPhone 5.1 or 5.0 Simulator ?

AnkitG
  • 6,438
  • 7
  • 44
  • 72
  • You can read https://stackoverflow.com/questions/26279608/selecting-the-ios-simulator-device-type-with-rubymotion/26294916#26294916 – zhulinpinyu May 19 '15 at 09:39

2 Answers2

13

You should be able to set the target via the rake command, for example:

$ rake target=5.1 # => iOS 5.1

Noted in this pull request: https://github.com/HipByte/RubyMotion/pull/10

dwhite
  • 1,979
  • 1
  • 24
  • 43
2

To change the target device and OS try this:

bundle exec rake target=8.4 device_name="iPad 2"
Michele La Ferla
  • 6,775
  • 11
  • 53
  • 79