Universal Cocoa plug-in
Universal Cocoa plug-in
- Subject: Universal Cocoa plug-in
- From: Chuck Soper <email@hidden>
- Date: Fri, 17 Feb 2006 21:28:09 -0800
I have a Cocoa plug-in for a Dashboard widget. Recently, I rebuilt it
as a Universal Binary. Or, I thought I did. I changed the settings
for the Deployment configuration for the project as follows:
Architectures: ppc i386
SDK Path: /Developer/SDKs/MacOSX10.4u.sdk
I re-built the plug-in, tested it on Intel and it ran fine. I thought
that was it. At WWDC, I remember hearing that that ppc widget
plug-ins didn't have access to Rosetta and wouldn't run on
Intel-based Macs. Today, I did a 'Get Info' on the Unix Executable
File within the widget plug-in bundle and discovered that it shows
PowerPC not Universal.
I assumed that since I built my target using the Deployment
configuration that it would reflect the 'Architectures' setting I had
just made, but that wasn't the case. I had to change the
'Architectures' setting in the target as well. I thought the point of
having a build configuration was to be able to change build settings
in one place instead of having to change settings for every target.
Is that correct?
I believe that I have it building correctly yet, now I'm not sure if
my widget runs natively on Intel or not. more testing...
Chuck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden