开发者

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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