jenkinsci/xcode-plugin — pull request #26 by rowanj (2013-05-23 06:26:29+00:00)
Title: Don't specify an empty -configuration parameter to xcodebuild

If building with a scheme, not specifying a configuration would still
add the `-configuration` parameter, but the build log would show that
the default configuration was being used (n.b. NOT the configuration
specified in the scheme)

Without fix:
```
Going to invoke xcodebuild:, scheme: Testing, sdk: DEFAULT, workspace: Project.xcodeproj/project, configuration: , clean: NO, symRoot: DEFAULT, configurationBuildDir: Build
[Platform-iOS] $ /usr/bin/xcodebuild -scheme Testing -workspace Project.xcodeproj/project.xcworkspace -configuration build CONFIGURATION_BUILD_DIR=Build
Build settings from command line:
CONFIGURATION_BUILD_DIR = Build

=== BUILD AGGREGATE TARGET Git OF PROJECT Project WITH THE DEFAULT CONFIGURATION (Optimized) ===
```

With fix:
```
Going to invoke xcodebuild:, scheme: Testing, sdk: DEFAULT, workspace: Project.xcodeproj/project, clean: NO, symRoot: DEFAULT, configurationBuildDir: Build, codeSignIdentity: DEFAULT
[Platform-iOS] $ /usr/bin/xcodebuild -scheme Testing -workspace Project.xcodeproj/project.xcworkspace build CONFIGURATION_BUILD_DIR=Build
Build settings from command line:
CONFIGURATION_BUILD_DIR = Build

=== BUILD AGGREGATE TARGET Git OF PROJECT Project WITH CONFIGURATION Optimized ===
```