Results 1 to 7 of 7
  1. #1
    Create app from command line tool

    Member Since
    Jan 28, 2012
    Posts
    24
    Create app from command line tool
    I create a command line tool. It runs great in Xcode. How do I create an executable file and save it in applications. I really need explicit instructions. Thanks
    Warren

  2. #2
    Create app from command line tool
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,396
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    What do you mean by "save it in applications"? Are you referring to creating an app bundle (.app) that you can double click on? If so, that's not really how command line applications work. For these types of apps, you'd create an installer package. Are you a registered developer? The method of creating installers differs depending on the answer to that question.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3
    Create app from command line tool

    Member Since
    Jan 28, 2012
    Posts
    24
    Yes that is what I mean. No I am not a registered developer. I just want to execute outs de Xcode roper.

  4. #4
    Create app from command line tool
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,396
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    The easiest way would be to compile your application and put it in your PATH. Doing it this way lets you quickly open up a Terminal window and run the application without having to type out the full path. Here's an article about changing the PATH variable.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5
    Create app from command line tool

    Member Since
    Jan 28, 2012
    Posts
    24
    Thanks for your suggestions. I am at a loss as to how to compile without executing in Xcode?
    Warren

  6. #6
    Create app from command line tool
    bobtomay's Avatar
    Member Since
    Dec 22, 2006
    Location
    Texas, where else?
    Posts
    26,209
    Specs:
    15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '11 1.8 i7 4GB 10.10; 21" iMac '13 2.9 i5 8GB 10.10; 5s & 5c
    Modified title and moved to appropriate forum.

    Make it easier for others that may be considering the same...
    I cannot be held responsible for the things that come out of my mouth.
    In the Windows world, most everything folks don't understand is called a virus.

  7. #7
    Create app from command line tool
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,396
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    You want the build option. You could use Xcode to do this or use the command line tool xcodebuild (see here).
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Installing .app from command line
    By jnojr in forum OS X - Operating System
    Replies: 5
    Last Post: 03-04-2013, 12:48 PM
  2. How to create package from command line?
    By jnojr in forum OS X - Operating System
    Replies: 1
    Last Post: 02-11-2013, 06:45 PM
  3. Unable to find the packagemaker command line tool in Mac 10.8
    By gmvinoth in forum OS X - Operating System
    Replies: 3
    Last Post: 09-10-2012, 10:45 AM
  4. Open a GUI app as root command line?
    By V6Pony in forum OS X - Development and Darwin
    Replies: 4
    Last Post: 06-29-2012, 10:49 AM
  5. I need help with this command line using Terminal app
    By SniperCrim in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 09-07-2007, 11:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •