Re: Project importing
Re: Project importing
- Subject: Re: Project importing
- From: Conrad Shultz <email@hidden>
- Date: Thu, 29 Mar 2012 09:59:10 -0700
On 3/29/12 9:49 AM, Quincey Morris wrote:
> On Mar 29, 2012, at 08:38 , Dan Hopwood wrote:
>
>> I am trying to integrate a tool (core-plot) into an existing project,
>> following their integration guide
>> (http://code.google.com/p/core-plot/wiki/UsingCorePlotInApplications).
>> The first step is:
>>
>> "Drag the CorePlot-CocoaTouch.xcodeproj file into your iPhone
>> application's Xcode project."
>>
>> Well, this is where I fall down. I remember doing this in older
>> versions of Xcode and it working fine but with Xcode 4.3.2 the project
>> file shows up in the navigator but there is no expand arrow and no
>> files associated with it.
>>
>> Is there another way of importing an external project so that it can
>> be made a dependency?
>
> Yes. Create a workspace, and drag both your original project and the
> library project into the workspace -- both at the top level, not one
> within the other. Xcode understands that as a dependency configuration.
+1, but a caveat is that I found that at least for me, with fairly
plain-vanilla configurations, Xcode wouldn't find headers for import
unless I manually added ${BUILT_PRODUCTS_DIR} to my user header search
path (and have the headers copied into the build product).
I'm sure there are other recommended ways to do this (especially that
don't involve header copying), and I'd love to hear them. I'm still
getting used to the whole Workspace concept.
--
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden