colinta / motion-xray

An iOS Inspector that runs inside your app, so you can debug and analyze from your device in real-world situations.
555 stars 13 forks source link

'undefined method `uiimage' for "xray_lock_button_unlocked":String (NoMethodError) #7

Closed anddon closed 10 years ago

anddon commented 10 years ago

I get an 'undefined method uiimage' for "xray_lock_button_unlocked":String (NoMethodError) error when initializing a Motion::Xray::XrayWindow. I think it has something to do with the way sugarcube is required. I tried to replace require 'sugarcube' from lib/motion-xray.rb with require 'sugarcube-common' but with no success. Any ideas on how I could fix this?

colinta commented 10 years ago

I think I needed to fix the requires. Try version 1.0.6