• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Universal Cocoa plug-in
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Universal Cocoa plug-in
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Source trees don't work any more
  • Next by Date: Re: Universal Cocoa plug-in
  • Previous by thread: Re: Source trees don't work any more
  • Next by thread: Re: Universal Cocoa plug-in
  • Index(es):
    • Date
    • Thread