Re: Linking to frameworks with spaces
Re: Linking to frameworks with spaces
- Subject: Re: Linking to frameworks with spaces
- From: email@hidden (Kris Rambish)
- Date: Wed, 24 May 2006 23:31:52 +0000
Below is what I get from XCode. If I replace the space in the name of my project's parent folder with an underscore it works fine.
Building target Client Idler of project Client Idler with configuration Debug
Checking Dependencies
Building ZeroLink launcher /Users/kris/Client Idler/build/Debug/Client Idler.app/Contents/MacOS/Client Idler
cd "/Users/kris/Client Idler"
/usr/bin/gcc-4.0 -o /Users/kris/Client\ Idler/build/Debug/Client\ Idler.app/Contents/MacOS/Client\ Idler -arch ppc /System/Library/PrivateFrameworks/ZeroLink.framework/Resources/libZeroLinkAppStub.a -Wl,-all_load -L/Users/kris/Client\ Idler/build/Debug -F/Users/kris/Client\ Idler/build/Debug -F/Users/kris/Client -FIdler/../AFPClientFramework/build/Release -framework Cocoa -framework AFPClientFramework -Wl,-Y,1455 -framework ZeroLink -F/System/Library/PrivateFrameworks/ -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -Wl,-x -Wl,-unexported_symbols_list -Wl,/System/Library/PrivateFrameworks/ZeroLink.framework/Versions/A/Resources/ZeroLinkAppStub.nexp -Wl,-sectcreate -Wl,__TEXT -Wl,__zerolink -Wl,/Users/kris/Client\ Idler/build/Client\ Idler.build/Debug/Client\ Idler.build/Objects-normal/ppc/Client\ Idler.zerolink
/usr/bin/ld: warning -F: directory name (/Users/kris/Client) does not exist
/usr/bin/ld: warning -F: directory name (Idler/../AFPClientFramework/build/Release) does not exist
/usr/bin/ld: can't locate framework for: -framework AFPClientFramework
collect2: ld returned 1 exit status
-------------- Original message ----------------------
From: Chris Espinosa <email@hidden>
> On May 24, 2006, at 3:24 PM, Kris Rambish wrote:
>
> > I am linking in my own framework into a project that has a space
> > in the name.
> > XCode is giving me errors saying it cannot find the files. It is my
> > assumption
> > it is the space that is causing the problem. Is there a setting in
> > XCode that
> > will fix this?
>
> This ought to work, but it all depends on the way you are linking.
> Could you please post the build transcript lines that attempt to link
> your framework and fail, and the failure reported?
>
Chris
--- Begin Message ---
- Subject: Re: Linking to frameworks with spaces
- From: Chris Espinosa <email@hidden>
- Date: Wed, 24 May 2006 23:09:50 +0000
On May 24, 2006, at 3:24 PM, Kris Rambish wrote: I am linking in my own framework into a project that has a space in the name. XCode is giving me errors saying it cannot find the files. It is my assumption it is the space that is causing the problem. Is there a setting in XCode that will fix this?
This ought to work, but it all depends on the way you are linking. Could you please post the build transcript lines that attempt to link your framework and fail, and the failure reported?
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
--- End Message ---
_______________________________________________
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