Comments (13)
BubbleWrap's BubbleWrap::Device::Screen
module appears to be conflicting.
from promotion.
Link to BW's module:
https://github.com/rubymotion/BubbleWrap/blob/master/motion/core/device/screen.rb
from promotion.
Interestingly, turning off detect_dependencies
also appears to fix the problem. RubyMotion must be attempting to load the wrong Screen.
from promotion.
I submitted a support ticket to RubyMotion to see if the problem could be with the detect_dependencies functionality. I'll post a demo app for the crash in a bit.
from promotion.
Also identified that this does not happen when including ProMotion from a git repo:
No Crash
source 'https://rubygems.org'
gem "bubble-wrap"
gem "ProMotion", :git => "git://github.com/clearsightstudio/ProMotion.git", :branch => "version-0.6"
Crash
source 'https://rubygems.org'
gem "bubble-wrap"
gem "ProMotion", :path => "../ProMotion" # this is identical code to the git repo above
It must have something to do with load paths.
from promotion.
This definitely has to be a RubyMotion bug.
from promotion.
From RubyMotion support:
Hi Jamon Holmgren,
I think this bug has been fixed in the next RubyMotion release.
In the meantime you might want to try to use the previous version : motion update –force-version=1.34
I keep the this ticket open until we release the next version.
from promotion.
Hi Jamon Holmgren,
RM 2.0 is out, should fix your issue : http://t.co/sPhjVIKySQ
Feel free to reopen this ticket if needed.
from promotion.
Did anyone verify that it was fixed?
|ruby-1.9.3-p327-falcon| Mark-Rickerts-Macbook-Air in ~/Dropbox/Rickert/testing8
○ → motion --version
2.0
rake clean && rake
** BUILD SUCCEEDED **
Compile ./app/app_delegate.rb
Compile ./app/Screens/home_screen.rb
Create ./build/iPhoneSimulator-6.1-Development/testing8.app
Link ./build/iPhoneSimulator-6.1-Development/testing8.app/testing8
Create ./build/iPhoneSimulator-6.1-Development/testing8.app/Info.plist
Create ./build/iPhoneSimulator-6.1-Development/testing8.app/PkgInfo
Copy ./resources/[email protected]
Create ./build/iPhoneSimulator-6.1-Development/testing8.dSYM
Simulate ./build/iPhoneSimulator-6.1-Development/testing8.app
2013-05-09 14:35:26.129 testing8[77413:c07] uninitialized constant ProMotion::ScreenModule (NameError)
2013-05-09 14:35:26.132 testing8[77413:c07] *** Terminating app due to uncaught exception 'NameError', reason: 'uninitialized constant ProMotion::ScreenModule (NameError)
turn off detect_dependencies
Works.
You can see it using a blank project using my mrickert-custom
template.
from promotion.
Nope -- I trust, I don't verify.
from promotion.
I'll dig into it when I can -- today is nuts with new app project requests. That's a good thing!
from promotion.
Definitely. It's good to be busy!
Are you doing most of your app dev now in RubyMotion or are you still in the Obj-C world?
from promotion.
RubyMotion -- one potential PhoneGap plugin project might require some Obj-C unless I can figure out how to use RubyMotion to build a PhoneGap plugin. If I do, I'll put up a blog post about it.
from promotion.
Related Issues (20)
- Unable to position a TableView by using frame style HOT 4
- ProMotion lifecycle methods running out of order HOT 1
- Unable to add remote image to nav_bar button HOT 3
- Switching to Screen if already open HOT 2
- How to scroll TableScreen to bottom programatically? HOT 2
- Change tab_bar backgroundcolor HOT 2
- Remote images not showing on first load of Table Screen HOT 3
- use custom class for open_tab_bar HOT 1
- Image picker crashes in iOS10 HOT 1
- 'live' and 'pm_live' don't work anymore with version 4.13 HOT 10
- app delegate methods never called HOT 2
- Error can't convert CommentScreen into String (TypeError) HOT 5
- CollectionScreen crashes after reloading data HOT 1
- Cynical dependencies HOT 3
- Circular dependencies on High Sierra HOT 11
- search_text no longer works
- uninitialized constant ProMotion::UITabBarController (NameError) HOT 6
- Regression: WebScreen synchronous javascript execution
- Regression (or simply failing test): table screen `on_reuse` is not called after scrolling
- Ruby 2.6 deprecations removed in Ruby 2.7
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 promotion.