Re: Building a 64-bit Preferences Pane
Re: Building a 64-bit Preferences Pane
- Subject: Re: Building a 64-bit Preferences Pane
- From: Kiel Gillard <email@hidden>
- Date: Thu, 30 Apr 2009 13:05:04 +1000
Hi Satoshi,
If you run this in Terminal:
Bugdom:~ kiel$ file /Applications/System\ Preferences.app/Contents/
MacOS/System\ Preferences
/Applications/System Preferences.app/Contents/MacOS/System
Preferences: Mach-O universal binary with 2 architectures
/Applications/System Preferences.app/Contents/MacOS/System Preferences
(for architecture i386): Mach-O executable i386
/Applications/System Preferences.app/Contents/MacOS/System Preferences
(for architecture ppc7400): Mach-O executable ppc
You can see the System Preferences application is not a 64 bit
application (at least, not yet). Therefore, you cannot make a 64 bit
preference pane.
Kiel
On 30/04/2009, at 12:48 PM, 慧 松本 wrote:
I have been trying to make a simple 64-bit preference pane. 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
Then System Preferences app says:
Preferences Error
You can't open SimplePrefPane preferences because
it doesn't work on an Intel-based Mac.
But my machine is MacPro, Quad-Core Intel Xeon.
When I change the build option "ARCHS" to "32-bit universal", it
works fine.
Does anybody know how to make 64-bit preference panes?
Satoshi
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802
_______________________________________________
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
_______________________________________________
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