mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-02 22:42:49 +08:00
When customers does not install older iOS simulator, `rake target' task will fail with assertion, like: $ rake target=5.0 Build ./build/iPhoneSimulator-5.1-Development Compile ./app/app_delegate.rb Link ./build/iPhoneSimulator-5.1-Development/TestTwitter.app/TestTwitter Create ./build/iPhoneSimulator-5.1-Development/TestTwitter.dSYM Simulate ./build/iPhoneSimulator-5.1-Development/TestTwitter.app Assertion failed: (system_root != nil), function main, file sim.m, line 937. rake aborted! This message looks not kindly to customers. After changing: $ rake target=5.0 Build ./build/iPhoneSimulator-5.1-Development Compile ./app/app_delegate.rb Link ./build/iPhoneSimulator-5.1-Development/TestTwitter.app/TestTwitter Create ./build/iPhoneSimulator-5.1-Development/TestTwitter.dSYM Simulate ./build/iPhoneSimulator-5.1-Development/TestTwitter.app Not found iOS 5.0 simulator. rake aborted!