Search code examples
iosobjective-cxcode7workspace

Cannot import files between two projects in a workspace xcode7


enter image description hereI have a workspace , containing two projects ProjectA and Project B , i want to import some files in project A from projectB

#import "somefileFromProjectB.h" doesnot work. It gives error , "file not found" .I have tried many soultions on stackoverflow but they didnot work for me. Can anyone provide solution for this? Thanx in advance.


Solution

  • This blog helped me to solve the issue , may be it would be helpful for others :http://chadgibbons.com/2012/09/22/project-dependencies-and-include-files-in-xcode/