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.
This entry was posted Wednesday, 11th October, 2006 at 3:07 pm and is filed under cocoa, mac os x, programming. You can leave a response, or trackback from your own site.
Do *not* use this with Xcode 3 on Leopard — I just did and now I can open a project without Xcode crashing.
Right, I meant, of course: “and now I can’t open a project without Xcode crashing.” This is just not my day.
Name (required)
Mail (will not be published) (required)
Website
uDecide! ... because the important decisions are hard enough.
NewsHawker: Your own personal news anchor.
April 15th, 2008 at 7:13 am
Do *not* use this with Xcode 3 on Leopard — I just did and now I can open a project without Xcode crashing.
April 15th, 2008 at 7:14 am
Right, I meant, of course: “and now I can’t open a project without Xcode crashing.” This is just not my day.