• 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 14:01:47 -0800

Given the compiler invocation, the only thing I can come up with is that there may be a copy of the framework in your build folder that doesn't have the public header.

The way to test this is to set Other C Flags in your target build settings to -v and rebuild. The Build Transcript (click the third button from the left in the horizontal scrollbar of the Build Results window) will show you the implicit and explicit search paths for all frameworks, e.g.:


#include "..." search starts here:
#include <...> search starts here:
 /Volumes/Local/Products/iChatTheater.build/Debug/iChatTheater.build/iChatTheater.hmap (headermap)
 /Volumes/Local/Intermediates/Debug (framework directory)
 /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks (framework directory)
 /Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1/include
 /Developer/SDKs/MacOSX10.5.sdk/usr/include
 /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks (framework directory)
 /Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks (framework directory)
End of search list.

If the compiler finds MySQLConnection.framework in any of the second list of directories, it will then look for Headers/MySQLConnection.h in that framework, and if it doesn't find it, it will fail at that point.  

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>
References: 
 >No such file <MyFramework/MyFramework.h> (From: Ken Tozier <email@hidden>)
 >Re: No such file <MyFramework/MyFramework.h> (From: Chris Espinosa <email@hidden>)
 >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>)
 >Re: No such file <MyFramework/MyFramework.h> (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: bug in /Developer/Library/uninstall-devtools fails to remove /Developer/Documentation?
  • Next by Date: Xcode 3.1.2 refuses to add localizations
  • Previous by thread: Re: No such file <MyFramework/MyFramework.h>
  • Next by thread: Re: No such file <MyFramework/MyFramework.h>
  • Index(es):
    • Date
    • Thread