XCode


Optimizing My XCode Workflow

XCode is a powerful beast, but sometimes it feels a bit long in the tooth compared to some other modern IDE’s. And it definitely doesn’t seem to have had that fine attention to an all-in-one layout design a la Aperture 2.
Sometimes it feels like there are XCode windows scattered all over my office and [...]

No Rule To Process File For Architecture i386

I was getting a bunch of “warning: no rule to process file xyz.h for architecture i386” from XCode and scratching my head.
Turns out this always means that you have some non compilable files in your Compile Sources build phase. In my case I had dragged Objective-C .m and .h files into the Compile Sources [...]

XCode Keyboard Shortcuts

Here is a fabulous XCode Keyboard Shortcuts Guide created by Colin Wheeler. I’m using it as wallpaper till I commit more of them to memory.

Xcode Template Factory

Hog Bay Software has released XcodeTemplateFactory:
“With XcodeTemplateFactory you can keep you “template” as a normal Xcode project that’s easy to update. When you want to release the template just process your project through XcodeTemplateFactory and out will pop a project that’s setup to be used as an Xcode template project.”

Indie Mac Developments in 2007

Theocacao has a great summary of 2007, Year of the Indie Mac Developer.

Using atos to convert numeric addresses to symbols

Daniel Jalkut explains how to use atos to decipher Mac crash logs even if you ship your program without symbols.

All Hail Leopard

ZeroLink RIP
Gus Mueller is having fun with Core Animation.

Textmate XCode Bundle Build Sounds

The build sounds on build success or failure when building from TextMate were starting to drive me crazy so I was glad when I saw this in the latest TextMate change notes:
[CHANGED] Xcode bundle: The success/failure sounds used by the Xcode build command now has tame defaults, namely Hero and Basso — if you want [...]

Using New OS X Classes in Different OS X Versions

There is a good thread going on over at Clickable Bliss that explains how you can have your code run on OS X 10.3 and use new classes in OS X 10.4 or 10.5 if they are available.
The trick is to use NSClassFromString to check if the new classes exist and setting the XCode deployment [...]

__MyCompanyName__ No More

In case you’re looking for how to have XCode stop inserting the Copyright __MyCompanyName__ tag in new files, Color Me Cocoa has the solution. Simply execute the following command in a terminal window and set the string to your own name or company:

defaults write com.apple.xcode PBXCustomTemplateMacroDefinitions
‘{ ORGANIZATIONNAME = “Joe Programmer”; }’
This comes from the [...]