Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

OneDreamCloser

macrumors member
Original poster
Jun 16, 2008
30
0
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 ?
 
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.

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..
pre-compiling....
Compiling...
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...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.