Xcode Project Template

Once I setup Perforce, I created an Xcode project for my first application for Mac OS X. Since I’m building a Cocoa application that isn’t document-based, I started with the Red Sweater Cocoa Application Xcode template which is reportedly based on Jon Wight’s CocoaApp template. Within a minute, I had an application running that displayed a nice about box. Thanks to Daniel and Jon for sharing their templates!

Oh, one more thing…. I also configured Xcode with my name and the name of my company:


defaults write com.apple.Xcode \\
PBXCustomTemplateMacroDefinitions "{ \\
\"ORGANIZATIONNAME\" = \"Sugar Maple Software, Inc\"; \\
\"FULLUSERNAME\" = \"Geoffrey Schmit\"; }"

If you need to specify different organization names for different projects, Jonathan “Wolf” Rentzsch describes how to do so easily by leveraging rooSwitch.

2 Responses to “Xcode Project Template”

  1. Elise van Looij Says:

    Do *not* use this with Xcode 3 on Leopard — I just did and now I can open a project without Xcode crashing.

  2. Elise van Looij Says:

    Right, I meant, of course: “and now I can’t open a project without Xcode crashing.” This is just not my day.

Leave a Reply

thoughts yet to be boiled down to their essence

salvage cars Signal Mountain | boys games | mobiele pin