• 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
Re: building a command-line tool as a bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building a command-line tool as a bundle


  • Subject: Re: building a command-line tool as a bundle
  • From: Marcel Weiher <email@hidden>
  • Date: Sun, 17 Aug 2008 11:29:38 -0700


On Aug 17, 2008, at 4:41 , Roland King wrote:

I started building a Cocoa app then decided that I wanted to build myself a little command-line tool to test the classes I'm writing. Perhaps it should be a Unit test but I thought perhaps I'd learn those another day. So I added a command-line target, marked the .m and .h files I wanted to test as belonging to that target, wrote a main() and all is well.

Cool.

Now I want my final cocoa app to use a plist file in the app bundle for some startup data, so I'd like my little command-line tool to be a bundled app too (instead of the straight executable which is currently built) so I can put the plist file in there and do some tests. So I was trying to convert the commandline tool target to build a bundle and haven't managed it.

Have you considered just passing the path to the startup data to your command line utility?


Marcel

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: building a command-line tool as a bundle
      • From: Roland King <email@hidden>
References: 
 >building a command-line tool as a bundle (From: Roland King <email@hidden>)

  • Prev by Date: Re: Preferred Wrapper for TCP Sockets Over Local Network?
  • Next by Date: Re: NSUInteger hash
  • Previous by thread: Re: building a command-line tool as a bundle
  • Next by thread: Re: building a command-line tool as a bundle
  • Index(es):
    • Date
    • Thread