Re: Referenced projects and their targets/executables
Re: Referenced projects and their targets/executables
- Subject: Re: Referenced projects and their targets/executables
- From: Charles Steinman <email@hidden>
- Date: Tue, 27 Nov 2007 21:49:55 -0800 (PST)
Xcode-users would probably be a better venue for this question than Cocoa-dev, since it doesn't have anything to do with Cocoa.
Cheers,
Chuck
----- Original Message ----
From: Jacob Bandes-Storch <email@hidden>
To: email@hidden
Sent: Tuesday, November 27, 2007 9:37:21 PM
Subject: Referenced projects and their targets/executables
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
____________________________________________________________________________________
Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
_______________________________________________
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