Files
RubyMotion/test
Watson 4ca70a7e18 [test] fix where "rake spec" does't work if there is symbolic link in SDK path
The symbolic link "iPhoneSimulator8.0.sdk -> iPhoneSimulator.sdk" was introduce at Xcode 6 beta6 which cause an error.

$ rake spec
rake aborted!
undefined method `[]' for nil:NilClass
/Users/watson/prj/RubyMotion/test/test/Rakefile:54:in `block in <top (required)>'
/Users/watson/prj/RubyMotion/test/test/Rakefile:53:in `map'
/Users/watson/prj/RubyMotion/test/test/Rakefile:53:in `<top (required)>'
(See full trace by running task with --trace)

$ ls -la /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
total 8
drwxr-xr-x@  7 watson  admin  238  9 11 17:17 .
drwxr-xr-x@  5 watson  admin  170  9  5 00:03 ..
drwxr-xr-x@ 12 watson  admin  408  9  3 03:40 iPhoneSimulator.sdk
drwxr-xr-x   8 watson  admin  272  9 10 23:51 iPhoneSimulator6.1.sdk
drwxrwxr-x  11 root    admin  374 12 10  2013 iPhoneSimulator7.0.sdk
drwxr-xr-x  12 watson  admin  408  9 10 18:18 iPhoneSimulator7.1.sdk
lrwxr-xr-x   1 watson  admin   19  9  5 00:03 iPhoneSimulator8.0.sdk -> iPhoneSimulator.sdk
2014-09-13 22:20:36 +09:00
..
2014-02-24 07:41:48 +09:00
2014-02-20 13:13:58 +09:00
2013-04-13 17:25:42 +09:00