Xcode Developer Toolset Updated to Version 4.6 - MacRumors
Skip to Content

Xcode Developer Toolset Updated to Version 4.6

by

Xcode4 6
Following the release of iOS 6.1, Apple has updated its Xcode developer toolset as well. The new version, Xcode 4.6, includes improvements in code completion heuristics, new compiler warnings, and other coding improvements.

What's new

- Includes SDKs for OS X 10.8 Mountain Lion and iOS 6.1.
- Code completion heuristics are more accurate, and use an optimized default data set.
- New compiler warnings help identify potential bugs when using ARC and weak references.
- C++11 support for ‘user defined literals’ and ‘unrestricted unions’ features.
- Debugger can inspect elements within NSArray or NSDictionary objects.
- Analyze now performs deeper cross-function static analysis of Objective-C and C++ code.
- The number of indexing passes is reduced due to improved dependency checking.
- Additional bug fixes and stability improvements.

Xcode 4.6 is available as a free download from the Mac App Store. [Direct Link]

Top Rated Comments

179 months ago
About Time


- Debugger can inspect elements within NSArray or NSDictionary objects.

This should have been in XCode 3! Been needing this for years and has added hours to my life adding logging statements to see the contents of these.
Score: 7 Votes (Like | Disagree)
Stella Avatar
179 months ago
Hey Bro, I understand your frustration, but Apple does have other tasks on hand... give 'em some luv!!!






Love & Peace,
yehudah

Being able to inspect dictionaries and arrays using the debugger is functionality that a developer would expect to exist.
Score: 4 Votes (Like | Disagree)
179 months ago
Awesome news, the latest Xcode is quite good. And clang has the best C++11 support to date, much better than MSVC 2012.

Here are the changes from 4.5.2 to 4.6:

$ xcrun clang --version
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
$ xcrun clang --version
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix

$ xcrun git --version
git version 1.7.10.2 (Apple Git-33)
$ xcrun git --version
git version 1.7.12.4 (Apple Git-37)
Score: 2 Votes (Like | Disagree)
Saladinos Avatar
179 months ago
Apple generally prefers you work with Objective-C style objects. Core Foundation is just there to enhance C compatibility... They haven't even given Core Foundation ARC yet. It's a bit of a second-class citizen in general.
Yeah but C compatibility is kind of important. Also, unless you're targeting iOS6 (and NSMapTable, which I'm unsure if this new inspector will detail), it's the only way to get a dictionary that doesn't copy its keys or retain its values.

As for bracket autocompletion, the problem is this:

4 + 3

4 + 3 )

(4 + 3 ) now press space...

( )4 + 3 ) why does XCode insert this bracket?!

I like the bracket autocompletion in general, but this one thing just annoys the hell out of me. There's nothing to complete here, the brackets are already closed.
Score: 1 Votes (Like | Disagree)
179 months ago
Well, here's one very obvious bug that's still not fixed:

Press Cmd+F to open a find dialog, type some query that gets lots of results, press Enter to select next result, it works fine, but Shift+Enter has a problem - it goes to previous entry, then to next one, effectively looping in place.

On the other hand, Cmd+G and Cmd+Shift+G work fine without the bug.
Score: 1 Votes (Like | Disagree)
DaveP Avatar
179 months ago
This should have been in XCode 3! Been needing this for years and has added hours to my life adding logging statements to see the contents of these.

WooHoo! 2001 here we come!
Score: 1 Votes (Like | Disagree)

Popular Stories

Apple TV 4K HomeView HomePod Mini tweaked

New Apple TV 4K, HomeView, and HomePod Mini: 16 Details Just Leaked

Sunday October 11, 2026 12:56 pm PDT by
Just two days before Apple's "Welcome home" experience in New York, Bloomberg's Mark Gurman has leaked several details about the new products set to be unveiled, including an all-new smart home hub, a HomePod mini 2, and a new Apple TV 4K. Here is an all-in-one summary of the details shared by Gurman:Apple's home hub with a touch-enabled display will be named HomeView, seemingly confirming a ...
Apple HomeView lineup feature1

Apple Announces 'HomeView' Smart Home Hub

Tuesday October 13, 2026 6:00 am PDT by
Apple today announced the "HomeView," an all-new kind of smart home hub featuring a 7-inch Liquid Retina display and Siri AI. Apple's senior vice president of Worldwide Marketing Greg Joswiak said: Apple HomeView is designed to be shared by everyone in the home yet feel completely personal to each user. It recognizes your face to shift from a household screen to your own experience,...
Apple TV 4K 4th Generation feature4

New Apple TV 4K Announced With A19 Chip, Updated Siri Remote, More

