AnkitG
AnkitG

Reputation: 6568

How can i start a different simulator with Rubymotion command line

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 ?

Upvotes: 7

Views: 1543

Answers (2)

user5611163
user5611163

Reputation: 21

To change the target device and OS try this:

bundle exec rake target=8.4 device_name="iPad 2"

Upvotes: 2

dwhite
dwhite

Reputation: 1988

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

Upvotes: 13

Related Questions