Xcode4 .exe

Discussion in 'Mac Programming' started by farmerdoug, Dec 7, 2011.

  1. macrumors 6502a

    Joined:
    Sep 16, 2008
    #1
    Where is; How do I get a .exe file from Xcode?
     
  2. macrumors 603

    blueroom

    Joined:
    Feb 15, 2009
    Location:
    Toronto, Canada
    #2
    .exe is not an iOS or OSX file extension. It's Windows or DOS and Xcode does't do Windows (or DOS)
     
  3. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #3
    You can't if mean a Windows .exe. XCode does have the libraries and linker to produce Windows executables.
     
  4. macrumors regular

    Joined:
    Apr 26, 2009
    Location:
    Cambridge, MA
    #4
    If you're asking where you can find the executable you generate in Xcode, it's under the Products folder, you should see a file with a .app extension. Right-Click (or Control-click) and select Show in Finder. That's the equivalent to the .exe file in Windows/DOS
     
  5. macrumors 6502a

    Joined:
    Jan 15, 2007
    #5
    Depends on the type of project, you might just see a binary file. If it is an app that you are building, the actual executable will be in (your app).app/Contents/MacOS/(your app)

    The actual executable for an app isn't really interesting(for certain apps you can use it to launch multiple copies of the same app), but thats where it is.
     
  6. thread starter macrumors 6502a

    Joined:
    Sep 16, 2008
    #6
    I am looking for the executables that Xcode3 produced that runs on the command line in X11. I can't find a products folder or anything call codename.app.
     
  7. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #7
    Ah, right. Those don't have any extension and are found here: {project folder}/Build/{release mode}/ and will have the same name as their associated Xcode target.
     
  8. thread starter macrumors 6502a

    Joined:
    Sep 16, 2008
    #8
    So I googled Xcode app like I should have. My app is here.

    /Users/doug/library/developer/Xcode/Deriveddata/opttree-dpzydjbljrzlqybcoxsfwukflasm/build/products/release

    Give me break.

    Also found out how to put it someplace reasonable.

    thanks
     
  9. macrumors 68030

    jared_kipe

    Joined:
    Dec 8, 2003
    Location:
    Seattle
    #9
    I haven't used Xcode for anything but superficial things for a year or so and had no idea they changed the build path location. I assume that is to make it friendlier to the built in version control.
     

Share This Page