But that's not the case at all. If you want your framework to provide SomeHeader. This will make Xcode copy the header file into the framework so that clients of the framework can import the header file. It's not clear that that's what you really want, though There is a lot of headers in another path.
I have to use header search path unfortunately. Kind of company rule. So it sounds like all projects in your company specify the same header search path so that they have access to these header files. If that's true, then there's no reason for projects to need to import them from your framework, but in that case it's not clear what the actual problem is. Or, perhaps you're creating the framework so that client projects can get the headers from your framework instead of having to reference the header search path.
In that case, you will need to add those headers to the project and specify them as described above. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more.
Xcode can't find header file Ask Question. Asked 6 years, 2 months ago. Anyone ever get a solution to this? I have the same problem in Xcode 8. The archive action appears to just ignore the bridging header. If you examine your project. I was able to just copy the line from the debug build for the bridging header into the release build clause.
Thanks very much for posting. I spent a solid day on this with Xcode 8. Sign in Sign in Sign in corporate. Browse Search. Ask a question. User profile for user: Wuzzle Wuzzle. In editing the target the only things I changed were: Added a directory to the header search path Added a directory to the library search path Problem is when I build, the header search path that I added is not included, so the compile does not find the header files it needs.
To make matters more puzzling, the same project has another almost identical target that does not have this problem. Is there any voodoo to perform that will get xcode to use the search paths specified in the target dialogue? I could revert to using a makefile but then what good is the fancy xcode IDE?
Also tried this [ issues. May be you can find some help in this regard — Adnan Munir SE. Add a comment. Active Oldest Votes. Community Bot 1 1 1 silver badge. FeltMarker FeltMarker 3 3 silver badges 8 8 bronze badges. I might be creating other problems later on down by not doing the additional steps, but for now, looks like I'm archiving fine. I also have a legacy project with RestKit and this worked for me too, thanks!
Like eric I didn't make it recursive and didn't need to change the import line. Jason Jason 4 4 bronze badges. You, sir, saved my life :- I was about to give up here! Now everything makes sense Nico teWinkel Nico teWinkel 10 10 silver badges 18 18 bronze badges.
If you choose to leave an answer instead, at least explicitly link to the target answer you're referring to, to make it clear a year from now what you're talking about.
0コメント