I'm trying to add the a library to my Rubymotion project, it shows no errors but I can't seem to access the classes in the library, in my rakefile I have ...
app.vendor_project('vendor/iSpeechSDK', :static, :products => ["libiSpeechSDK.a"], :headers_dir => "Headers") app.frameworks += ['iSpeechSDK']
The .a file and .h files in the Headers directory all exist
In my app_delegate I have this code ...
@sdk = iSpeechSDK.sharedSDK
But I get the error ...
Simulate ./build/iPhoneSimulator-5.0-Development/Mirror Mirror.app (main)> 2012-07-19 10:50:05.978 Mirror Mirror[26195:11903] app_delegate.rb:13:in
application:didFinishLaunchingWithOptions:': undefined local variable or methodiSpeechSDK' for # (NameError) 2012-07-19 10:50:05.980 Mirror Mirror[26195:11903] * Terminating app due to uncaught exception 'NameError', reason: 'app_delegate.rb:13:in
application:didFinishLaunchingWithOptions:': undefined local variable or methodiSpeechSDK' for # (NameError) ' * First throw call stack: (0xa88052 0x417d0a 0x207954 0x5c285 0x5bce1)
Could you make a small Post with the problem and the solution ?
Cool, but if you want, you can create a simple gist on github and send the reference in the ml,
because iSpeechSDK can be very useful for everybody.
On 07/19/2012 03:17 PM, Richard Smith wrote:
> No problem at all, will post something later. I've also got the library to 'speak' now as it should
> so will add that in too for future reference.
> On Thursday, July 19, 2012 2:12:37 PM UTC+1, Stï¿½phane Wirtel wrote:
> Hi Richard,
> Could you make a small Post with the problem and the solution ?
> Thank you,
You received this message because you are subscribed to the Google Groups "RubyMotion - Ruby for iOS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubymotion+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubymotion/eebdb37f-6dd0-49fd-b3ec-60b26ecf3788%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.