title: Rubymotion including a static library
body: <p>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 ...</p>
  
  <pre><code>app.vendor_project('vendor/iSpeechSDK', :static,
      :products =&gt; ["libiSpeechSDK.a"],
      :headers_dir =&gt; "Headers")
  
  app.frameworks += ['iSpeechSDK']
  </code></pre>
  
  <p>The .a file and .h files in the Headers directory all exist</p>
  
  <p>In my app_delegate I have this code ...</p>
  
  <pre><code>@sdk = iSpeechSDK.sharedSDK
  </code></pre>
  
  <p>But I get the error ...</p>
  
  <p>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 <code>application:didFinishLaunchingWithOptions:': undefined local variable or method</code>iSpeechSDK' for # (NameError)
  2012-07-19 10:50:05.980 Mirror Mirror[26195:11903] <strong>* Terminating app due to uncaught exception 'NameError', reason: 'app_delegate.rb:13:in <code>application:didFinishLaunchingWithOptions:': undefined local variable or method</code>iSpeechSDK' for # (NameError)
  '
  *</strong> First throw call stack:
  (0xa88052 0x417d0a 0x207954 0x5c285 0x5bce1)</p>