Skip navigation.
 
mlRe: cross development ppc intel problem
FROM : Dave Hersey
DATE : Tue Mar 11 18:10:42 2008

You should run the IB compatibility check for the version of the OS 
you're targeting. It sounds like your button images are set to scale, 
which isn't supported prior to 10.5.

Open your nib and click the "info" button if you're using IB3. Then 
set the target OS. If you click on the entries, it will take you right 
to the source of the problems. If you're not using IB3, select 
"Compatibility Checking..." under the File menu.

But, basically, buttons can't scale images except on 10.5. You need to 
do it yourself for older versions. It probably makes sense to just pre-
scale the images in a graphics program.

- d

On Mar 11, 2008, at 12:59 PM, vinay wrote:

> I'm fairly new to XCode and mac development and am trying build a 
> universal
> binary that I started designing on leopard intel.
> When I finally got my hands on a ppc tiger machine to test the UI 
> looks
> completely different. The main issue is that the icons for my 
> buttons are
> "zoomed in" on the ppc(probably same issue on tiger regardless of 
> arch) and
> I'm unable to figure out why -- and I'm not able to select another 
> icon file
> in Interface builder. What I mean here is that the entire icon shows 
> on
> leopard on the face of the button while on tiger/ppc a subset of it 
> shows
> because it's zoomed in and covers the whole face of the button. As a 
> result
> the app looks horrible because the icons look meaningless. I'm 
> using .icns
> files.
>
> I then saved my project to XCode 2.4 and also downgraded the NIB to
> 2.x(after resolving some small issues) and building on the ppc machine
> using
> XCode 2.5 produced the same problem.
>
> The app generally works but is more unstable that I need to debug 
> and test
> and the behaviour is also slightly different but I'm sure that may be
> inherent issues that surface on the other architecture that I just 
> need to
> debug through.

Related mailsAuthorDate
mlcross development ppc intel problem vinay Mar 11, 17:59
mlRe: cross development ppc intel problem Dave Hersey Mar 11, 18:10