• 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
Building command-line apps system-wide
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building command-line apps system-wide


  • Subject: Building command-line apps system-wide
  • From: William Squires <email@hidden>
  • Date: Fri, 09 May 2014 10:18:58 -0500

Okay, I've (mostly) finished by command-line app and tested it locally via Terminal.app. I then used

%sudo cp DateCalc /bin
...
<entered password>
Í /bin
%sudo chown root:wheel DateCalc
%

and I can now call my DateCalc app from any terminal session. Question: how do I get Xcode to build to this location directly? Is it even possible to tell Xcode to use sudo to copy into the restricted /bin system directory, and to do the chown every time I re-build (in case I want to add features to it) this project?

Also, having done so, how can I make a man page for it? Is there a tool for making man pages? Is that what the .1 file in the project is for?


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Building command-line apps system-wide
      • From: Jens Alfke <email@hidden>
  • Prev by Date: How do I set the icon for a Document Type?
  • Next by Date: Re: Building command-line apps system-wide
  • Previous by thread: How do I set the icon for a Document Type?
  • Next by thread: Re: Building command-line apps system-wide
  • Index(es):
    • Date
    • Thread