Xcode 4 Release Notes (original) (raw)

Xcode 4.6.3 Release Notes

Resolved Issues

Debugging: LLDB

Xcode 4.6.2 Release Notes

Changes

Building: Kernel Extensions

To build kexts that load on OS X 10.6 and 10.7, on the targets that build the kexts, set the OS X Deployment Target build setting to OS X 10.6. 13645170

Resolved Issues

General

New Issues

Code Signing: Kernel Extensions

Known Issues

Building

Xcode 4.6.1 Release Notes

New Features

General

Resolved Issues

Compiling

Accessing Help and Documentation

Known Issues

Accessing Help and Documentation

To address this issue delete any Xcode doc set whose version number is earlier than 509.12 from Documentation preferences:

  1. Open the Xcode preferences window, and click the Downloads button to display Downloads preferences.
  2. Click the Documentation button.
  3. Select an Xcode doc set (titled “Xcode ...”).
  4. Reveal the doc set info by clicking the Show Doc Set Info button (to the left of the + button).
  5. If the version of the doc set is earlier than 509.12, delete the doc set by clicking the Remove (–) button.

Xcode 4.6 Release Notes

New Features

General

Enhancements

Compiling:

Debugging

Changes

General

Xcode 4.5.2 Release Notes

Resolved Issues

General

Editing User Interfaces

Debugging

Distributing Apps

Xcode 4.5.1 Release Notes

Enhancements

General

Debugging

Resolved Issues

Editing User Interfaces

Editing Property Lists

Debugging

Source Control

Xcode 4.5 Release Notes

New Features

Editing User Interfaces

Editing User Interfaces: Storyboards

Enhancements

General

Editing User Interfaces: Storyboards

iOS SDK Usage

Source Control: Subversion

Changes

General: iOS

Distributing Apps: IOS

Creating Projects

Managing Devices

Source Control

Installing

New Issues

Editing User Interfaces

Performance Measurement and Analysis: Instruments

Known Issues

General

Editing Core Data Models

Editing Source Code

Localization

Autolayout: Runtime

Debugging: LLDB

Xcode 4.4.1 Release Notes

Changes

Distributing Apps

Resolved Issues

Debugging

Editing Source Code

Compiling: LLVM

Unit Testing

Known Issues

Managing Devices

Xcode 4.4 Release Notes

New Features

General

Editing Source Code

Compiling: ARM

Enhancements

Editing Source Code

Editing Property Lists

Creating Projects

Resolved Issues

Editing User Interfaces

File System

New Issues

General

Editing Source Code

Editing Core Data Models

Localization

Debugging: LLDB

Autolayout: Runtime

Xcode 4.3 Release Notes

Resolved Issues

General

Installing

Editing User Interfaces

Building

Known Issues

General

iOS SDK Support

Editing Source Code

Debugging

Debugging: LLDB

Performance Measurement and Analysis

Source Control and Snapshots

Xcode 4.2 Release Notes

Installation

Xcode

Interface Builder

Instruments

iOS Simulator

Xcode 4.1 Developer Preview 1 Release Notes

New Features

Editing Nib Files

Enhancements

General

Editing Nib Files

Changes

Building: xcodebuild

Performance Measurement and Analysis

New Issues

Performance Measurement and Analysis

Known Issues

General

Editing Nib Files

Unit Testing

Xcode 4.0 GM Seed Release Notes

Resolved Issues

Editing Nib Files

Source Control and Snapshots

Performance Measurement and Analysis

New Issues

Editing Nib Files

Unit Testing

Known Issues

General

Editing Nib Files

Xcode 4.0 Developer Preview 6 Release Notes

New Features

Performance Measurement and Analysis

Enhancements

General

Task Information and Alerts

Resolved Issues

General

Refactoring

Comparing Versions of a File

Source Control and Snapshots

Building

New Issues

Performance Measurement and Analysis

Known Issues

General

Editing Nib Files

Searching

Xcode 4.0 Developer Preview 5 Release Notes

New Features

General

Editing Core Data Models

Refactoring

Compiling: LLVM 2.0

Analyzing OpenGL ES Performance

Enhancements

General

Editing Nib Files

Editing Source Code

Task Information and Alerts

Changes

Editing Nib Files

