August 13, 2008 at 8:30 am #22380
I have a Scanner Application developed using xcode.When I build it and on a PPC machine its running fine,can select source and acquire image.When I run Same project in a Intel Mac book it doesnt show select source entries.Its empty.
Can anyone have a idea ? to run this solution in both Architecture….
AmilaAugust 13, 2008 at 6:00 pm #24610
…When I build it and on a PPC machine its running fine,can select source and acquire image.When I run Same project in a Intel Mac book it doesnt show select source entries…
Are you building a universal binary (i.e. Both Intel and PowerPC code in the object code)? If your app is PowerPC-only, it will not load Intel-only DS’s. The more likely scenario is that your app is running natively on Intel but the DS’s are PowerPC-only so it cannot load them.
If your app is a universal binary, you can test if you have PowerPC-only DS’s on your Intel machine as follows:
– Open the Finder’s Get Info window for your app.
– Enable the “Open using Rosetta” option.
– Close the Get Info window.
– Run your app.
This forces your universal binary to run under the PowerPC emulator. If the DS’s show up, you probably have PowerPC-only DS’s on your Intel Mac.
–August 14, 2008 at 5:48 am #24611
Thnx for the reply dpenney…
Have some problems to get clear.
I compiled the code in a PPC set project settings-Architecture as 32/64-bit Universal. enable “Open using Rosetta” and run..its not working in Intel mac book.
Did i do correct way to build the universal binary…?
can u plz give any idea,will i sent the sample code to check it out…I have stucked with this for about several weeks….
AmilaAugust 14, 2008 at 2:53 pm #24612
I compiled the code in a PPC set project settings-Architecture as 32/64-bit Universal…Did i do correct way to build the universal binary…?
In your build settings (Project->Edit Active Target, Build tab), what does it show for Architectures? If it’s “i386 ppc” you have a 32-bit universal binary. If it’s “i386 ppc ppc64 x86_64”, you have a four-way binary: 32- and 64-bit for both Intel and PowerPC.
–August 15, 2008 at 4:20 am #24613
thnk u very much for the reply…
In build settings I have selected Standard (32 bit Universal).It compiled and run well in PPC machine , but still not working that same application in Intel MAC book.It doesn’t show any datasources.its still empty.
Can u plz give any ideaa…