How do I create another cocos2d_samples target with Xcode (5.0)?

I only found the create_project.py which works by copying all cocos code into a cocos2d directory.

How can I create a new cocos2d_samples target that directly uses the cocos code?

What I’ve tried:

when I do File->New ->Target,there’s no template to create a C++ application, and even if there is, the directory layout will not be the same as those under samples/.

Why you need to use cocos code directly? We do coping just want to make sure that, every project is separate, they will not affect each other.

Because cocos2d_samples’ targets use cocos code directly,

and I’m assuming one day I might need to create a new sample target for a feature pull request:)

Thanks in advance. I think it is better to use a clean repo for pull request.