The Background:
I'm currently following an example in "Building Cocoa Applications, A
Step-By-Step Guide" (Garfinkel & Mahoney), a book which, although
useful, is getting a little long in the tooth now. The examples are
based around Project Builder running on 10.1, which is seems to be a
bit different to XCode 2.4 which I'm currently using.
The Problem:
I need to create a Services Advertisement for the project I'm working
on, but the steps in Project Builder don't seem apply to XCode 2.4:
- Click the targets vertical tab and the GraphPaper target in the Targets
pane
- Click the applications settings tab and the expert button at the right
- Click the new sibling button
- Change the name of the sibling to NSServices
Despite a lot of hunting through "Get Info" and "Project Settings"
dialogs I can't find the equivalent functionality in XCode. Even the
XCode online documentation (which is up to date) seems to refer to
Project Builder rather than XCode. Unless of course I'm missing
something totally obvious, in which case feel free to enlighten me.
The Question:
What is the best way to create a Services Advertisement for an existing
project in XCode? Do I have to edit Info.plist by hand? This would
seem to be a backward step if so.
Note: In the paragraph before these instructions start (on page 551 for
anyone who happens to have a copy to hand), the authors bemoan the
hassle involved in this process of creating a Service Advertisement,
suggesting that a "Services Wizard" may well be added in the future!
Here's hoping such a tool exists and that someone can point me in the
right direction.
many thanks,
Andrew


|