Create .mm file in xcode 9.1

5.6k Views Asked by At

I am unable to create .mm file in Xcode 9.1. When I add file and select c file it create .m file and when I select c++ then it create .cpp file. please suggest me how to create .mm file in Xcode 9.1.

1

There are 1 best solutions below

2
Yogi On BEST ANSWER

You just need to change the extension to .mm. There is no option to create a file with .mm extension in Xcode. Refer this.