Hi Franco,
The new Xcode segregates builds. The old plug-in expected to have a copy of DVDpedia.app present inside the same folder that the plug-in was built to make debugging possible. I have updated the code so that it checks if DVDpedia.app is there before trying to copy to avoid the warning for those that don't have a shared build folder. Please download
plugin example again for the fix.
To make debugging easier, you can amend this same script to target a copy of your DVDpedia.app where you keep it.
Select the sample project (blue icon on the left side navigation). Select "target-->sample" on the next navigator pane and then go to the "Build Phases" tab. If you click on "Quit Copy Launch" you will find the script that was giving the error. Here you can change "$CONFIGURATION_BUILD_DIR/" sections to a static path like "/Applications/" (don't change the penultimate one, right after "cp -Rf" that would be the actual path to the plug-in that gets copied into DVDpedia.app).
If you then click under the pop-up on the top right that says "Sample -> My Mac 32-bit" and select "Edit Schemes" under "executable" for the run scheme you can set "DVDpedia.app" from the location above. This will allow you to use the debugger, stop at code inspect it in real time as well as run the plug-in automatically with command-r, instead of having to drag it into DVDpedia yourself and launching DVDpedia.
Thank you for pointing out that the sample code needed modernizing for Lion.