Xcode 4.6 Release Notes
New Features
General
- SDKs:
- OS X SDK 10.8
- iOS SDK 6.1
- Device support (added):
- iPad mini
- iPad with Retina display (4th generation)
Enhancements
Compiling:
- LLVM: New compiler warnings to help find subtle behavioral bugs when using automatic release counting (ARC) and weak references.
- LLVM: Support for the C++11 user defined literals and unrestricted unions.
- LLVM: Advanced optimization to merge disjoint stack objects and to reduce the size of allocated stack memory.
- LLVM: The Type-Based Alias Analysis (TBAA) code optimization is enabled by default.You can disable this optimization with the
llvm -fno-strict-aliasing
option.In Xcode projects, the Enforce Strict Aliasing build setting controls this capability. - LLVM: Support for Microsoft-style inline assembly for i386 and x86_64.
- LLVM: Static analyzer supports deeper cross-function analysis of C++ and Objective-C code.
otool
: Support for disassembly of Intel AVX instructions.otool
: Precisely decodes all instructions and skips over data entries in text segments.
Debugging
- Xcode UI: Inspects elements of
NSArray
andNSDictionary
objects. - LLDB: Reads metadata from the Objective-C runtime.
- LLDB: Improves support for stepping over inlined functions.
- LLDB: Prints function argument information in backtraces by default.
- LLDB: Supports “thread return,” the
temporary breakpoint
command, and a variety of aliases to add common GDB shortcuts.
Changes
General
- DEPRECATED: LLVM-GCC compiler and GDB debugger.Xcode 4.6 is the last release to include the LLVM-GCC compiler and the GDB debugger.Use the LLVM compiler and the LLDB debugger, and file reports at https://bugreport.apple.com for issues that require the use of LLVM-GCC or GDB.
- DEPRECATED: Package Maker app.Use the
productbuild
command to create installer packages - DEPRECATED: ATS.framework (OS X SDK 10.8).The use of the ATS API produces compilation warnings.In OS X v10.8 there is no loss of functionality, but there could be areas where performance degrades.Replace ATS code (including ATSUI) with Core Text calls (see Core Text Programming Guide for details).
No comments:
Post a Comment