Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

Xcode 3.0 Release Notes

The About Xcode Tools document discusses Xcode and its role in development on Mac OS X.

Xcode 3.0 is a major revision of the Xcode development environment. Please see the Xcode 2.5 Release Notes for details about previous versions of Xcode.

Contents:

General
Summary of New Features
Known Issues and Workarounds
Troubleshooting Distributed Network Builds
Additional Documentation and Help


General

Summary of New Features

Please see What's New in Xcode for a complete guide to these new features:

Known Issues and Workarounds

Here are some commonly-reported issues that are known with this release of Xcode.

Troubleshooting Distributed Network Builds

Sharing your computer for distributed builds and changing the share priority for build tasks on your machine require administrator privileges. If you are unable to unlock sharing in the Xcode 3.0 Distributed Builds Preferences pane, ensure that you have a valid administrator user name and password. If you are still unable to authorize sharing, you will need to re-install the Developer Tools.

Sharing your computer for distributed builds also requires that your machine be able to reach the remote build host(s) over the network. If remote hosts are unable to access your machine for distributed builds, first ping the remote machines to ensure that your machine can reach them over your network. For network problems, contact your system administrator.

Sharing for distcc

If the checkbox "Share my computer for shared workgroup builds (distcc)" in the Xcode 3.0 Distributed Builds Preferences is enabled, and you can ping the remote build host(s) in your workgroup, check the configuration of your machine.

  1. The executable /usr/bin/distccd must be installed, owned by root:wheel, with permissions -rwxr-xr-x

  2. The file /System/Library/LaunchDaemons/distccd.plist must be installed, owned by root:wheel, with permissions -rw-r--r--

If any of these conditions is not true, you should reinstall the Developer Tools.

If your system appears to be configured correctly, you should be able to start the shared workgroup builds daemon by typing the following command into a Terminal window:

sudo launchctl load -w /System/Library/LaunchDaemons/distccd.plist

Turning off sharing for distcc

If the checkbox "Share my computer for shared workgroup builds (distcc)" in the Xcode 3.0 Distributed Builds Preferences is disabled but Activity Monitor shows one or more distccd processes running on your machine, you should be able to stop all the distccd processes at once by typing the following command into a Terminal window:

sudo launchctl unload -w /System/Library/LaunchDaemons/distccd.plist

Note that the "kill" command will stop but not disable the daemon, and launchd will immediately relaunch it.

If you encounter an error when attempting to enable or disable the checkbox "Share my computer for shared workgroup builds (distcc)" in the Xcode 3.0 Distributed Builds Preferences, follow the steps above for sharing or stopping sharing of distcc.

Changing the share priority for shared workgroup builds (distcc)

If you are able to set the share priority of your machine for shared workgroup builds in the Xcode 3.0 Distributed Builds Preferences, but the priority of the distccd process(es) on your machine does not change, check the configuration of your machine.

  1. The executable /Library/Developer/3.0/distcc/distcclaunchdconfig must be installed, owned by root:wheel, with permissions -rwxr-xr-x

  2. The file /System/Library/LaunchDaemons/com.apple.distccdConfig.plist must be installed, owned by root:wheel, with permissions -rw-r--r--

If any of these conditions is not true, you should reinstall the Developer Tools.

If your system appears to be configured correctly, you may be able to change the priority of the shared workgroup builds processes by typing the following command into a Terminal window:

sudo renice <priority> <pid>

for the process with the lowest process ID. Valid priorities are 0 (high), 10 (medium), and 20 (low).

If you encounter an error when attempting to set the share priority for shared workgroup builds in the Xcode 3.0 Distributed Builds Preferences, follow the steps above.

Sharing for dedicated network builds (DNB)

If the checkbox "Share my computer for dedicated network builds" in the Xcode 3.0 Distributed Builds Preferences is enabled, and you can ping the remote build host(s) in your dedicated network, check the configuration of your machine.

  1. The following files must be installed in /Library/Developer/3.0/DNB/DedicatedNetworkBuilds.framework/Resources, owned by root:wheel, with the correct permissions:

  2. The following files must be installed in /System/Library/LaunchDaemons, owned by root:wheel, with permissions -rw-r--r--:

If any of these conditions is not true, you should reinstall the Developer Tools.

If your system appears to be configured correctly, use Activity Monitor to check that both the bfobserver and dnbd daemons are running. If one or both of these daemons is not running, you should be able to start it manually by typing the appropriate command into a Terminal window.

First start the build files observer:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.dnbobserver.plist

Then start the DNB volunteer:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple. dnbvolunteer.plist

Stopping sharing for dedicated network builds (DNB)

If the checkbox "Share my computer for dedicated network builds" in the Xcode 3.0 Distributed Builds Preferences is disabled but Activity Monitor shows a dnbd process running as root on your machine, you should be able to stop the process by typing the following command into a Terminal window:

sudo launchctl unload -w  /System/Library/LaunchDaemons/com.apple. dnbvolunteer.plist

Note that the "kill" command will stop but not disable the daemon, and launchd will immediately relaunch it. You should not stop the build files observer daemon (bfobserver).

If there is a dnbd process running as your user ID on your machine, your machine is acting as a dedicated network builds remote host (recruiter), sending build jobs to other machines. Killing that process will not disable your machine for sharing for dedicated network builds.

If you encounter an error when attempting to enable or disable the checkbox "Share my computer for dedicated network builds" in the Xcode 3.0 Distributed Builds Preferences, follow the steps above for sharing or stopping sharing of dedicated network builds.

Additional Documentation and Help

Xcode can now alert you to the availability of updates to the Apple Developer Connection (ADC) reference library and help you download the new content. See the Accessing Documentation documentation for more information.

The documentation window now uses SearchKit indexes when performing full-text searches. Besides improving search speed and the general quality of the set of results, full-text searches now support boolean search strings and wildcard searches among other features. See Searching Documentation documentation for more information.

Release Notes

Additional release notes for Mac OS X can be found in the ADC Reference Library, in the resource type Release Notes. For example, in Release Notes > Tools you'll find the latest news on specific tools, such as GCC 3 Release Notes, the GCC 4 Release Notes, the GDB Release Notes, and the Compiler Tools Release Notes; APIs, such as CoreFoundation Framework Release Notes, Application Kit Release Notes (10.5), Foundation Release Notes, Carbon Core Release Notes; and on other technologies, such as Release Notes > Java and WebObjects 5.4 Release Notes

Web Sites

Developer Mailing Lists

There are a number of mailing lists that are great for Mac OS X and Xcode developers. For more information please go to http://lists.apple.com. There are lists on the following topics and many more:

Reporting Bugs and Issues

All members of the Apple Developer Connection can use the online bug reporting tool (bugreporter) to communicate issues with Apple. Please include detailed information of the issue, including the system and developer tools version information, and any relevant crash logs or console messages.

To send feedback to Apple, please use:





Last updated: 2007-10-31




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice