Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcodebuild "default" configuration?




On Jan 23, 2008, at 3:14 PM, Fritz Anderson wrote:

I guess I just like shouting into a well...

Under early Xcode releases, if you didn't specify a configuration to xcodebuild, the "default configuration" was used. And in fact, there was a "Default" configuration visible in every new project.

With Xcode 3.0, man xcodebuild _still_ says that if no configuration is specified, a "default configuration" is used. The Developer Tools docset says:

If you do not specify a build configuration, xcodebuild uses the target's default build configuration.


I assume this is distinct from what would be set by - activeconfiguration (or why provide the option?), but I can't be sure.

What is the default configuration used by xcodebuild for Xcode 3?

If you bring up the project inspector and look at the "Configurations" tab, you'll see a popup at the bottom where you can choose the default configuration for the project. A target always uses the project's default configuration. The text above could be clearer about this.


The -activeconfiguration option in xcodebuild will use the currently selected configuration in the project (as shown by the configuration popup in the toolbar or the active configuration submenu in the Project menu).

Scott



	— F

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >xcodebuild "default" configuration? (From: Fritz Anderson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.