Re: Problem compiling a 10.5 project for 10.6
Re: Problem compiling a 10.5 project for 10.6
- Subject: Re: Problem compiling a 10.5 project for 10.6
- From: Fritz Anderson <email@hidden>
- Date: Tue, 17 Aug 2010 09:53:39 -0500
All I can do is help you poke at this. I've never run into it myself.
On 16 Aug 2010, at 1:35 PM, email@hidden wrote:
> File not found: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/versions/A/AE
>
> After much digging, I found a AE.framework in the "CoreServices" framework, but when I include it in my project I get hundreds of "Undefined xxx" errors.
>
> These are the frameworks I include in the 10.5 version (which compiles without incident)
>
> WebKit.framework
> AppKit.framework
> IOKit.framework
> Carbon.framework
> Cocoa.framework
> OSAKit.framework
>
> I assume AE.framework is for AppleEvents, but where does it REALLY live in Snow Leopard and what substitutions will I need to make from the above list to get my app compiling?
AppKit.framework isn't necessary if you include Cocoa.framework (Xcode templates put AppKit and Foundation, but as references only, and don't link them). This isn't your problem.
Clean the target, compile, and look at the Build Results window. Hover over the step that fails (I assume it's the link). Click the lines-of-text button that appears at the right side to reveal the transcript for that step. Does -F AE or other reference to AE appear?
Get Info on the target, select the Build tab, and search for "AE". Does it show up?
How did you include the frameworks in your project? Xcode 3.2 has a new way to do it, and maybe it's mandatory only for 10.6 builds. Remove all your framework references. Get Info on the target, and in the lower table, click [+]. In the resulting sheet, select the frameworks you want (remember command-clicking for multiple disjoint selections). Approve the sheet. See if that cures your problem.
— F
_______________________________________________
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