On 21 Jun 2008, at 7:23 PM, Adam R.Maxwell wrote: > On 2008-06-18 16:50:09 -0700, Christiaan Hofman <[EMAIL PROTECTED]> > said: > >> I'm a bit confused about which version of a built product (framework, >> bundle, tool) from a subproject to add to a Copy Files or Copy Bundle >> Resources built phase. It could be either the files from the Build >> Products folder, or the object linked under the subproject in the >> groups pane of Xcode. In BD and Skim this seems to be done >> inconsistently. E.g. the Importer and QL generators are from the >> subprojects in the group pane, while the frameworks are from the >> Build >> products folder. > > I think the FileView.framework was also added from the project > reference. > >> You can see the difference when you hit Cmd-I after >> selecting the item in the build phase. So what's the difference, and >> which one is preferred? > > Either way will work fine. I currently prefer copying from the other > project referenced, instead of choosing the framework etc. in the > built > products directory; the current copying is a holdover from the days of > the BuildMeFirst target, when the project references were not > available. I never bothered to change them. >
I think the docs also say so, but I'm not sure. Though they don't explicitly mention the choice you have. > ISTR choosing it relative to the built products dir can be problematic > if you choose products/Release/xxx.framework when the main project is > set to Debug. If xcode would be able to properly track the build location from the cross-project. However it doesn't, as even if you choose the product from the cross-project it will still be looking in the build location of the *main* (i.e. current) product. This is mentioned in several mailing list threads, and the reaction from Apple engineers makes me believe it's a bug. So that may change in the future (I must admit I haven't checked yet if it was fixed already in Xcode 3.0). So the current situation seems to be that it makes no difference in results. However choosing from the build location makes Xcode give more info (like headers and location). So currently in fact what seems to be the "wrong" solution behaves better! It might be that in the future choosing the build product from the project seems the preferred solution. > The only place you're likely to get a definitive answer > is on xcode-users, though; the Xcode developers are pretty good about > answering questions there. Probably. Christiaan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Bibdesk-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-develop
