Re: Getting back into MacOSX development after some time off
"Mr. George Warner" <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 10 Nov 2009 21:10:17 -0800 (PST), jerry porter <jep9816-/[email protected]> wrote: > I think I figured out how to "migrate" to 10.6 SDK in my code. > I started by playing with the Active SDK and the architecture settings. Remember that the SDK should be set to the NEWEST version of Mac OS X that you want to run on and the DEPLOYMENT_TARGET to the oldest. For example, for PowerPC Leopard, Intel Snow Leopard and deploy to Tiger: SDKROOT = macosx10.6 SDKROOT[arch=ppc] = macosx10.5 MACOSX_DEPLOYMENT_TARGET = 10.4 You should probably be at least testing with an x86_64 architecture. I usually use: ARCHS = $(ARCHS_STANDARD_32_BIT) x86_64 Note that this is the same for both debug and release configurations. If you only want to build the native architecture when debugging use this: ONLY_ACTIVE_ARCH = YES Note: the above build setting will cut-n-paste into your project or target build settings (if the appropriate table view has focus). -- Enjoy, George Warner, Schizophrenic Optimization Scientist Apple Developer Technical Support (DTS)