On Fri, Jul 16, 2010 at 4:34 AM, Gabriel Zachmann <z...@tu-clausthal.de> wrote: >> In order for a screen saver to be fully compatible with Snow Leopard, you >> must add an Intel 64 slice that supports GC. The reason is because both the >> screen saver engine and System Preferences run as Intel 64 apps on Snow >> Leopard if the user's Mac supports 64-bit addressing, and at least System >> Preferences also uses GC in the Intel 64 slice. >> > > Thanks a lot for your answer. > > > I've got 2 questions. > > 1. > So far, I've got these build settings - are they correct? > > EF7AD73308BB986600CE4634 /* Release */ = { > isa = XCBuildConfiguration; > buildSettings = { > ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; > GCC_C_LANGUAGE_STANDARD = gnu99; > GCC_ENABLE_OBJC_GC = supported; > "GCC_ENABLE_OBJC_GC[sdk=macosx10.5][arch=*]" = unsupported;
This is causing your plugin to be built with GC unsupported when building against the 10.5 SDK. Note that this is NOT the same as RUNNING on 10.5. If you BUILD against the 10.5, then your plugin will have GC unsupported even when running on 10.6. You should set GC to supported, unconditionally. > 2. > The customer says he's running a 32-bit kernel. > Doesn't that mean that the screen saver engine and Sys prefs run as 32-bit > apps, too? The bitness of the kernel is unrelated to the bitness of the apps it can run. > 3. > Why does it then run on my machine? (which seems to be the exact same > configuration) Presumably you either have a 32-bit-only CPU, or something else is happening to make your screensaver engine run in 32-bit mode. Mike _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com