warning: Image scaling is not supported on Mac OS X versions prior to 10.5.
Hi, All, I had made a simple login dialog by interface builder, but when I built this xib file in xcode, I got the following errors CompileXIB /Users/younker/Developer/Example1/English.lproj/MainMenu.xib cd /Users/younker/Developer/Example1 /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/younker/Developer/Example1/build/Debug/Example1.app/Contents/Resource s/English.lproj/MainMenu.nib /Users/younker/Developer/Example1/English.lproj/MainMenu.xib /* com.apple.ibtool.document.notices */ /* com.apple.ibtool.document.warnings */ /Users/younker/Developer/Example1/English.lproj/MainMenu.xib:460: warning: Image scaling is not supported on Mac OS X versions prior to 10.5. /Users/younker/Developer/Example1/English.lproj/MainMenu.xib:458: warning: Image scaling is not supported on Mac OS X versions prior to 10.5. /* com.apple.ibtool.document.errors */ What does this mean? I donĀ¹t change the attributes related to images in the simple login window. Best Regards. [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: warning: Image scaling is not supported on Mac OS X versions prior to 10.5.
On Apr 14, 2008, at 6:12 AM, yang younker wrote: /* com.apple.ibtool.document.notices */ /* com.apple.ibtool.document.warnings */ /Users/younker/Developer/Example1/English.lproj/MainMenu.xib:460: warning: Image scaling is not supported on Mac OS X versions prior to 10.5. /Users/younker/Developer/Example1/English.lproj/MainMenu.xib:458: warning: Image scaling is not supported on Mac OS X versions prior to 10.5. /* com.apple.ibtool.document.errors */ This means your NIB/XIB has a deployment target not equal to 10.5.x, but you have some sort of button or other view whose Scaling setting is not None. If you go into Interface Builder, and go to your file's Info window, it will show a list of all these warnings. Either change your deployment target, or click each warning to pull up the problematic view in the inspector window and set its Scaling to None. It may be alright to ignore these warnings, I don't know. hope this helps, -natevw ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: warning: Image scaling is not supported on Mac OS X versions prior to 10.5.
On Apr 14, 2008, at 9:09 AM, Nathan Vander Wilt wrote: This means your NIB/XIB has a deployment target not equal to 10.5.x, but you have some sort of button or other view whose Scaling setting is not None. If you go into Interface Builder, and go to your file's Info window, it will show a list of all these warnings. Either change your deployment target, or click each warning to pull up the problematic view in the inspector window and set its Scaling to None. It may be alright to ignore these warnings, I don't know. The real problem with this as I see it is that it happens with a default project with no changes. Create a new Cocoa application, open the NIB and add a Push Button/NSButton on the window. You'll get a NIB warning the OP describes immediately. Bad default settings in my opinion. In order to make the warning go away you can either set the build target for the NIB file to 10.5 or set the Scaling attribute to none for the button. Neither of this is immediately obvious to newbies like myself because you would assume things like that just work. What I've been wondering: What happens if I get a warning like this, switch my build target to 10.5 and the final application runs on a pre 10.5 system? Will it crash, will the scaling functionality just don't work or will the user get lots of error messages when starting the application? Regards Markus -- __ Markus Spoettl ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]