Building: xcodebuild

Resolved Issues

General

Editing Nib Files

Editing Core Data Model Files

Editing Source Code

Compiling: LLVM 2.0

Analyzing OpenGL ES Performance

Help and Documentation Content

New Issues

Comparing Versions of a File

Known Issues

General

Editing Nib Files

Searching

Refactoring

Source Control and Snapshots

Building

Help and Documentation Content

Xcode 4.0 Developer Preview 4 Release Notes

New Features

General

Source Control and Snapshots

Accessing Help and Documentation

Compiling: LLVM2.0

Resolved Issues

Editing Nib Files

Editing Source Code

Refactoring

Compiling

Known Issues

General

Searching

Editing Core Data Model Files

Editing Nib Files

Refactoring

Building

Source Control and Snapshots

Help and Documentation Content

Xcode 4.0 Developer Preview 3 Release Notes

About Xcode 4 Developer Preview 3

Supported Configurations

Xcode 4 developer preview 3 requires OS X v10.6.4. It does not install or run on earlier versions of OS X.

Xcode supports universal development for iOS 4.1 and 3.2 and OS X v10.5 and later. It does not support development for iOS 3.1 or earlier or OS X v10.4 or earlier.

Installation

Xcode 4 developer preview 3 is installed by default into the /Xcode4 directory and does not conflict with an existing installation of Xcode 3.2.

The installer optionally installs Unix tools into /usr, so conventional makefile-based and config-based builds operate correctly. Use the xcode-select command-line utility to set the default toolset for command-line builds. If you choose this option when installing Xcode 4, Xcode 4 Unix tools replace the Xcode 3.2 Unix tools in /usr. This does not effect the functionality of any Xcode 3.2 installations.

Project File Format Compatibility and Versioning

Xcode 4 reads and builds projects created in Xcode 2.1 through 3.2.3. Projects created and edited with Xcode 4 can be opened and built on Xcode 3.2 through 3.2.3.

Technical Support and Learning Resources

Apple offers a number of resources where you can get Xcode development support:

Use http://bugreport.apple.com to communicate issues with Apple. Include detailed information of the issue, including the system and developer tools version information, and any relevant crash logs or console messages.

To send comments or feedback on the Xcode Tools suite to Apple, use xcode-feedback@group.apple.com.

New Features

Viewing all Xcode 4 activity (7966729)

When using Xcode 4, there are times when multiple activities may be active. When this happens, the activity view displays the number of activities in a badge. Clicking on the badge shows the full list of activities currently active.

Code completion redesign (7764985)

The user interface and interaction of code completion has been redesigned to be responsive, predictable, and less intrusive with a refreshed appearance.

Using jump bar menus from the keyboard (6964063)

All the primary menus in the jump bar are accessible via control-# key combinations, where the number increases following UI elements from the left to the right.

Jump bar item Key combination
Related files Control-1
Previous history Control-2
Next history Control-3
First item of path control Control-4
Files item of path control Control-5
Symbols item of path control Control-6
Jump bar Issue navigator, if present Control-7

Key combinations for navigation between Assistant editor panes (8273438)

Xcode 4 developer preview 3 features new commands for moving keyboard focus between top level areas or the user interface:

Text manipulation commands available for source editor (7854915)

Two new text manipulation commands have now been added to the Editor > Structure menu: Move line up/down and Comment/Uncomment lines.

Running a process using a custom UI scale (8135779)

You can now set a scheme to launch its executable using a custom UI scale.

Preferences for controlling build products location (8281332)

Preferences for specifying where build products should be placed by default have been added. A shared subfolder can now be specified to make all projects place their build products in the same directory. These preferences can be overridden for a project or workspace in File > Project Settings/Workspace Settings.

Editing IB documents that include objects from frameworks outside of App Kit (7493346)

With Xcode 4 developer preview 3, you can edit documents that contain objects from frameworks outside of App Kit. Note that editing documents containing Automator objects is not currently supported.

Effects attributes of objects in IB editor (7470883)

Properties modified using the Effects inspector in Interface Builder 3 are now editable in the IB editor in Xcode 4.

Preliminary support for the Rename refactoring transformation (8372774)

The Rename refactoring transformation is now available. It is invoked via the Edit menu or the contextual menu in the source editor.

