• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Targets
      • From: rsharp <email@hidden>
  • Prev by Date: RE: Keyboard events in a PrefPane
  • Next by Date: IB Palette with a Window
  • Previous by thread: Re: Generating a PDF file without a NSView
  • Next by thread: Re: Targets
  • Index(es):
    • Date
    • Thread