Howard
Howard

Reputation: 19805

Include active developing subproject in your current XCode4 project

Assume you have two XCode4 projects

  1. App
  2. Library

Since the Library is active developing, so new headers might be added from time to time, code might be changed from time to time.

Even I can drag the Library XCode project into the App XCode project, I still need to copy the headers manually.

Are there any easy way, rather than copy the Library into the App library folder, I can develope the codes on two projects at the same time, e.g. debugging.

Upvotes: 3

Views: 920

Answers (1)

Terry Wilcox
Terry Wilcox

Reputation: 9040

A few recommendations after beating my head against a wall:

Try creating an Xcode 4 workspace containing the 2 projects. It seems to work better than having one be a sub-project of the other.

Instead of copying the headers, add their path to the "header search paths", then select "always search user paths" (both in build settings).

To get started: Xcode 4 workspace docs

Upvotes: 3

Related Questions