Support for Refactoring operations in Xcode 4 developer preview 3 is preliminary. These issues are outstanding:

Known issues in Xcode 4 Developer Preview 3

Xcode 4 developer preview 3 is pre-release software. File bugs at http://bugreport.apple.com for performance and stability issues, data loss or file corruption, missing or unimplemented features, behavioral or aesthetic issues, and feature and enhancement requests. Provide as much context as possible, especially crash logs or samples, detailed Steps to Reproduce, and projects or workspaces when possible.

These problems are already known in this release:

Documentation organizer requires updated documentation (8354991)

After installing Xcode 4 developer preview 3 over a previous Xcode 4 developer preview, the Documentation organizer may not show the documentation you are looking for.

Workaround: In the Documentation preferences, press the Get button next to Xcode 4.0 Developer Tools Library. This downloads the latest version of that documentation set.

Connect to source code from IB documents does not insert counterparts (8082047)

When inserting an outlet or action using connect to source code in IB documents, the counterparts for the connection are not added.

Warnings when building after editing a IB document (8131479)

If you edit an IB document and then build a project, false-positive warnings may appear for the IB document.

Workaround: Make sure the project has finished indexing before saving IB documents to avoid these warnings. Re-save any files that have warnings after the project has finished indexing to remove the warnings.

Hidden property makes views disappear in IB editor (8059339)

Views marked as hidden are completely invisible in the Interface Builder editor.

Workaround: To work with these views, selected them in the Jump Bar or document outline view.

Syntax coloring and code sense features can fail in some files (8360261)

Some source files may not get full syntax coloring, code completion, and fix-it hints. Also, Jump to Definition may not work.

Workaround: Save the file to index it.

IB documents appear as source (8028406)

IB documents with explicit Xcode 3 file types open in the Source editor instead of the Interface Builder editor.

Workaround: Set the file type for the selected file in the Type and Identity inspector's File Type field to Default, then close and re-open the document.

Last build log restored from previous session appears empty (8350930)

When you open a workspace or project that has been built before, the information about the last build is shown in the Log navigator. If you load this log, it may appear empty if you have the log viewer's scope bar set to show Recent log entries only.

Workaround: Switch to showing All log content.

Shared build location preference requires a path relative to the derived data location (8368913)

If you choose to have all projects and workspaces build into a common subfolder using the Build Location setting in General preferences, you must specify a relative subpath within the derived data folder. Specifying an absolute path is not a valid choice, but the UI does not signal this as an error. Instead, when you open projects, Xcode shows an assertion failure.

Workaround: specify a relative path for the build location or to change back to the default settings.

Editing IB documents with objects from plugins (7470836)

Xcode 4 supports iOS-type IB documents and OS X-type IB documents composed of App Kit objects. OS X-type documents composed of objects from other frameworks, such as Address Book, Automator, and 3rd party IB plugins, are not supported in the IB editor. Although these documents cannot be edited with the IB editor, they can be compiled, built, and run.

SCP-style URLs for Git repositories are not supported (8044145)

The Repositories organizer does not support SCP-style URLs when configuring Git repositories. Use the ssh:// style of URL to refer to a repository you wish to clone.

For example, the URL git@example.com:/myrepositoryname.git should be provided as ssh://git@example.com/myrepositoryname.git.

Crash when replacing all search results. (8091532)

In the Search Navigator's Preview sheet, replacing results when all search results are selected can cause Xcode to crash.

Changes to the build products location do not take effect while a project is open. (7965261)

After changing the location where build products are placed, any open projects or workspaces must be closed and re-opened before the change takes effect.

Issues Resolved in Xcode 4 Developer Preview 3

These issues where present in Xcode 4 developer preview 2 or earlier and have been resolved in Xcode 4 developer preview 3.

iOS applications run with Instruments launch in iPad Simulator (8203761)

Running an iOS 4 application with Instruments in the iOS simulator now results in the Simulator launching in iPhone device mode.

Out-of-sync selections in data model files (8289611)

Adding entities and attributes to data model files no longer leads to selection becoming out-of-sync until the document was reloaded.

Data models edited in previous Xcode 4 developer preview (8320417)

