Reputation: 6957
This should be simple, but I can't figure out how to do this in Xcode 4:
I have an Xcode workspace with two top level projects:
I would like to add the Framework target from Project B as a dependency to the application target of Project A. However, in the Build Phases > Target Dependencies
for Project A's target, I only see Project A (not the framework target of Project B).
I'm still refining the framework so I wold like to have the application target build the framework automatically whenever it changed.
Is there a way to do this without making the framework project a child of Project A?
Upvotes: 8
Views: 4044
Reputation: 9132
Good article about project dependencies in Xcode 4: https://docs.google.com/document/pub?id=14XR5zcZb2Kz2s6A4AbzB00NLkrW9bWxMMprVsUao-hY
Upvotes: -3
Reputation: 6957
Here's what I finally figured out:
With both projects as top level projects in a workspace:
Upvotes: 7