• 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
Referenced projects and their targets/executables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Referenced projects and their targets/executables


  • Subject: Referenced projects and their targets/executables
  • From: Jacob Bandes-Storch <email@hidden>
  • Date: Tue, 27 Nov 2007 21:37:21 -0800

I'm trying to have the executable from one of my projects (Project 1 from here on for simplicity) copied into the Resources folder of Project 2 when the Project 1 is built. I added Project 1 as a reference, set up its target as a dependency, and added the executable to the Copy Bundle Resources build phase of Project 2. The dependency part works just fine, but when it gets to the Copy Bundle Resources phase, it fails with this error:

pbxcp: MyApp.app: No such file or directory

When I right-click on the executable in the Copy Bundle Resources Phase and Show in Finder, the correct executable is shown, in Project 1/build/Release/. However, it appears that it's looking in the Project 2/build/Release folder for copying to the resources folder for some reason. If I copy the executable from Project 1/build/Release into Project 2/build/Release, the build succeeds and the application is put inside the newly built bundle. Why would this happen? How can I fix it? Thank you.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Referenced projects and their targets/executables
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: Creating a color image with NSBitmapImageRep and greyscale data
  • Next by Date: Re: Referenced projects and their targets/executables
  • Previous by thread: Re: Use of assign vs. copy for accessors in Garbage Collected app
  • Next by thread: Re: Referenced projects and their targets/executables
  • Index(es):
    • Date
    • Thread