Targets
Targets
- Subject: Targets
- From: Angela Brett <email@hidden>
- Date: Fri, 16 Nov 2001 21:51:03 +1300
Hi,
I'm sorry if this is a silly question, but I have read what seem to
be the relevant parts of the Project Builder docs on targets and
searched with Google to try to find the answer.
I'm working on several things which are all related, so I figured it
would be convenient/usual to have them as targets in the one project.
I started by making a Foundation tool. Now I want to add an
application to my project. I went to 'New Target' and chose Cocoa
Application. However, that didn't add the files to my project which
would be in it if I'd made the Application in a new project...
MainMenu.nib etc. Why is that?
I can see there are Project Templates and Target Templates folders in
the ProjectBuilder Extras folder. For lack of any better ideas, I
made a copy of the English.lproj folder from the Cocoa Application
folder in Project Templates and added it to my project. I'm sure
that's not what's supposed to be done, but it was all I could think
of and I wanted to try it before asking the list for help. When I
compiled the app I got the error:
No Info.plist file in application bundle or no NSPrincipalClass in
the Info.plist file, exiting
and then the app exited with status 1.
I notice there are Info.plist templates for some kinds of projects,
but not for an application, and anyway I wouldn't know what to do
with one. So, is this not the sort of thing which Targets are meant
to be for? Do I just have to start a new project for the app?
--
Angela Brett email@hidden
http://acronyms.co.nz/angela
A mathematician is a machine for turning coffee into theorems -- Paul Erdos