I dealt with this overall 'stub for message not precompiled' issue
when using a different static 3rd party library. The issue is that
there is no BridgeSupport file, and Ruby Motion is not generating one.
I'm not sure if I don't understand how to configure the project
correctly, or if its a bug when using a Framework as a static library,
but essentially the RubyMotion code doesn't grab the headers provided
in the :headers_dir for generating the BridgeSupport file.
Here is the relevant section of my Rakefile:
app.vendor_project('/Users/jj/Library/SDKs/ArcGIS/
ArcGIS.framework', :static,
:products => ['ArcGIS'],
:headers_dir => 'Headers'
)
Now, to make this work, I've modified /Library/RubyMotion/lib/motion/
project/vendor.rb and changed the Dir.glob on line 38 from:
source_files = (opts.delete(:source_files) or Dir.glob('*.
{c,m,cpp,cxx,mm,h}'))
to:
source_files = (opts.delete(:source_files) or Dir.glob('**/*.
{c,m,cpp,cxx,mm,h}'))
After doing that, and then running rake clean, everything runs
correctly on the next build (rake).
I've submitted a ticket for this, and hopefully it either gets fixed
or I get instruction on how to configure my Rakefile properly.
On May 7, 5:54 pm, Heath Provost <
heath_prov...@schumachergroup.com>
wrote: