Referenced projects and their targets/executables
Referenced projects and their targets/executables
- Subject: Referenced projects and their targets/executables
- From: Jacob Bandes-Storch <email@hidden>
- Date: Wed, 28 Nov 2007 06:56:17 -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.
_______________________________________________
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