New Features in Xcode 4.6
Xcode 4.6 adds support for development with the iOS 6.1 SDK and includes new features for the compiler and debugger, along with general improvements to performance and robustness.
Xcode 4.6.1 supports development with OS X 10.8.3 SDK and provides compatibility for ARC in projects targeting OS X 10.6.
Xcode 4.6.2 is a maintenance release responding to developer reported issues and Apple QA testing input.
Xcode 4.6.3 fixes an issue where debugging in the iOS Simulator could hang on OS X 10.8.4.
For the compiler:
Compilation warnings are added which assist in finding bugs when using ARC and weak references.
otoolis enhanced to support disassembly of Intel AVX instructions.
The LLVM compiler now supports C++11 “user defined literals” and “unrestricted unions” features.
The static analyzer has enhanced cross-function analysis for C++ and Objective-C methods. With this enhancement, the static analyzer can now find deeper bugs that cross method calls in Objective-C and C++ code. This new capability extends the cross-function analysis for C functions that was introduced in Xcode 4.5.
For the debugger:
LLDB has been enhanced to read metadata from the Objective-C runtime. This enhancement greatly reduces the need to cast arguments and the results of message sends, and makes properties more often usable (particularly from system classes).
LLDB has improved support for stepping over inlined functions. This improved support is particularly useful for
LLDB now prints function argument information in backtraces by default.
LLDB now supports “thread return,” temporary breakpoints, and a variety of aliases to add common shortcuts from GDB.
The elements of
NSDictionaryobjects can now be inspected in the Xcode debugger.
Xcode 4.6.1 is a maintenance release responding to reported developer issues and Apple qualification testing. Major highlights of this release include:
Xcode 4.6.1 provides an update to the included OS X SDK, supporting new OS X v10.8.3 APIs.
ARC compatibility has been ensured for projects targeting OS X 10.6
The Xcode 4.6.2 release is a maintenance release responding to reported developer issues and Apple qualification testing.
The Xcode 4.6.3 release fixes an issue where debugging in the iOS Simulator could hang on OS X 10.8.4.
Additional improvements to Xcode robustness and reliability have been incorporated. See Xcode Release Notes for more information.