XCode 3.2 and OS-X 10.4 Compatibility

By Akbar

As I explained in my previous post, I upgraded my work machine to OS-X 10.6 and thus have to force upgrade the XCode to 3.2. The problem didn’t end there. Though the compiled applications were working fine on my machine, they were giving errors on the OS-X 10.4 and earlier version.

Doing the research, of course using Google, I found that the new GCC Compiler and Carbon framework of 10.6 is not compatible with 10.4 and earlier version. Fortunately, supporting this was an easy fix. Here are the steps:

1. Install the latest update for the XCode 3.2
2. In the XCode Project Settings, change the Base SDK to “Mac OS-X 10.4?
3. Change the C/C++ Compiler Version to “GCC 4.0?

Compile the application and it should work on fine on 10.4 and higher versions.

Note: When setting the Project Settings, the Search functions is handy to let you easily find the property you are looking for.

Tags: ,