rubymotion-community / sugarcube

Some sugar for your cocoa. RubyMotion helpers.
Other
422 stars 66 forks source link

Can't compile stub for selector `setDuration:': #17

Closed pachun closed 11 years ago

pachun commented 11 years ago

Using sdk 6.0 & RM 1.28 I'm getting a compile error from sugarcube:

 Build ./build/iPhoneSimulator-6.0-Development
 Build vendor/Pods
 Compile /Users/pachun/.rvm/gems/ruby-1.9.3-p286/gems/sugarcube-0.11.3/lib/sugarcube/uiview.rb
 2012-12-08 00:05:01.366 ruby[11237:f0b] unrecognized runtime type `{_CMTime=qiIq}' (TypeError)
 Can't compile stub for selector `setDuration:': unrecognized runtime type `{_CMTime=qiIq}' (TypeError)
 rake aborted!
 Command failed with status (1): [/usr/bin/env VM_KERNEL_PATH="/Library/Ruby...]

 Tasks: TOP => default => simulator => build:simulator
 (See full trace by running task with --trace)
pachun commented 11 years ago

I can't reproduce this. It's an issue with my setup, not sugarcubes.

andyw8 commented 11 years ago

I'm seeing in this in 1.29 (I can't upgrade to 1.30 because of a different issue). Compiling for iOS 6.

Possible dupe of #11