Re: xcodebuild 80% faster than Xcode?
Re: xcodebuild 80% faster than Xcode?
- Subject: Re: xcodebuild 80% faster than Xcode?
- From: Dave Keck <email@hidden>
- Date: Mon, 3 May 2010 14:46:00 -1000
> I'm curious as to why you're invoking xcodebuild from Xcode in the first place. (I know of at least one reason why you might want to do that, but I'd be interesting for me to hear your reason).
I have 8 targets which need to be built for 10.5 and 10.6 separately.
Once they're built, the products are tarred up and added to a bundle
as components_[10.5,10.6].tar.
Ideally, I would have two aggregate targets: Components_10.5 and
Components_10.6. Each would build the 8 targets, and then tar up the
products into the respective OS-specific tarball. But because
aggregates don't insert another level of build settings between
project and target, there's no elegant way to control the SDK that the
8 targets use. Thus I invoke xcodebuild manually, allowing me to
easily specify the SDK.
Of course I would be most ecstatic if you could suggest a cleaner way
to do this. :)
> How would your build times compare if you use Xcode to build the active target directly? Performance analysis - It's always so interesting!
That's what I did - see my previous email. (I did some investigating
prior to my last email, where realized `xcodebuild -activetarget` in a
build phase != building the active target in the IDE.)
_______________________________________________
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