Closed defvol closed 12 years ago
Looks like the problem is in https://github.com/rubymotion/sugarcube/blob/master/lib/sugarcube/uiview.rb line 167
Where you try to set duration for a CAKeyframeAnimation. There's no duration property in the Apple documentation for that class nor in CAPropertyAnimation
are you testing ios 6? it's working for me in ios 5.1...
I'm testing 5.1, and @cicloid is testing on 6.0
Ok, I see ... it's not an unrecognized selector but an unrecognized type
Same issue in nsdate_delta.rb and there's no setDuration
Compile /Users/rod/CitiVox/m/Vox/vendor/bundle/ruby/1.9.1/bundler/gems/sugarcube-4b507e9c5b7f/lib/sugarcube/nsdate_delta.rb
2012-09-19 13:20:28.676 ruby[22813:f0b] unrecognized runtime type `{_CMTime=qiIq}' (TypeError)
unrecognized runtime type `{_CMTime=qiIq}' (TypeError)
Closing this. It ended up being a combination of other projects - I think it was NSXImage that caused this bizarre error.
:+1: agree ... removing NYXImagesKit fixed the problem
I have same issue {_CMTime=qiIq}. In my case, remove nsdate.rb (not nsdate_delta.rb) and use your(@colinta) uiview patch https://github.com/rubymotion/sugarcube/commit/bd8bf63b13b100957e823487a88e9c1176efe159. I could compile it successfully.
I'm getting this error with GameKit framework included
I get _unrecognized runtime type CMTime
The same happens for nsset.rb