Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Rubydoppler

macrumors 6502a
Original poster
Jan 25, 2010
942
0
USA
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

macrumors 65816
Dec 16, 2010
1,449
1
Sydney
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.

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

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

  1. Change to a release scheme
  2. Product | Archive
  3. Window | Organizer
  4. Archives tab
  5. Select your project on the left
  6. Select the latest release version in the archive
  7. Share
  8. Application
  9. Save the Application somewhere
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.