This worked in Objective C
NSMutableData *data = [NSMutableData data]
But doesn't work in Rubymotion
Assertion failed: (DataSize > 0 && DataSize < 1000000), function executeCode, file jit/RemoteTargetExternal.cpp, line 66.
The application terminated. A crash report file may have been generated by the
system, use `rake crashlog' to open it. Use `rake debug=1' to restart the app
in the debugger.
TypeError: no implicit conversion from nil to integer
/Library/RubyMotion/lib/motion/project/template/ios.rb:231:in `block in <top (required)>'
/Users/Gavin/.rvm/gems/ruby-2.3.1/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => default => simulator
(See full trace by running task with --trace)