New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Create app from command line tool


Post Reply New Thread Subscribe

 
Thread Tools
wvtrammell

 
Member Since: Jan 28, 2012
Posts: 24
wvtrammell is on a distinguished road

wvtrammell is offline
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
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,827
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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
QUOTE Thanks
wvtrammell

 
Member Since: Jan 28, 2012
Posts: 24
wvtrammell is on a distinguished road

wvtrammell is offline
Yes that is what I mean. No I am not a registered developer. I just want to execute outs de Xcode roper.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,827
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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
QUOTE Thanks
wvtrammell

 
Member Since: Jan 28, 2012
Posts: 24
wvtrammell is on a distinguished road

wvtrammell is offline
Thanks for your suggestions. I am at a loss as to how to compile without executing in Xcode?
Warren
QUOTE Thanks
bobtomay

 
bobtomay's Avatar
 
Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 25,017
bobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond repute
Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1

bobtomay is offline
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.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,827
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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
QUOTE Thanks

Post Reply New Thread Subscribe


« c-programming | StringValue into NSView(Objective-c) »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
App Store adds pop-up information windows OneMoreThing... Apple Rumors and Reports 0 01-16-2012 10:52 PM
Odd GameStore app by Apple appears in App Store OneMoreThing... Apple Rumors and Reports 2 01-03-2012 12:15 PM
Create an iOS App Rizfiz iOS Development 0 12-25-2011 11:32 AM
Mac OS X Lion to feature iOS-like 'jiggling' app unistaller OneMoreThing... Apple Rumors and Reports 2 05-02-2011 05:42 PM
Apple creates dev app to monitor App Store sales the8thark iOS and Apps 0 06-11-2010 06:07 AM

All times are GMT -4. The time now is 02:34 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?