• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: No such file <MyFramework/MyFramework.h>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No such file <MyFramework/MyFramework.h>


  • Subject: Re: No such file <MyFramework/MyFramework.h>
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 2 Dec 2008 09:12:18 -0800


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
_______________________________________________
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


  • Follow-Ups:
    • Re: No such file <MyFramework/MyFramework.h>
      • From: Ken Tozier <email@hidden>
    • Re: No such file <MyFramework/MyFramework.h>
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >No such file <MyFramework/MyFramework.h> (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Loading dylib that is not in /usr/local/lib/
  • Next by Date: Re: No such file <MyFramework/MyFramework.h>
  • Previous by thread: Re: No such file <MyFramework/MyFramework.h>
  • Next by thread: Re: No such file <MyFramework/MyFramework.h>
  • Index(es):
    • Date
    • Thread