Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode target dependencies between two projects

I have a problem with setting dependencies in XCode 4 between separate projects. Currently, I have two projects in the same workspace. The first project have a Framework amongst it's products. I would like to use this framework in the second project, as a dependency for Bundle target.

First project build successfully. However, the second one claims that it cannot access headers from the framework, although it exists in there. I added the framework to Build Phases -> Link Binary With Libraries section of my target, but this does not help. I was looking for an answer, but all I found were suggestions to add library on the Summary page. Unfortunately, in opposite to Application targets, Bundle target does not have this pane. Is there any other place where should I add the framework?

like image 369
notsurewhattodo Avatar asked Nov 03 '22 02:11

notsurewhattodo


1 Answers

This answer describes the current procedure for adding a library dependency, including headers: https://stackoverflow.com/a/9726445/382938

like image 125
David M. Avatar answered Nov 10 '22 00:11

David M.