PDA

View Full Version : Quick Noob Question




rmbrown09
Jun 7, 2011, 07:06 PM
Just wondering.
If I have a simple C++ Application completed, how to I compile it to run as its own app???

transform it from an Xcode project file to a standalone app? Thanks.. :apple:



jiminaus
Jun 7, 2011, 07:13 PM
XCode 3 or XCode 4?

rmbrown09
Jun 7, 2011, 07:14 PM
XCode 3 or XCode 4?

Using XCode 4.

jiminaus
Jun 7, 2011, 07:27 PM
Every time you build in XCode is has been building a "standalone" app in order to run it. It's been build it into a derived data directory.

To find the derived data directory.


Window | Organizer
Projects tab
Select your project on the left
You'll see the Derived Data path
Click the arrow to open the Derived Data path in Finder
Go into Build/Products/Debug or Build/Products/Release


You can also have XCode export an archive of your program.


Change to a release scheme
Product | Archive
Window | Organizer
Archives tab
Select your project on the left
Select the latest release version in the archive
Share
Application
Save the Application somewhere

rmbrown09
Jun 7, 2011, 07:33 PM
Thank You