Re: Building a 64-bit Preferences Pane
Re: Building a 64-bit Preferences Pane
- Subject: Re: Building a 64-bit Preferences Pane
- From: Jesse Armand <email@hidden>
- Date: Fri, 18 Sep 2009 23:01:42 +0700
Okay thanks, I also found the solution from a blog somewhere while searching.
It's weird how Apple lay out all of the important things about 64-bit
in the docs, but left out this one somewhere that I couldn't find
easily.
I also ran the script to check for 64-bit compatibility, added the
proper #ifdef for it (it's only about data types).
2009/9/18 MATSUMOTO Satoshi <email@hidden>:
> Hi,
>
>
> Building 64-bit Preferences Pane...
> In response to satoshi on Apr 30, 2009 2:21 PM
> I have been trying to make a simple 64-bit Preference Pane on Snow Leopard
> buid 10A335. But all trials ended in failure.
>
> For example:
> 1) Make a new preference pane project "SamplePrefPane" with Xcode.
> 2) Set the build option "ARCHS" to "x86_64"
> 3) Build it and double click SamplePrefPane.prefPane
>
> << ANSWER>>
>
> 2.5) turn on Garbage Collection. (Search for "garbage collection" in
> build settings inspector)
> On Snow Leopard, System Preferences has garbage collection enabled when
> launched as a 64 bit application (default on 64 bit capable machines).
> If you intend on supporting both 32 bit and 64 bit machines, you'll need to
> build your preference pane as a dual mode module; "gc supported" instead of
> "gc only".
> Then System Preferences app says:
> Preferences Error
> You can't open SimplePrefPane preferences because
> it doesn't work on an Intel-based Mac.
> That is a horribly failure message. Please file a bug via
> http://bugreporter.apple.com/.
>
> Satoshi
>
>
>>
>> Jesse Armand
>> ----------------------------------------
>> (http://jessearmand.com)
>>
>>
>>
_______________________________________________
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