Tuesday October 13, 2026 6:08 am PDT by
Apple today announced the fourth-generation Apple TV 4K, with key features including an A19 chip, Siri AI support, an updated Siri Remote that has Find My support with Precision Finding, built in far-field microphones, support for surround sound with four HomePods in front and rear pairs, and more. The A19 chip in the new Apple TV 4K delivers up to 50% faster CPU performance and up to twice...
Latest Stories
Amazon Offers $120 Discount on AirPods Max 2, $50 Off AirPods Pro 3
Amazon Offers $120 Discount on AirPods Max 2, $50 Off AirPods Pro 3
19 minutes ago
Apple CEO John Ternus Featured on Cover of TIME Magazine: 'New Era'
Apple CEO John Ternus Featured on Cover of TIME Magazine: 'New Era'
54 minutes ago
Apple Announces Deadline to 'Get Ready' to Pre-Order the iPhone Duo
Apple Announces Deadline to 'Get Ready' to Pre-Order the iPhone Duo
1 hour ago
MKBHD is 'Not Convinced' About Apple's New HomeView, Here's Why
MKBHD is 'Not Convinced' About Apple's New HomeView, Here's Why
2 hours ago
Apple's Wall-Mounted HomeView Ships Without a Power Adapter
Apple's Wall-Mounted HomeView Ships Without a Power Adapter
2 hours ago
Rare Apple-1 With Steve Jobs Letter Sells for $1.15 Million
Rare Apple-1 With Steve Jobs Letter Sells for $1.15 Million
3 hours ago
Apple Now Inviting Media to October 28 'Launch Experience'
Apple Now Inviting Media to October 28 'Launch Experience'
3 hours ago
iPhone Duo's A20 Pro Chip Benchmarked Ahead of Launch
iPhone Duo's A20 Pro Chip Benchmarked Ahead of Launch
14 hours ago
10 HomeView Features You Might Have Missed
10 HomeView Features You Might Have Missed
15 hours ago
Apple Becomes Second Company to Close Above $5 Trillion
Apple Becomes Second Company to Close Above $5 Trillion
16 hours ago
Which Apple Home Devices Get Siri AI, and When
Which Apple Home Devices Get Siri AI, and When
17 hours ago
Apple's Long-Delayed HomeView Was Already Being Tested in 2024
Apple's Long-Delayed HomeView Was Already Being Tested in 2024
18 hours ago
Apple Intelligence Coming to China in December With iOS 27.3
Apple Intelligence Coming to China in December With iOS 27.3
18 hours ago
Apple Invites App Updated With Two New Features
Apple Invites App Updated With Two New Features
18 hours ago
OpenAI Says Ex-Employee Showed Its Device Plans to Apple
OpenAI Says Ex-Employee Showed Its Device Plans to Apple
20 hours ago
Discover the Best Cases and Screen Protectors for Your New iPhone Duo
Discover the Best Cases and Screen Protectors for Your New iPhone Duo
20 hours ago
Apple Store Near Los Angeles Closed Due to 'Events Beyond Our Control'
Apple Store Near Los Angeles Closed Due to 'Events Beyond Our Control'
21 hours ago
No, HomePod Mini 1 Won't Support Siri AI as CNET Reported
No, HomePod Mini 1 Won't Support Siri AI as CNET Reported
22 hours ago
iPhone Duo Compromises: Everything You Have to Give Up
iPhone Duo Compromises: Everything You Have to Give Up
22 hours ago
Apple HomeView Has These 15 Apps, Some CarPlay Apps and Widgets Also Supported
Apple HomeView Has These 15 Apps, Some CarPlay Apps and Widgets Also Supported
22 hours ago
iPhone Duo: Apple Charging $49 for New Cover Layer, $229 for Battery
iPhone Duo: Apple Charging $49 for New Cover Layer, $229 for Battery
23 hours ago
iPhone Duo: Skipping AppleCare+ Could Be $1,499 Mistake
iPhone Duo: Skipping AppleCare+ Could Be $1,499 Mistake
23 hours ago
Ready for HomeView? Don't Miss These Smart Home Accessory Deals
Ready for HomeView? Don't Miss These Smart Home Accessory Deals
1 day ago
Apple Says HomePod 2 Also Works as Default Speaker With Select Macs
Apple Says HomePod 2 Also Works as Default Speaker With Select Macs
1 day ago
HomePod Mini 2: All the New Features
HomePod Mini 2: All the New Features
1 day ago
WhatsApp Now Lets Anyone Join Calls, No Account Needed
WhatsApp Now Lets Anyone Join Calls, No Account Needed
1 day ago
AppleCare+ Launched 15 Years Ago Today
AppleCare+ Launched 15 Years Ago Today
1 day ago
Apple Reportedly Planning Large iPhone 18 Production Run
Apple Reportedly Planning Large iPhone 18 Production Run
1 day ago
Apple Says These Products Are Now Obsolete
Apple Says These Products Are Now Obsolete
1 day ago
First Pre-Order Discounts Now Available for HomeView
First Pre-Order Discounts Now Available for HomeView
20 hours ago