From befb73f73d347ab5a3ca89e6c9ac68c78417b2fb Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Sat, 21 Dec 2013 11:46:31 +0100 Subject: [PATCH] better message --- bin/sim.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/sim.m b/bin/sim.m index 529ac318..c9e35419 100644 --- a/bin/sim.m +++ b/bin/sim.m @@ -1309,8 +1309,8 @@ main(int argc, char **argv) [[NSBundle bundleWithPath:[xcode_path stringByAppendingPathComponent:@"Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/DVTiPhoneSimulatorRemoteClient.framework"]] load]; Class Platform = NSClassFromString(@"DVTPlatform"); - if (!Platform) { - fprintf(stderr, "*** We stopped supporting Xcode 4. Please use Xcode 5 or higher.\n\n"); + if (Platform == NULL) { + fprintf(stderr, "*** RubyMotion requires Xcode 5 or higher.\n\n"); exit(1); }