开发者

Include active developing subproject in your current XCode4 project

开发者 https://www.devze.com 2023-03-01 09:01 出处:网络
Assume you have two XCode4 projects App 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.

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

精彩评论

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