Updated Xcode template.

Also, added restriction marco `CC_TARGET_PLATFORM == CC_PLATFORM_MAC` for CCEditBox of MAC port.
This can avoid compilation errors if other platforms include these files.