Reputation: 6568
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
Reputation: 21
To change the target device and OS try this:
bundle exec rake target=8.4 device_name="iPad 2"
Upvotes: 2
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