Re: Xcode looking in the wrong place for frameworks
Re: Xcode looking in the wrong place for frameworks
- Subject: Re: Xcode looking in the wrong place for frameworks
- From: Justin Delegard <email@hidden>
- Date: Mon, 17 Mar 2008 20:17:21 -0400
How can I even tell what is causing this to be linked in? It tells me
the error is in LinkFileList file (I think), but it doesn't make any
reference to the WebServicesCore. I grepped the whole project for
'Web' and nothing that looked relevant came up. It fails only when I
compile this sub-module of the main target. What's weird is that the
ID3 target has it's own xcode project file and when I open it, it
compiles fine. I tried removing the dependancy on the id3 target and
just linking in the framework that the other xcode project produced,
but that caused other errors (random undefined symbols for some
function calls).
I don't know why this file is trying to be linked in, or how to change
it!
On Mar 17, 2008, at 3:08 PM, Fritz Anderson wrote:
On 16 Mar 2008, at 11:59 PM, Justin Delegard wrote:
I am attempting to compile this (http://www.wentnet.com/projects/xnjb/download.html
) project in xcode. I have gotten as far as getting it to compile,
but it fails when linking saying :
ld: file not found: /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/
WebServicesCore.framework/Versions/A/WebServicesCore
Now I actually have this framework, but it's in my /Developer
folder, not my /System folder. I actually symlinked it in place
and this error went away, but one extremely similar to it cropped
up afterwards. After googling around for a while I didn't turn up
anything. I decided I'd rather ask for help than symlink N
frameworks files into my System directory. Any thoughts?
I'm using Xcode 3.1 on a 2.3 GHz Macbook Pro with Mac OS 10.5.2.
You actually don't have that framework. It apparently does not exist
-- and therefore cannot be used -- in Mac OS X 10.5. The
WebServicesCore frameworks in the /Developer tree are in the SDKs
for 10.2 .. 10.4. They're stubs, for linking and headers.
See if you can work out something with (1) The OSServices framework,
or (2) the author of the package.
— F
On Mar 17, 2008, at 3:27 PM, Chris Hanson wrote:
On Mar 16, 2008, at 9:59 PM, Justin Delegard wrote:
I am attempting to compile this (http://www.wentnet.com/projects/xnjb/download.html
) project in xcode. I have gotten as far as getting it to compile,
but it fails when linking saying :
ld: file not found: /System/Library/Frameworks/
CoreServices.framework/Versions/A/Frameworks/
WebServicesCore.framework/Versions/A/WebServicesCore
That project appears to be linking to a sub-framework of an umbrella
framework. Nothing should ever do so, it should only ever link
against the umbrella framework since the contents of the umbrella
may change between releases.
Link against CoreServices.framework rather than
WebServicesCore.framework — and include <CoreServices/
CoreServices.h> rather than individual header files, of course — and
it should just work.
-- Chris
_______________________________________________
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