From: Christian A. <chr...@so...> - 2009-10-14 09:30:52
|
Hi, I've filed this bug on Apple radar as #7301789 > A preference pane built with rubycocoa that comes with OSX since > 10.5 crashes on 10.6.1, when the NIB contains a NSImageView. > Downgrading rubycocoa to 0.13.2 resolves the issue, as well does > removing all images from the window (which is not always applicable). > > Steps to reproduce: > > 1. Create a new xcode project, I've used the latest version of xcode > as of today. You could use the RubyCocoa template for creating a > PreferencePane available at http://code.google.com/p/threeve/source/browse > (thanks to Jason Foreman) > > 2. Open the xib file, drag any image onto it from the media library. > For simplicity, I've used the prefpane icon. The image is visible in > Interface Builder. > > 3. Save the xib, return to xcode, build the prefpane. It should give > you a warning about window sizes, but that doesn't matter. > > 4. Open the prefpane. "System preferences" starts, asks you to > install it, reminds you about restarting in 32bit mode, and hangs. > > 5. On the console, you'll find an error like this: > > 14.10.09 10:45:20 System Preferences[11487] -[NSCFNumber > pathForImageResource:]: unrecognized selector sent to instance > 0x15de9ea0 Downgrading to 0.13.2 actually resolves this issue, but as it other implications on 10.6? After all, 10.6 comes with a new version of rubycocoa for a reason, I assume. Regards, Christian |