Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6565579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:06:40+00:00 2026-05-25T14:06:40+00:00

I have an existing framework (MyFramework) and I’ve added a new class to it,

  • 0

I have an existing framework (MyFramework) and I’ve added a new class to it, NewClass. In another project I am already using this framework and I now want to use NewClass as well. I use the following import statements:

#import <MyFramework/OldClass.h>
#import <MyFramework/NewClass.h>

When I compile the project, I get an error on the second import that says “MyFramework/NewClass.h: No such file or directory”. NewClass.h is in the exact same location as OldClass.h, the framework compiles with no errors, I’ve made sure to clean out any old artifacts, and I’ve verified that in the framework’s target I’ve included NewClass.h in the “Copy Headers” build phase.

What additional step is required to make a framework’s header files available to users of the framework?

p.s. I realize that I should likely have a single MyFramework.h for anyone wanting to use the framework, but I’ll tackle that once I’ve figured out how to add new headers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:06:41+00:00Added an answer on May 25, 2026 at 2:06 pm

    Set role of the header to Public.

    In Xcode 3 right click on the header, select Set Role from the menu.

    In Xcode 4 select your target, open Build Phases and change the section of your header in the Copy Headers section from Project to Public.

    Update:
    In Xcode 4.5 select the header, open the File Inspector in the Utilities panel on the right, change the role to Public in the Target Membership section.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing app in which I added the json-framework. Now it won't
I have an existing website developped using ASP.NET MVC 3 and Entity Framework 4
i have created a framework out of my existing code base and tried using
I'm working on a project where the client wants to have existing pages dynamically
I have an existing database with the table Transactions in it. I have added
We have an existing PC game that uses C# and the XNA Framework. We
I've taken the existing code from this project , and very happy with it
I have existing websites with PHP/MySQL framework. They are very busy and chat, events,
I am new to MongoDb but have an existing application which would benefit heavily
I already read a lot of hints how to add an existing framework to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.