I tried your sample project.
Seems that this is similar with https://hipbyte.myjetbrains.com/youtrack/issue/RM-851
We have been using
BridgeSupport to retrieve meta information as bridge for calling Objc method from Ruby land. (The meta information has been used for type converting between Objc type and Ruby object type.)
BridgeSupport still has the problem.
Your project will generate
GoogleCast.framework.bridgesupport and it has invalid information.
$ find ~/Library/RubyMotion -name "GoogleCast.framework.bridgesupport" | xargs grep -e "name='NSString'"
<constant declared_type='int' name='NSString' type='i'/>
1) Remove above "constant ...name='NSString'" line from
sugarcube, this command will remove compiled objects.
(Should not run
rake clean:all, it will also remove editted
rake to build your app.