Data models edited with previous Xcode 4 developer previews need to revert changes due to possible data corruption.

Console output from iOS Simulator applications (8201210)

Console output to standard out from iOS applications running in the iOS simulator appear as expected.

Deleting top level objects in IB documents (8114740)

Top level objects in IB documents can now be directly deleted from the canvas and dock.

Changing object attributes doesn't properly resize objects to fit (7600085)

An object changes size automatically when modifying an attribute that requires the change. Using Editor > Size to Fit to workaround is no longer needed.

Connect to source code for IB documents now supports outlet collections (8045078)

When making connections to source code in IB documents, connecting to outlet collections is now supported.

Support for editing accessibility values for iOS objects (7986412)

The IB editor now supports editing accessibility values for iOS objects.

Navigator filter results don't update as the items to filter changed (7722840)

Filtering in navigators now produces live results. For example, when filtering the contents of the Project navigator by SCM status, the list of items updates as the SCM status of individual files changes.

Workspace window and tab state lost if Xcode is force quit or quits unexpectedly. (7773437)

The layout of a workspace window including the open tabs, navigator and inspector positioning and visibility, selected navigator rows, current document, and editor mode are normally all saved when Xcode 4 quits or the workspace is closed. In Xcode 4 developer preview 3, state is also be saved periodically while you work and navigate between files.

Projects claim to use multiple SDKs (8128405)

The project navigator no longer claims projects with multiple targets use multiple SDKs when all targets use the same SDK.

Issues opening projects with cyclic references (8226072)

An issue with opening projects with cyclic references (A->B, B->A) has been resolved.

Persistence of IB editor's object dock mode (8232638)

The IB editor's dock now persists its mode when switching between documents.

Textual filter settings in navigators stuck (8183815)

The text for navigator filtering stays cleared.

Version editor jump bar out of sync with file shown (8198690)

At times the jump bar in the Version editor was out of sync with the document shown.

The source editor shows a full contextual menu (7473795)

Some items that had been missing from the source editor contextual menu have now been added.

Syntax coloring of shell scripts and xcconfig files (7600899)

Shell scripts and xcconfig files support syntax coloring in Xcode's source code editor.

Issues Resolved in Xcode 4 Developer Preview 2

These issues where present in Xcode 4 developer preview and have been resolved in Xcode 4 developer preview 2.

Snapshots available as alert action (7945417)

Snapshot creation is available as an alert action in Alerts preferences.

Default build directory for all projects and workspaces (8073463)

General preferences includes settings for the default locations to use for derived data (such as build results, logs and indices), snapshots, and archives. Settings made in the Project or Workspace Settings of individual projects or workspaces override the app-level setting.

Broken file references (8085921)

A number of issues were resolved that allow Xcode 4 to resolve references that were previously broken.

Issues identifying appropriate run destinations for targets (8165363)

Issues that caused some iOS targets to appear as Mac targets with "Intel 32-bit" as its run destination and some multi-architecture Mac OS targets to only be offered as "Intel 32-bit" have been resolved.

Indexing issues on case sensitive file systems (7950730)

A situation where IB documents blocked indexing in case sensitive file systems has been resolved.

IB editor crash with table view image cells (8118050)

A crash within the IB editor when loading an IB document with a table view containing a image cell column has been resolved.

Filtering objects in IB document outline view (7880130)

The filter field in the IB editor's document outline view filters objects in the Objects outline view based upon their label.

Speed improvements when dragging objects in IB documents (8088222)

Dragging objects in Interface Builder documents is improved and does not pause.

Options when connecting to source code from IB documents (8095283)

When connecting to source code to insert an outlet or action, the configuration panel includes options for outlets and actions, such as retain/assign for property outlets.

IB editor requires IBAction return type

Previous releases of Interface Builder accepted many method signatures as valid actions. The IB editor in Xcode 4 strictly identifies IBActions and only accepts methods with return types explicitly tagged as - (IBAction).

Manually defined actions and outlets need to be defined in source

Actions and outlets defined manually in previous releases of Interface Builder's inspectors and library but not redefined in source code are not recognized by Xcode 4.

Functionality No Longer Supported in Xcode

The following features and functionality have been removed from Xcode. When substitute functionality is available, it is noted.

Xcode 4.0 Developer Preview 2 Release Notes

