• 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: Why won't Xcode find my framework?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why won't Xcode find my framework?


  • Subject: Re: Why won't Xcode find my framework?
  • From: "Nathaniel Martin" <email@hidden>
  • Date: Thu, 16 Mar 2006 11:50:59 -0800

>>Did you add /Library/Frameworks/ to the "Framework Search Paths"
build setting?

>>Scott

I tried adding that, and I get the same errors. Plus, the "Example"
project doesn't have anything added to the search paths, and it
compiles without problems.

Thanks,
Nathaniel Martin
email@hidden



On Mar 16, 2006, at 10:31 AM, Nathaniel Martin wrote:

Here's the scenario (names changed to protect the innocent):

I have two Xcode projects, one called "Example" and one called
"MyProject." I downloaded "Example," and as it's name suggests it's an
example project showing how to use a certain framework,
"foobar.framework"


"Foobar.framework" is in /Library/Frameworks/

Since I'm learning how to use this framework, at this point
"MyProject" is simply duplicating functionality in "Example", and some
of the code is identical.

In one of the class files in "Example" I have the following code to
include some headers from "foobar.framework":

#include "foobar.h"
#include "foobarConfig.h"
#include "foobarWindow.h"

I have the exact same #include lines in a class in "MyProject."

Both projects have "foobar.framework" added to the frameworks group,
both pointing to the same framework in /Library/Frameworks.

Both build settings are identical as far as I can tell. "Example" has
no entries for header, library, or framework search paths.

"Example" compiles without problems. "MyProject" compiles with errors:

error: foobar.h: No such file or directory
error: foobarConfig.h: No such file or directory
error: foobarWindow.h: No such file or directory

Why isn't Xcode seeing these files? What am I doing wrong here?

Thanks,
Nathaniel Martin
email@hidden
 _______________________________________________
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

_______________________________________________
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
 _______________________________________________
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: Why won't Xcode find my framework?
      • From: Rosyna <email@hidden>
  • Prev by Date: Re: Why won't Xcode find my framework?
  • Next by Date: SVN addon for XCode
  • Previous by thread: What's the difference between psymtab and symtab ?
  • Next by thread: Re: Why won't Xcode find my framework?
  • Index(es):
    • Date
    • Thread