Compiling screensaver for 10.5
Compiling screensaver for 10.5
- Subject: Compiling screensaver for 10.5
- From: Gabriel Zachmann <email@hidden>
- Date: Thu, 31 Mar 2011 14:29:07 +0800
It seems to me that I have never really understood exactly what xcode project settings I need to compile a screensaver to run under 10.5 ;-(
So I'd like to get this right once and for all.
I am developing under 10.6.6.
In my xcode project, I have made a new configuration (called "release 10.5"), which I duplicated from "release" and then changed a few settings, such as deployment target and base SDK.
Still, a user has sent me an email that he got the error message "You cannot use the screensaver .. on this computer. Contact the developer ...".
So, it sounds to me that one or more of my build settings prevent him from installing my screensaver.
So, here are (hopefully) all relevant settings that are in effect when I compile using the configuration "release 10.5":
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
CODE_SIGN_IDENTITY = "Don't Code Sign";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_GC = supported;
GCC_PREPROCESSOR_DEFINITIONS = MACOSX_5_ONLY;
MACOSX_DEPLOYMENT_TARGET = 10.5;
PREBINDING = NO;
SDKROOT = macosx10.5;
STRIP_INSTALLED_PRODUCT = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = ArtSaver_Prefix.pch;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
PRODUCT_NAME = ArtSaver;
WRAPPER_EXTENSION = saver;
The setting 'valid architectures' is the default, i.e., "i386 ppc ppc64 ppc7400 ppc970 x86_64".
I use the preprocessor macro MACOSX_5_ONLY to "ifdef out" some source code that uses technology that is only available under 10.6
The Info.plist in the final product contains this key:
<key>LSMinimumSystemVersion</key>
<string>10.5</string>
(It also contains a lot of keys of the form DTxxx, and I have no idea where they come from, but that is probably not relevant here.)
To me everything looks fine in the seetings, yet the user get's this error message.
Could some kind soul please explain to me what I am doing wrong?
I am having this issue on and off, and I'm beginning to pull my hair.
I googled a bit, but couldn't find an explanation for my problem, so my question must be a very dumb one, so please explain at the "dummy level".
Thanks a lot in advance.
Gabriel.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden