Hello,
I've got the bleeding-edge source here with me in Xcode (v.3) and I'm trying to compile it for the i386 Intel platform on Mac OS X 10.5.6. However, I get an error:
There is no SDK at specified SDKROOT_ppc path '/Developer/SDKs/MacOSX10.3.9.sdk'
I've found where this is specified: in the shared.xcconfig file. Only 10.3 and 10.4 are specified - can I add 10.5, or even replace 10.4, as follows?
SDKROOT_i386 = $(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk
MACOSX_DEPLOYMENT_TARGET_i385 = 10.5
Cheers,
-n
Compiling on Mac OS X 10.5
When you install Xcode and the development tools, you have to manually select that you want to install the 10.3.9 SDK.
Also, I have hardcoded in the DEVELOPER_SDK_DIR, so if you did not install the developers tools to /Developer then it will be an issue. I will change this to not be hardcoded in, and to use the DEVELOPER_SDK_DIR variable.
Also, I have hardcoded in the DEVELOPER_SDK_DIR, so if you did not install the developers tools to /Developer then it will be an issue. I will change this to not be hardcoded in, and to use the DEVELOPER_SDK_DIR variable.
It is technically not required, but the way our build process is setup makes it required. We use a simple setup with one xcconfig file with common setting. To work the way you want, we would need:
- A base xcconfig file with basic settings
- A xcconfig file for Debug and Testing builds, using the current arch and SDK. This file would #include the base file
- A xcconfig file for Release builds, using the 10.3.9 and 10.4 SDKs, and the i386 and ppc archs. This file would also #include the base file.