Re: problem building projects with frameworks on the command line
Re: problem building projects with frameworks on the command line
- Subject: Re: problem building projects with frameworks on the command line
- From: Paul Forgey <email@hidden>
- Date: Sat, 2 Jan 2010 03:41:17 -0800
On Dec 30, 2009, at 9:06 PM, Jerry Krinock wrote:
>
> On 2009 Dec 30, at 15:24, Paul Forgey wrote:
>
>> What am I missing?
>
> I'm not sure, but you haven't mentioned where your Build Directories are. I was told a few years ago that for cross-project dependencies you need a common Build Directory. But even if that is no longer required, you should still be looking in the Build Directory to see what the problem is -- like -- is that framework product where it is expected to be?
Yes, the framework is built and in order. However, I did not have everyone going to a single build directory.
Using a common build directory seems to make things work, thus answering most of my question.
>
> Another thing you are apparently missing, although it's not the problem, is Project Dependency. In each of your projects Thing1 and Thing2, you should set a dependency on My Framework. Then you can eliminate that first line in your snippet. The way you're doing it should work too, but using dependencies is less fragile and is the way most people do it.
>
> Search and read in Xcode documentation on Build Directories and Dependencies.
>
I've already read it. The dependencies are in place.
Again in my original question, things are working fine from the GUI, just not pbxbuild. The dependencies do not get built from pbxbuild.
I can work around this by explicitly building the framework first, but this seems to be a bug.
_______________________________________________
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