Unable to locate a (newly added) framework in XCode
Unable to locate a (newly added) framework in XCode
- Subject: Unable to locate a (newly added) framework in XCode
- From: "Frederick C. Lee" <email@hidden>
- Date: Thu, 23 Mar 2006 14:02:46 -0800
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:
This email sent to email@hidden