Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No such file or directory



Hi Ben, thanks for responding.

The two headers both have their role set to "Public". Before setting the new header to public, I was not able to see the header listed under MyFramework under Linked Frameworks in the Groups & Files pane of my client app (which happens to be a PreferencePane bundle).

Thanks,
Keith




On Jan 2, 2006, at 11:09 AM, Ben Kazez wrote:

On Mon, 2 Jan 2006 08:07:25, Keith Alperin wrote:


I have a framework that I've created and use in my projects.  Until
now, there was only one class in the framework, but i've just added a
second.  However, when i try to build my project that relies on the
framework, I get a "MyFramework/MyNewClass.h: No such file or
directory" error at the line of my import statement.  I do not get an
error when I import the other class from this framework.  If I look
in the Groups & Files pane, under Linked Frameworks, I can see my
framework and my two header files (including the one that causes the
error).  I've tried to clean all targets and for fun I restarted
XCode; both to no avail.  Has anyone seen this behavior before?  Is
there some type of cache that i need to clear?


Keith,

If you click the framework target in the Targets list, is the Role set to public or whatever value is appropriate for you? See http:// tinyurl.com/ay7mr.

Ben


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: No such file or directory (From: Ben Kazez <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.