About Xcode 4 Developer Preview 2

Supported Configurations

Xcode 4 Developer Preview 2 requires OS X v10.6.4. It does not install or run on earlier versions of OS X.

Xcode supports universal development for iOS 4 and 3.2 and OS X v10.5 and later. It does not support development for iOS 3.1 or earlier or OS X v10.4 or earlier.

Installation

Xcode 4 Developer Preview 2 is installed by default into the /Xcode4 directory and does not conflict with an existing installation of Xcode 3.2.

The installer optionally installs Unix tools into /usr, so conventional makefile-based and config-based builds operate correctly. Use the xcode-select command-line utility to set the default toolset for command-line builds. If you choose this option when installing Xcode 4, Xcode 4 Unix tools replace the Xcode 3.2 Unix tools in /usr. This does not effect the functionality of any Xcode 3.2 installations.

Project File Format Compatibility and Versioning

Xcode 4 reads and builds projects created in Xcode 2.1 through 3.2.3. Projects created with Xcode 4 can be opened and built on Xcode 3.2 through 3.2.3.

Opening and building a project in Xcode 4 does not upgrade or alter it. Changes you make to a project in Xcode 4 are compatible with earlier versions of Xcode.

Technical Support and Learning Resources

Apple offers a number of resources where you can get Xcode development support:

Use http://bugreport.apple.com to communicate issues with Apple. Include detailed information of the issue, including the system and developer tools version information, and any relevant crash logs or console messages.

To send comments or feedback on the Xcode Tools suite to Apple, use xcode-feedback@group.apple.com.

Known issues in Xcode 4 Developer Preview 2

Xcode 4 Developer Preview is pre-release software. File bugs at http://bugreport.apple.com for performance and stability issues, data loss or file corruption, missing or unimplemented features, behavioral or aesthetic issues, and feature and enhancement requests. Provide as much context as possible, especially crash logs or samples, detailed Steps to Reproduce, and projects or workspaces when possible.

These problems are already known in this release:

Installer packages visible on Xcode 4 Developer Preview 2 disk image (8209023)

When mounting the Xcode 4 Developer Preview 2 disk image, a Packages folder is visible. Installing packages from within this folder is not supported. Use the Xcode and iOS SDK package to install Xcode 4 Developer Preview 2.

iOS applications run with Instruments launch in iPad Simulator (8203761)

Running an iOS 4 application with Instruments in the iOS simulator results in the Simulator launching in iPad device mode instead of iPhone device mode.

Console output from iOS Simulator applications (8201210)

Console output to standard out from iOS applications running in the iOS simulator does not appear until each call is new-line terminated or the application is quit.

SCP-style URLs for Git repositories are not supported (8044145)

The Repositories organizer does not support SCP-style URLs when configuring Git repositories. Use the ssh:// style of URL to refer to a repository you wish to clone.

For example, the URL git@mycompanyname.beanstalkapp.com:/myrepositoryname.git should be provided as ssh://git@mycompanyname.beanstalkapp.com/myrepositoryname.git.

Version editor Jump Bar out of sync with file shown (8198690)

At times the Jump Bar in the Version editor is out of sync with the document shown.

Workaround: Navigate away from and back to the file in the Version editor to refresh the data.

Documentation organizer requires updated documentation (8205933)

Documentation viewed in the organizer may be missing its table of contents or its contents are not navigable via the Jump Bar.

Workaround: Download the latest documentation, go to the Documentation preferences and click Check and Install Now.

Crash when making connections using connections HUD (8197402)

Control-clicking an element and attempting to drag a connection crashes Xcode then next time any file is saved.

Workaround: Use the connections inspector or connect-to-code with the Assistant editor to make connections.

Effects attributes of objects in IB editor (7470883)

Properties modified using the Effects inspector in Interface Builder 3 are not editable in Xcode 4.

Attributes on objects in IB documents require size-to-fit (7600085)

Some changes to attributes of objects in IB files require that the object is properly sized-to-fit after making the change, but these objects do not automatically size-to-fit.

Workaround: Select the control in the design canvas and choose Editor > Size to Fit.

Outlet collections for connect to source code from IB documents (8045078)

When making connections to source code in Interface Builder documents, connecting to outlet collections is not supported.

