Re: Unable to locate a (newly added) framework in XCode
Re: Unable to locate a (newly added) framework in XCode
- Subject: Re: Unable to locate a (newly added) framework in XCode
- From: Steve Baxter <email@hidden>
- Date: Fri, 24 Mar 2006 00:59:08 +0000
Do you have a space in the path to the framework? If so this is a
known bug. You may need to manually add the path to the framework to
the project settings.
On 23 Mar 2006, at 22:02, Frederick C. Lee wrote:
Env. XCode 2.2
Greetings:
I've been following Jonathan Rentzsch's mov about installing
Frameworks.
<http://rentzsch.com/cocoa/embeddedFrameworks>
So I tried to do likewise.
1) I placed FScript.framework into /System/Library/Framework folder.
I had it in /Library/Framework but XCode didn't see it, so tried
the System folder.
2) I command-clicked the XCode's "Frameworks" folder and selected
'Add.Existing Frameworks' in the context menu.
3) I built the project and got the following error:
Location
Tool:0
Command .usr/bin/gcc-4.0 failed with exit code 1
...can't locate framework for: -framework FScript
4) So I set the FRAMEWORK_SEARCH_PATHS compiler option to the
following:
FRAMEWORK_SEARCH_PATHS = /System/Library/Frameworks/ /Library/
Frameworks/
5) I tried again; but got the same problem: can't locate the
framework.
6) Note: I shall add the 'copy phase' in the building process once
XCode can see the framework.
XCode 2.2 points out the Location being 'Tool:0'; if that is a clue.
Any ideas?
Ric.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40improvision.com
This email sent to email@hidden
Steve Baxter
Software Development Manager
Improvision
+44-2476-692229
_______________________________________________
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