I need to launch an executable from the application I'm developing but I'm having problems with XCode copy phase.
When I add a PEF executable file into the project and add it to the result bundle with a "copy phase" the executable looses its icon, around 200Kb in weight, the version string shown in getinfo panel, and the capacity to launch with double click or using terminal (I get this: "cannot execute binary file") According to the "file" command the original executable hasĀ a "header for PowerPC PEF executable", but so does the executable that is copied to the bundle ! Once the build process is over if I change the PEF executable for the original one everything goes smooth. This is telling me that XCode is doing something else besides just copy the file to the destination folder (in this case is the "executables" directory). I've tried to set up the file type of the file inside XCode to "compiled", "compiled.cfm", "compiled.rcx", "compiled.mach-o", "file" without luck.
Any ideas on what's wrong?
By the way, the executable file that XCode fails to copy correctly is a Macromedia Flash projector compiled for Mac. If I try the same with mach-o unix command tool it works flawless.
Marc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Systems Sept 12-13, 2006 - Bilbao, Spain ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|