The option key did reveal a 10.4 SDK setting, so I was hopeful changing that would fix it. It did help (i.e., it changed the error message), but now it says my prefix header is not found. When I fixed the problem yesterday by creating a new project, the new project used extension "pch" for the header so I changed my prefix header to use "pch" too (although I didn't think it should matter). Now the old project is still looking for the one with .h. I went into the settings and set the path to the prefix header to be the one with .pch, but it did not help; the old project it is still looking for the one with .h (and I can't find any setting that still has that old name in place).
This project is a very old project (10 years) and was recently converted to use XCode 3.2. Perhaps some legacy setting remains and can't be changed. My new project seems to be working OK so fixing it is no longer urgent, although it would be nice know what happened. On Nov 21, 2010, at 1:58 AM, Christiaan Hofman wrote: There are a few more places to look. The General tab for the project build settings has a base SDK popup, and the Active SDK setting, which you can only see when you hold down Option key while showing the Overview popup or the Project > Set Active SDK menu.
Christiaan On Nov 21, 2010, at 8:17, John Nairn wrote: Yes, I tried that many times and even deleted all configurations except Release and it still tries to use 10.4 SDK.
I think I have it fixed, but only by giving up, creating a new project, and transferring all files to the new one. It seems OK now and it even changes SDK if I change the SDK setting. On Nov 20, 2010, at 10:31 PM, Sherm Pendley wrote: On Sun, Nov 21, 2010 at 12:17 AM, John Nairn <email@hidden> wrote:
I am converting my XCode project to NOT use 10.4 SDK. I as I can tell, I set all project and target setting to use Current Mac OS, set deployment to 10.5, but I cannot compile. All error messages say the setting are not compatible with 10.4 SDK.
Double-check that you've updated the SDK setting for all of your build styles - there's a dropdown list above the build settings list in the inspector panel. It's easy to overlook that, and change a setting for Debug builds without changing it for Release, or vice-versa.
sherm--
-- Cocoa programming in Perl: http://camelbones.sourceforge.net
------------ John Nairn Genealogy Software for the Mac
------------ John Nairn Genealogy Software for the Mac
|