Re: No such file <MyFramework/MyFramework.h>
Re: No such file <MyFramework/MyFramework.h>
- Subject: Re: No such file <MyFramework/MyFramework.h>
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 2 Dec 2008 18:22:05 +0100
Le 2 déc. 08 à 18:12, Chris Espinosa a écrit :
On Dec 1, 2008, at 11:12 PM, Ken Tozier wrote:
I wrote a custom framework, instaed it in "/Library/Frameworks/,"
added it to my Application like any other framework, but am getting
"error: MySQLConnection/MySQLConnection.h: No such file or
directory. In the Appication project, the "Headers" subfolder of
the framework is ceary visible and it does in fact contain the
"MySQLConnection.h" file. I tried a of the following "#import"
directives but all failed.
#import <MySQLConnection/MySQLConnection.h>
#import "MySQLConnection/MySQLConnection.h"
#import "MySQLConnection.h"
It's included in the project, clearly visible, so why can't Xcode
see it when it compiles?
It would help to see the full text of the failed compile step (just
drag it into a Mail reply from the Build Results window).
What's likely is that you are using an SDK, and when you are using
an SDK Xcode doesn't search your system's /Library and /System/
Library directories.
Chris
I agree for /System/Library, but latest SDKs (from Xcode 3.0 IIRC)
include a symlink to /Library/Framework to prevent this issue.
I know it works as I'm using the FxPlug framework that is installed
in /Library/Frameworks and I'm using the 10.5 SDK.
_______________________________________________
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