Quote:
Originally Posted by TheRedge
For those who get a weird error like this when trying to compile the Demo project:
The demo project uses a cross project references to link to Sparrow. Those are a bit complicated to set up in XCode, and can create this weird error.
The simple solution: Remove the project reference to Sparrow from the Demo project, and add "libsparrow.a" manually after building the Sparrow project. (Just build it in all configurations and then look for "libsparrow.a" via Spotlight). To add the library, ctrl-click on the project name in XCode (top left) and select "Add -> existing files".
The complicated solution:
1. Set up a shared build output directory that will be shared by all Xcode projects. - In the Xcode preferences, tab: "Building", set "Place Build Projects in" to "Customized location" and specify a common build directory.
- Set “Place Intermediate Build Files in” to “With build products.”
2. Add a “Source Tree” variable that Xcode can use to dynamically find the static library project. - In the Xcode preferences, tab: "Source Trees", create a new Source Tree variable.
- For Sparrow, use SPARROW_SRC and let it point to /some_valid_path/sparrow/sparrow/src/
Thanks to Timothy P. for pointing us at this problem!
Daniel
|
I found that just setting the SPARROW_SRC (step 2 above) allows the demo to build.
At first blush, this framework looks pretty nice.