Quick Noob Question

Discussion in 'Mac Programming' started by rmbrown09, Jun 7, 2011.

  1. macrumors 6502a

    rmbrown09

    Joined:
    Jan 25, 2010
    #1
    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:
     
  2. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
  3. thread starter macrumors 6502a

    rmbrown09

    Joined:
    Jan 25, 2010
    #3
    Using XCode 4.
     
  4. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #4
    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
     
  5. thread starter macrumors 6502a

    rmbrown09

    Joined:
    Jan 25, 2010

Share This Page