Ok, I finally understand how to create 2 targets, compile it adding library etc...
I've redone the project (one more time) and I understand something: when you create a new target, you need to add yourself files to compile.
Because it started into a black screen with an "Unknow error" from debugger (why it can't tell there is no main or something like that?), so i added my helloworld.cpp to files to compile.
And there, I got another problem; 1995 errors (yep, i'm doing better than before ^^).
But this time I could understand why: i'm trying to compile a C++ file so XCode reject all Obj-C files...
Then it produce something ridiculous like that:
(top is debugger log, down is the line where the last error is found). You can see that the "-" token from methods declaration of Obj-C is reject. If you know what can I do to handle this... I would be happy to get some help from you.
Thanks for the help you give. I'm new to iPhone Dev (i'm intially from J2ME and DirectX Csharp market ^^) and I'm think that some people are in the same case as me.
Here is the new project:
http://rapidshare.com/files/227057772/H ... b.zip.html
(too big for attachements: 1,5mo)