Undefined method `delegate' for NSDictionary:Class


#1

Hey guys, I’m on High Sierra running RubyMotion 5.8 and I am hitting this error on build:

 Simulate ./wds-ios/build/iPhoneSimulator-8.0-Development/WDS App.app (main)>

2018-05-02 12:03:08.783 WDS App[62727:63049444] vendor/bundle/ruby/2.4.0/gems/motion-support-1.2.0/motion/core_ext/ns_dictionary.rb:11:in `<main>':
undefined method `delegate' for NSDictionary:Class (NoMethodError) 	from vendor/bundle/ruby/2.4.0/gems/motion-support-1.2.0/motion/core_ext/ns_dictionary.rb:11:in `<main>'

2018-05-02 12:03:08.795 WDS App[62727:63049444]*** Terminating app due to uncaught exception 'NoMethodError', reason: 'vendor/bundle/ruby/2.4.0/gems/motion-support-1.2.0/motion/core_ext/ns_dictionary.rb:11:in `<main>': undefined method `delegate' for NSDictionary:Class (NoMethodError) 	from vendor/bundle/ruby/2.4.0/gems/motion-support-1.2.0/motion/core_ext/ns_dictionary.rb:11:in `<main>'

Any thoughts about what might be happening? Thanks!


#2

There is an open issue about this that the community is working on. Feel free to jump in: https://github.com/rubymotion/motion-support/issues/38