Comments (18)
What happens if you rake clean
?
from motion-sqlite3.
Seemed to work once perhaps, but problem recurred. It ends up with a blank build/sqlite3.bridgesupport
somehow.
I resorted to downloading the file from https://raw.github.com/dastels/MTGRules-rb/master/vendor/sqlite3/sqlite3.bridgesupport
from motion-sqlite3.
Wondering if motion.h isn't liking something...any ideas @kastiglione?
from motion-sqlite3.
OS X or iOS?
from motion-sqlite3.
iOS
from motion-sqlite3.
Can you try pointing your Gemfile to use motion.h from master (https://github.com/kastiglione/motion.h.git). If master fixes your problem than the solution is just for me to cut a new release.
from motion-sqlite3.
I can't reproduce the problem now! Feel free to close this, if it does come up again I'll attempt that fix.
from motion-sqlite3.
Chime in if the fix does or does not help.
from motion-sqlite3.
It happened again, and the fix did appear to do the trick.
from motion-sqlite3.
Once a new version of motion.h is released, I'll update the gemspec to use it.
from motion-sqlite3.
I release a v0.0.4
version of motion.h. Let me know if there are any troubles.
from motion-sqlite3.
Thanks Dave! 👍
Just pushed 0.5.2.
from motion-sqlite3.
Using both 0.0.4 of motion.h and 0.5.2 the error still persists. Manually copying sqlite3.bridgesupport from that MTGRules repo fixed the problem.
from motion-sqlite3.
@tylerjohnst Can you point your Gemfile
to master instead of 0.0.4 for motion.h? (https://github.com/kastiglione/motion.h.git)
@Watson1978 recently submitted a pull request to motion.h that might address the problem you're seeing. I should release v0.0.5 anyway, but in the mean time if you do try master, please let me know.
from motion-sqlite3.
Same problem empty BridgeSupport file is built.
from motion-sqlite3.
I think I'm running into the same problem. I simply cloned the repo, ran 'bundle', then 'rake'.
I get the following:
Build ./build/iPhoneSimulator-8.2-Development
Compile /Users/tom/projects/motion-sqlite3/lib/motion-sqlite3/result_set.rb
Compile /Users/tom/projects/motion-sqlite3/lib/motion-sqlite3/version.rb
Compile /Users/tom/projects/motion-sqlite3/lib/motion-sqlite3/database.rb
Compile /Users/tom/projects/motion-sqlite3/lib/motion-sqlite3/error.rb
Compile /Users/tom/projects/motion-sqlite3/lib/motion-sqlite3/statement.rb
Compile ./app/app_delegate.rb
2015-03-30 22:27:43.332 ruby[72811:1941863] can't open BridgeSupport full file at path `build/sqlite3.bridgesupport': Error Domain=NSXMLParserErrorDomain Code=4 "zero length data" UserInfo=0x7e5c5500 {NSLocalizedDescription=zero length data}
2015-03-30 22:27:43.360 ruby[72804:1941856] can't open BridgeSupport full file at path `build/sqlite3.bridgesupport': Error Domain=NSXMLParserErrorDomain Code=4 "zero length data" UserInfo=0x7e321310 {NSLocalizedDescription=zero length data}
2015-03-30 22:27:43.370 ruby[72810:1941862] can't open BridgeSupport full file at path `build/sqlite3.bridgesupport': Error Domain=NSXMLParserErrorDomain Code=4 "zero length data" UserInfo=0x7ec84230 {NSLocalizedDescription=zero length data}
2015-03-30 22:27:43.371 ruby[72808:1941860] can't open BridgeSupport full file at path `build/sqlite3.bridgesupport': Error Domain=NSXMLParserErrorDomain Code=4 "zero length data" UserInfo=0x803a3a90 {NSLocalizedDescription=zero length data}
2015-03-30 22:27:43.372 ruby[72809:1941861] can't open BridgeSupport full file at path `build/sqlite3.bridgesupport': Error Domain=NSXMLParserErrorDomain Code=4 "zero length data" UserInfo=0x80ebc910 {NSLocalizedDescription=zero length data}
2015-03-30 22:27:43.378 ruby[72806:1941858] can't open BridgeSupport full file at path `build/sqlite3.bridgesupport': Error Domain=NSXMLParserErrorDomain Code=4 "zero length data" UserInfo=0x7fe0bea0 {NSLocalizedDescription=zero length data}
rake aborted!
Command failed with status (1): [/usr/bin/env VM_PLATFORM="iPhoneSimulator"...]
/Library/RubyMotion/lib/motion/project/builder.rb:144:in `block (2 levels) in build'
/Library/RubyMotion/lib/motion/project/builder.rb:130:in `each'
/Library/RubyMotion/lib/motion/project/builder.rb:130:in `block in build'
/Library/RubyMotion/lib/motion/project/paralel_builder.rb:47:in `call'
/Library/RubyMotion/lib/motion/project/paralel_builder.rb:47:in `block (2 levels) in initialize'
Tasks: TOP => build:simulator
(See full trace by running task with --trace)
I'm using rvm with ruby 2.2.0, and rubymotion version 3.8.
from motion-sqlite3.
I've seen people having success recently, but only with the master branch of motion.h
. Give that a try.
from motion-sqlite3.
I'm having this problem on High Sierra with motion 5.3 . Has anyone found a solution for this? I've tried the above fixes to no avail.
from motion-sqlite3.
Related Issues (9)
- Support for android projects? HOT 1
- '/usr/lib/libsqlite3.dylib' not found
- Warning on compile: libsqlite3.a the table of contents is empty HOT 4
- FTS result not returning all column values HOT 2
- motion-sqlite3 conflicts with ServiceManagement HOT 8
- Please add a LICENSE file HOT 1
- Unable to open database file HOT 1
- Get row ID from newly inserted rows? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from motion-sqlite3.