Sunday, February 13, 2011

Xcode 4 Icons

Well, now that Xcode 4 is GM, it has the same icon as Xcode 3.25. Ordinarily, this wouldn't be an issue, since a GM release means you can throw out the old one and use it full-time.

Only, you may not be able to with all of your projects. Xcode 4 GM has a few issues that make it hard to go full-time with it, including a linker error that can only be worked around by turning some level of code optimization, a change that makes it hard to debug. A few of these problems impact projects I'm working on, so as a result, I have to grudgingly use Xcode 3.25 for some tasks.

Despite a small handful of problems, though, Xcode 4 is where I want to be whenever possible. Having multiple identical icons in your Dock can be a bit of a pain.

Unfortunately, I didn't save the old Xcode 4 installers. If I had, I would have just gone and stolen the old preview icon and continued using that. Since I didn't, I did the same thing I did for beta iOS releases and made a customized version of the app icon for Xcode 4. If you want to use it, you can download it here. To install, you just copy the .icns file into Xcode 4's app bundle, replacing the existing one. And, no, replacing the icon file with a new one doesn't cause problems with Xcode 4 due to code signing, though I feared it might.

This is what it looks like:

Xcode




11 comments:

Tomek C. said...

The linker error you mentioned can be worked around by setting compiler to GCC 4.2 - I guess this won't prevent you from debugging.

At least it worked for me.

Jeff LaMarche said...

Tomek:

"Use GCC 4.2" is not a very satisfying option if you've extensively used features that require LLVM.

Dennis said...

FYI -- if changing the ics file *did* cause code-signing to fail, you can still do the old Classic MacOS trick of selecting the app icon in the Get Info window in Finder and pasting in your replacement icon. This has the benefit of not actually modifying the app bundle so you can easily revert back to the regular icon by just selecting the icon in the Get Info window again and doing a cut or hitting the delete key.

Benedict said...

Smart idea. But wouldn't it be better to change the icon for Xcode 3 instead of Xcode 4? Presumably this will need to be reapplied after every update and i guess 4 will be update more frequently than 3, therefore changing the icon of 3 would mean that this needs to be applied less frequently too.

Tomek C. said...

Jeff: what are the advantages of LLVM? Besides output code quality, which I guess, may be better.

Is anything that helps during development?

honkj said...

what are people's take on any advantages of Xcode4 over 3.25 in General UI type of use...

i am very comfortable with Xcode 3 now finally, and just plain dreaded any more UI changes so i'm avoiding 4 for now, but am curious of your opinions on the over all feel...

Sromobazar said...

iPhone always bring new technology in mobile. Its really very good step for our technology sector.
Thanks: www.sromobazar.com

Kelan said...

Not to copy your idea too blatantly, but I like solving this problem with the hue-adjust filter in Acorn. Here's what I came up with:

http://yeahrightkeller.com/2011/potentially-useful-replacement-icon/

noamtm said...

Since in the future you'll probably ditch v3 and continue with v4, shouldn't you instead mod the icon of Xcode 3?

A fourty two year old guy or so said...

Great idea Jeff. Don't know if I dare now though, because Dennis states that this causes code-signing to fail... what to do now (pasting the icon in the get info pane works with your icon.. but not with the one I made - transparent background is not transparent when app launches...) Anyhow, love your tips! (and books)

Quakeboy said...

Hi here is another icon, designer made :)

http://qdevarena.blogspot.com/2011/04/xcode-4-custom-icon.html