Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 793
Howard Avatar asked Feb 03 '26 20:02

Howard


1 Answers

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

like image 120
Terry Wilcox Avatar answered Feb 06 '26 13:02

Terry Wilcox



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!