• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
build phase "copy files" not working with PEF file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build phase "copy files" not working with PEF file


  • Subject: build phase "copy files" not working with PEF file
  • From: Marc Monguio <email@hidden>
  • Date: Tue, 29 Aug 2006 13:39:31 +0200

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: build phase "copy files" not working with PEF file
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Debugger thread dump confusion
  • Next by Date: Re: Cmath and math.h Changes in Xcode 2.4
  • Previous by thread: Re: Cmath and math.h Changes in Xcode 2.4
  • Next by thread: Re: build phase "copy files" not working with PEF file
  • Index(es):
    • Date
    • Thread