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

Xcode 2.5 Release Notes

Xcode 2.5 is a version of Xcode 2 that runs on both Mac OS X 10.4 (Tiger) and Mac OS X 10.5 (Leopard). Please choose Show Older Release Notes from the Help menu to see the release notes for Xcode 2.4.1, 2.4, 2.3, 2.2, 2.1, 2.0 and 1.5. The Xcode 2.5 Release Notes can also be viewed in the ADC Reference Library.

There are three improvements in this version of Xcode

For detailed information on the security content of this update, please visit this website: http://www.info.apple.com/kbnum/n61798

Contents:

General
Using Xcode 2.5 on Tiger
Using Xcode 2.5 On Leopard Alone
Using Xcode 2.5 On Leopard Along With Xcode 3.0
Installing Custom Xcode Extensions
New User Defaults for Job Control
Other changes
Special Notes for Dedicated Network Builds
Known Issues in Xcode 2.5
Additional Documentation and Help


General

Using Xcode 2.5 on Tiger

When installed on a Mac OS X 10.4 system, Xcode 2.5 replaces any previous version of the Xcode Tools. It removes Xcode-specific content from /System/Library/PrivateFrameworks and instead puts all Xcode-related content into the Developer directory.

When installed on a Mac OS X 10.4 system, Xcode 2.5 installs the core developer tools into the /usr/bin directory as well as in its own Developer directory, so traditional makefile development is unchanged.

Using Xcode 2.5 On Leopard Alone

When installed on a Mac OS X 10.5 system, Xcode 2.5 is placed in a folder called Xcode2.5 at the top level of the startup disk. At install time you can choose any other location and name for this directory. The Xcode 2.5 Developer Tools folder is completely self-contained; no files are installed onto a Leopard system in any other location.

When installed on a Mac OS X 10.5 system, Xcode 2.5 does not install any files into /usr/bin because its Tiger-based tools are not compatible with native development for Leopard. Xcode will find these tools automatically, but if you want to do makefile-based development for Xcode 2.5 on Leopard, you must set your PATH environment variable to specify Xcode 2.5's /usr/bin directory first in order for its tools to be used, and also ensure that you are using the 10.4u SDK so that you do not include Leopard header files or link to Leopard link libraries.

Using Xcode 2.5 On Leopard Along With Xcode 3.0

You can use Xcode 2.5 and 3.0 simultaneously on Leopard. The two versions are mutually self-contained and can operate independently. Some things to be aware of when using this configuration:

Installing Custom Xcode Extensions

Custom project templates should now be placed in the appropriate directory in the /Library/Application Support/Developer/Shared/Xcode/ directory. These will be available to both Xcode 2.5 and 3.0 on a Leopard system. Per-user templates can, as usual, be placed in the equivalent location in ~/Library.

If you use custom User Scripts with Xcode 2.4.1 or earlier, you should manually move these scripts into the /Library/Application Support/Developer/2.5/Xcode/ directory to use them with Xcode 2.5. Per-user scripts can also be placed in ~/Library/Application Support/Developer/2.5/Xcode/ in the user directory. Because Xcode 2.5 and 3.0 use different User Script mechanisms, they generally don't share user scripts.

Plug-ins, extensions, macros, and other files in /Library/Application Support/Apple/Developer Tools/ are ignored by Xcode 2.5.

New User Defaults for Job Control

When using Distributed Builds or running on a multicore or multiprocessor machine, Xcode attempts to execute as many jobs in parallel as the available CPUs can handle. It does not, however, take into account other resources, such as disk and memory capacity, so for some machines the use of multiple processors will cause a build to take more time, instead of less. Xcode has historically supported a user default, NumberOfParallelBuildSubtasks, to limit the number of simultaneous build tasks, but as this applies to both local and distributed jobs it is not useful for optimizing build time.

Xcode 2.5 supports two new user defaults to control the number of simultaneous subtasks for local and distributed builds, so distributed jobs can use more processors even if the number of local jobs must be limited due to memory or disk constraints.

You may need to experiment with different values for these two settings according to the language of your source code, the size of your precompiled headers, the amount of memory you have, the speed of your network, and the number of distributed build machines available.

Note that these settings have no effect in Xcode 3.0.

Other changes

Special Notes for Dedicated Network Builds

In general, Dedicated Network Builds have higher reliabilty in Xcode 2.5 on Tiger than in prior versions of Xcode, but there are some limitations.

Known Issues in Xcode 2.5

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 Using the ADC Reference Library 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 the Searching for Documentation documentation for more information.

Release Notes

Additional release notes for Mac OS X are located in the ADC Reference Library Release Notes. On this website, there are release notes on specific tools, such as the GCC 4 Release Notes, the GDB 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