Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 7, 2011, 07: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, 07: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, 07: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, 07: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, 07: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

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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Quick noob question Maurier Mac Basics and Help 1 Jun 22, 2010 10:00 PM
Quick noob question about updating RAM mauibarber iMac 6 May 2, 2009 12:47 PM
Quick noob question tennis8668 iPhone and iPod touch Apps 3 Mar 22, 2009 02:50 PM
Quick noob question about Jailbreaking - Does it affect the actual PHONE part? TheSahand Jailbreaks and iOS Hacks 6 Dec 30, 2008 06:17 PM
A quick noob question regarding pwned 2.0.1 to pwning 2.0.2 SmOcKxY Jailbreaks and iOS Hacks 5 Sep 9, 2008 09:12 AM


All times are GMT -5. The time now is 12:57 AM.

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

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