Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
It's better than garbage collection.

GCs allow for much faster allocations and deallocations of memory (but keep in mind Apple's GC was a piece of crap). CPU usage and impact estimation can also be kept under reasonable control if you use low pause GCs.
 
The App Store is not prompting me to update it. What's the story?

I was wondering this myself. This blog post reminded me that "installing Xcode" from the App Store actually just pulls down the Xcode installer. Since I deleted the installer after installing Xcode - as I assume you did - it makes sense that, despite the App Store showing Xcode on my Purchased list, it (a) doesn't think it's currently installed, and (b) doesn't see the new version as being an update.

Guess we just need to grab the new installer and let it do its thing...
 
+1. I <3 ARC, but weak references are critical and the existence of incompatible code is irritating. Hopefully we'll get an SDK which is fully-compatible with ARC in Apple's next OS release, at which point we could make a clean break.

Actually, there are two kinds of weak references: "Safe" weak references that change to nil when the referenced object goes away, and "Unsafe" weak references that don't change to nil automatically. Both are "weak" technically weak references. Both work as "weak" references in 10.6, but the automatic change to nil doesn't happen in 10.6. So you can't rely on that if your code should run on 10.6.


Is this similar to Garbage Collection?

It's not a delta update. A hefty installer instead... (1.68 GB if you have 4.1)

No. It is the same old retain/release/autorelease thing, except that you don't write the statements anymore, but the compiler does it for you. The effects are: 1. Your code will be correct, because the compiler doesn't forget to retain or release an item when it should. 2. Your code may become faster, because the compiler optimizes unneeded retain/release away, implements autorelease pools faster, and uses specialized code instead of Objective-C methods. 3. If you have code that is so convoluted that the compiler can't figure out when to retain/release objects then it doesn't compile and you'll have to fix it. Most likely your code was broken anyway in that case.

Compared to Garbage Collection, your memory footprint will be lower.
 
Last edited:
My svn inside Xcode now states "Host is unreachable". Tried everything, CL-svn works fine in the project folder. Deleted keychain access passwords, everything.
Can't even checkout from the repo. Host is unreachable.
Damnit.

Fixed. Turned out the server certificate wasn't trusted by the system. Enter the server URL in Safari, always trust the certificate, restart Xcode. Works.
 
Last edited:
I finally got the new XCode downloaded from the App Store. It downloaded 1.8G of stuff (I already had 4.1 installed) and then... nothing.

I run XCode, it says version 4.1. In the past the App Store download was a "Install XCode" program. But I don't see any kind of "Install XCode" program. The App Store thinks 4.2 is installed but clearly it's not.

If anyone had the previous 4.1 version and successfully downloaded and installed 4.2, what was supposed to happen?
 
I finally got the new XCode downloaded from the App Store. It downloaded 1.8G of stuff (I already had 4.1 installed) and then... nothing.

I run XCode, it says version 4.1. In the past the App Store download was a "Install XCode" program. But I don't see any kind of "Install XCode" program. The App Store thinks 4.2 is installed but clearly it's not.

If anyone had the previous 4.1 version and successfully downloaded and installed 4.2, what was supposed to happen?

Yeah normally it downloads the installer. Should be available on the launchpad. Did you try a spotlight search for "Install Xcode"? Run that one, let it upgrade Xcode. Done.
 
If anyone had the previous 4.1 version and successfully downloaded and installed 4.2, what was supposed to happen?

First I downloaded 4.2 for Snow Leopard from the developer site. Then I dragged my old 4.1 to the trash, and kept my 3.2 in its place. I had two unique folders, one for each. I also had a /Developer folder with some extras. After that, I double clicked the 4.2 package in the disc image that was automatically opened when I downloaded 4.2. Everything seems to be working.
 
Yeah normally it downloads the installer. Should be available on the launchpad.

Nothing there. Only the previous version of XCode.

Did you try a spotlight search for "Install Xcode"? Run that one, let it upgrade Xcode. Done.

Nothing there either.

I previously installed 4.1 and probably deleted the 4.1 Installer from the Mac to save disk space, so it's not there anymore. I wonder if that has something to do with it. My Mac is running Lion.
 
Annoying Update Notice of Xcode 4.2

After upgrading to Lion 10.7.2 and I have updated Xcode to 4.2, Mac App Store still indicates Update Notice for Xcode 4.2

When I click on 'Update', a dialog pops up indicating something like 'cannot complete update' and it requests to use 'Check Software Update' from Preferences.

Well, after running 'Check Software Update', not surprising, it indicates no software update is required. BUT Mac App Store still flags Update Notice for Xcode 4.2

From the Launcher, I notice that there is an icon 'Install Xcode'. Is this icon causing the problem, and I should 'throw' it to Thrash?

Otherwise, how am I supposed to flag Xcode is already updated to 4.2, and stop the Update Notice in Mac App Store.

Thank you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.