Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build phase "copy files" not working with PEF file



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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://Recommenders06.com - The Present and Future of Recommender
Systems
Sept 12-13, 2006 - Bilbao, Spain
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.