Xcode + Makefile

Discussion in 'Mac Programming' started by OneDreamCloser, Jun 16, 2008.

  1. OneDreamCloser macrumors member

    Jun 16, 2008
    hello everybody,

    what i 'm trying to do is to run my C++ project that was developed under Linux
    using Xcode. i followed the steps in PortingUnix.pdf (Apple Developer) and my code was builted successfully (i defined compilation and building to be done with a Makefile by creating a new target "built with make").

    the problem is that i cannot define the executable
    i select Xcode>Project>New Custom Executable ...
    the dialogue box asks me to choose an executable path
    but it doesn 't let me choose simply for the folder where my project is located
    and i don 't know what is asking for :(

    any suggestions please ?
  2. Cromulent macrumors 603


    Oct 2, 2006
    The Land of Hope and Glory
    You select the executable that you have already compiled. Not the folder. If you follow the instructions you just posted it should be pretty clear.
  3. sujithkrishnan macrumors 6502

    May 9, 2008
    How to make the makefile for iPhone application developed through Xcode..
    I got the way of creating the build with make...

    But being a newbie to mac, i am not familiar with makefile.

    I found
    Checking Dependencies..
    Linking .... all in Build results

    How to perform all these in makefile ?? (Hope all what showing in the build results are mandatory...)

    I tried copying the same in terminal and executed...

    But for some commands its showing like gcc-4.0 ......
    "{standard input}:unknown:FATAL:can't create output file: /Users/administrator/iPhone/iPhoneDigby/build/iPhoneDigby.build/Debug-iphonesimulator/iPhoneDigby.build/Objects-normal/i386/main.o

    Also the

    <com.apple.tools.info-plist-utility> Info.plist -genpkginfo /Users/administrator/iPhone/iPhoneDigby/build/Debug-iphonesimulator/iPhoneDigby.app/PkgInfo -expandbuildsettings -o /Users/administrator/iPhone/iPhoneDigby/build/Debug-iphonesimulator/iPhoneDigby.app/Info.plist

    is not executing.....

    terminal saying

    -bash: com.apple.tools.info-plist-utility: No such file or directory

    Please help...

Share This Page