Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-28-2009, 05:12 PM   #4 (permalink)
tpurves
Registered Member
 
Join Date: Oct 2009
Location: Michigan
Posts: 30
tpurves is on a distinguished road
Default

Quote:
Originally Posted by TheRedge View Post
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.
tpurves is offline   Reply With Quote
 

» Advertisements
» Online Users: 532
14 members and 518 guests
Batman, BrianSlick, chiataytuday, daunmi, GHuebner, givensur, HowEver, jasonqg49, k2c, linkmx, mariano_donati, Newbie123, tommiss12
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,318
Threads: 93,988
Posts: 402,406
Top Poster: BrianSlick (7,978)
Welcome to our newest member, Libera
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:42 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.