Connect to source code from IB documents does not insert counterparts (8082047)

When inserting an outlet or action using connect to source code in IB documents, the counterparts for the connection are not added.

Hidden property makes views disappear in IB editor (8059339)

Views marked as hidden are completely invisible in the Interface Builder editor.

Workaround: To work with these views, selected them in the Jump Bar or document outline view.

IB documents appear as source (8028406)

IB documents with explicit Xcode 3 file types open in the Source editor instead of the Interface Builder editor.

Workaround: Reset the file type for the selected file in the "Type and Identity" file inspector's "File Type" pop up button to "Default," then close and re-open the document.

Editing IB documents with objects from plugins (7470836)

Xcode 4 supports iOS-type IB documents and OS X-type IB documents composed of App Kit objects. OS X-type documents composed of objects from other frameworks, such as Address Book, Automator, and 3rd party IB plugins, are not supported in the IB editor. Although these documents cannot be edited with the IB editor, they can be compiled, built, and run.

Warnings when building after editing a IB document (8131479)

If you edit an IB document and then build a project, warnings may appear for the IB document. Most likely, these warnings are false-positives.

Workaround: Make sure the project has finished indexing before saving IB documents to avoid these warnings. Re-save any files that have warnings after the project has finished indexing to remove the warnings.

Issues Resolved in Xcode 4 Developer Preview 2

These issues where present in Xcode 4 Developer Preview and have been resolved in Xcode 4 Developer Preview 2.

Snapshots available as alert action (7945417)

Snapshot creation is available as an alert action in Alerts preferences.

Default build directory for all projects and workspaces (8073463)

General preferences includes settings for the default locations to use for derived data (such as build results, logs and indices), snapshots, and archives. Settings made in the Project or Workspace Settings of individual projects or workspaces override the app-level setting.

Broken file references (8085921)

A number of issues were resolved that allow Xcode 4 to resolve references that were previously broken.

Issues identifying appropriate run destinations for targets (8165363)

Issues that caused some iOS targets to appear as Mac targets with "Intel 32-bit" as its run destination and some multi-architecture Mac OS targets to only be offered as "Intel 32-bit" have been resolved.

Indexing issues on case sensitive file systems (7950730)

A situation where IB documents blocked indexing in case sensitive file systems has been resolved.

IB editor crash with table view image cells (8118050)

A crash within the IB editor when loading an IB document with a table view containing a image cell column has been resolved.

Filtering objects in IB document outline view (7880130)

The filter field in the IB editor's document outline view filters objects in the Objects outline view based upon their label.

Speed improvements when dragging objects in IB documents (8088222)

Dragging objects in Interface Builder documents is improved and does not pause.

Options when connecting to source code from IB documents (8095283)

When connecting to source code to insert an outlet or action, the configuration panel includes options for outlets and actions, such as retain/assign for property outlets.

IB editor requires IBAction return type

Previous releases of Interface Builder accepted many method signatures as valid actions. The IB editor in Xcode 4 strictly identifies IBActions and only accepts methods with return types explicitly tagged as - (IBAction).

Manually defined actions and outlets need to be defined in source

Actions and outlets defined manually in previous releases of Interface Builder's inspectors and library but not redefined in source code are not recognized by Xcode 4.

Functionality No Longer Supported in Xcode

The following features and functionality have been removed from Xcode. When substitute functionality is available, it is noted.

Xcode 4.0 Developer Preview 1 Release Notes

Xcode 4 is a major version of the Xcode toolset. It requires OS X v10.6.3 and does not run on previous versions of OS X.

General

Major Changes in Xcode 4

Known Missing Functionality in This Release

This Developer Release of Xcode 4 does not implement the following features.

Known Problems in This Release

Xcode 4 Developer Preview is pre-release software. Please file bugs at http://bugreport.apple.com for performance and stability issues, data loss or file corruption, missing or unimplemented features, behavioral or aesthetic issues, and feature and enhancement requests. Provide as much context as possible, especially crash logs or samples, detailed Steps to Reproduce, and projects or workspaces when possible.

These problems are already known in this release:

Functionality No Longer Supported in Xcode

The following features and functionality have been removed from Xcode. When substitute functionality is available, it is noted.