How can I make a project both compatible with vs 2013 and xcode?

hi i want to make a project that i could open both in mac and windows
so if i create a game project with a c++ template, its there a way to add xcode support?

I guess you simply generate xcode files in case of Mac, generally you should not keep VS/XCode project file in repository as they are created individually to your unreal engine installation, you take just Config, Content, Source directories and uproject file and generate VS or Xcode project files whatever you currently working with.