Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 7, 2011, 08:06 PM   #1
rmbrown09
macrumors 6502a
 
rmbrown09's Avatar
 
Join Date: Jan 2010
Quick Noob Question

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..
__________________
Had: 4 MBP's + 1 MBA
HAVE: 2600k i7 @ 4.5GHz, GTX 690 OC'd, SSD RAID 0, 16GB DDR3 @ 2400Mhz, HAF X Case, 27" 1440p Catleap, BlackWidow Ultimate, Windows 7!
rmbrown09 is offline   0 Reply With Quote
Old Jun 7, 2011, 08:13 PM   #2
jiminaus
macrumors 65816
 
Join Date: Dec 2010
Location: Sydney
XCode 3 or XCode 4?
jiminaus is offline   0 Reply With Quote
Old Jun 7, 2011, 08:14 PM   #3
rmbrown09
Thread Starter
macrumors 6502a
 
rmbrown09's Avatar
 
Join Date: Jan 2010
Quote:
Originally Posted by jiminaus View Post
XCode 3 or XCode 4?
Using XCode 4.
__________________
Had: 4 MBP's + 1 MBA
HAVE: 2600k i7 @ 4.5GHz, GTX 690 OC'd, SSD RAID 0, 16GB DDR3 @ 2400Mhz, HAF X Case, 27" 1440p Catleap, BlackWidow Ultimate, Windows 7!
rmbrown09 is offline   0 Reply With Quote
Old Jun 7, 2011, 08:27 PM   #4
jiminaus
macrumors 65816
 
Join Date: Dec 2010
Location: 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
jiminaus is offline   0 Reply With Quote
Old Jun 7, 2011, 08:33 PM   #5
rmbrown09
Thread Starter
macrumors 6502a
 
rmbrown09's Avatar
 
Join Date: Jan 2010
Thank You
__________________
Had: 4 MBP's + 1 MBA
HAVE: 2600k i7 @ 4.5GHz, GTX 690 OC'd, SSD RAID 0, 16GB DDR3 @ 2400Mhz, HAF X Case, 27" 1440p Catleap, BlackWidow Ultimate, Windows 7!
rmbrown09 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
All iPads: Noob question dj95 iPad 1 Nov 23, 2013 05:48 PM
Might be a noob question but tymaster50 OS X Mavericks (10.9) 8 Oct 4, 2013 08:28 AM
Very Noob Question.. Nyy8 Windows, Linux & Others on the Mac 7 Jul 20, 2013 01:32 AM
noob question GunZi iMac 5 Nov 6, 2012 03:39 PM
Noob question nrfujnbfvj OS X 10.8 Mountain Lion 1 Jun 27, 2012 05:14 AM

Forum Jump

All times are GMT -5. The time now is 03:47 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC