ios - Dependencies in Xcode Workspaces -



ios - Dependencies in Xcode Workspaces -

i'm trying set workspace different projects can access same files.

in project a, did "save workspace..."

then created project b in new workspace.

i can see both in project navigator.

so have category in project called "uiview+awesome" want utilize in project b, how set dependency?

in view controller of project b this:

#import "uiview+awesome.h" //uiview+awesome.h file not found

here how solve it.

click on target that's importing uiview+awesome.h. click on build settings. enter header search paths search box. double click on value cell. click + sign. set path project you're referring. let's it's called awesomelib. path relative root of referring project (the project that's using awesomelib). example: ../awesomelib/src/headers/ or wherever .h file lives. click done. clean , build.

ios xcode workspace

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -