Moving to Xcode: Custom location for project build products
Moving to Xcode: Custom location for project build products
- Subject: Moving to Xcode: Custom location for project build products
- From: j o a r <email@hidden>
- Date: Mon, 10 Nov 2003 19:21:56 +0100
When running a quick build to verify that the project modifications
I've made is correct I sometimes set Xcode to build the project in a
new empty folder. I do this by selecting the path to the folder in the
inspector panel for the project: Place Build Products In > Separate
location > the/path/...
I have noticed that if I set the "Place Intermediate Build Files In"
setting to "Default location" (the default option in both Project
Builder and Xcode as far as I know) Xcode will fail to build our
project, since it doesn't correctly reference some target build
products needed for a copy phase of the main target product. However,
if I select the "Build products location" option things work fine. This
is weird because the text field reflecting what path is used shows the
same path for both "Default location" and "Build products location".
The detail build output log indicates that if I use the "Default
location" for intermediate files, the path used will be somewhat
random. Not really random, because I can recognize it as being a path
I've used in some other project, but this path is not referenced
anywhere - so where do you get it?
I have verified that the following files doesn't contain a reference to
the path that was used: project.pbxproj, joar.pbxuser,
com.apple.Xcode.plist.
What I did when this appeared:
* Clean all targets
* Quit Xcode (to remove in-memory caches)
* Remove all files in the build folder (to remove the project index)
* Check out a new copy of the project from CVS
* Open the project in Xcode
* Set a custom build path, and set it to use the "Default location" for
intermediates.
* Build
After a while it will fail in the copy phase, and the detailed build
log will show that you attempted to copy a build product from a folder
that doesn't have anything to do with this project.
Is this a known problem?
j o a r
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.