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 Andy, thanks for your response.

If I understand your question correctly, then the answer is yes. The MyFramework project has a build phase which copies the headers. Additionally, when I look at the products in MyFramework's build directory, I can see both headers. Also, my PreferencePane which uses the framework both links against it and has a copy files build phase that copies the framework into the PreferencePane bundle's Frameworks directory.

Thanks,
Keith

On Jan 2, 2006, at 8:14 AM, Andy Armstrong wrote:


On 2 Jan 2006, at 14:07, 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?



Is the project set to copy the header into the framework?

--
Andy Armstrong, hexten.net






_______________________________________________ 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: 
 >No such file or directory (From: Keith Alperin <email@hidden>)
 >Re: No such file or directory (From: Andy Armstrong <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.