Note that there are some explanatory texts on larger screens.

plurals
  1. PORubyMotion and Dropbox
    text
    copied!<p>I'm working on getting the Dropbox Sync SDK working in my RubyMotion app. I've looked around and only found one other guy looking for <a href="https://groups.google.com/forum/#!topic/rubymotion/YbwSYmGEbMU" rel="nofollow" title="here">help</a>, however he's using the Dropbox Core SDK and I wasn't able to fix it the way he was able to. Here's what I've done so far:</p> <ol> <li>Downloaded the Dropbox Sync SDK, moved it to vendor/Dropbox.framework</li> <li>Added <code>app.vendor_project 'vendor/Dropbox.framework', :static, :products =&gt; ['Dropbox'], :headers_dir =&gt; 'Headers'</code> and <code>app.frameworks += ['Security','QuartzCore']</code> to my Rakefile.</li> <li>Ran <code>rake clean</code>, then <code>rake</code> and got the following output.</li> </ol> <blockquote> <p>Undefined symbols for architecture i386:<br> "std::__1::basic_string, std::__1::allocator >::compare(char const*) const", referenced from: fetch_metadata(dbx_client*, HttpRequester&amp;, dbx_path_val const&amp;, bool, bool, bool) in Dropbox(sync.o)</p> <p>...</p> </blockquote> <p>I can give the full stack trace if needed. Any idea what I'm missing? Thanks a boat load for any help.</p> <p>Edit: Stack trace using markrickert's method:</p> <pre><code>:~/Development/simple|master⚡ ⇒ rake rake aborted! [!] Unable to find a specification for `Dropbox-Sync-API-SDK`. ~/.rvm/gems/ruby-1.9.3-p448/gems/cocoapods-0.23.0/lib/cocoapods/resolver.rb:195:in `find_cached_set' ~/.rvm/gems/ruby-1.9.3-p448/gems/cocoapods-0.23.0/lib/cocoapods/resolver.rb:153:in `block (2 levels) in find_dependency_specs' ~/.rvm/gems/ruby-1.9.3-p448/gems/cocoapods-0.23.0/lib/cocoapods/user_interface.rb:113:in `message' ~/.rvm/gems/ruby-1.9.3-p448/gems/cocoapods-0.23.0/lib/cocoapods/resolver.rb:152:in `block in find_dependency_specs' ~/.rvm/gems/ruby-1.9.3-p448/gems/cocoapods-0.23.0/lib/cocoapods/resolver.rb:148:in `each' ~/.rvm/gems/ruby-1.9.3-p448/gems/cocoapods-0.23.0/lib/cocoapods/resolver.rb:148:in `find_dependency_specs' ~/.rvm/gems/ruby-1.9.3-p448/gems/cocoapods-0.23.0/lib/cocoapods/resolver.rb:65:in `block (2 levels) in resolve' ... </code></pre> <p>^^ Needed to run <code>pod setup</code> to fix this.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload