Mahesh kumar
Mahesh kumar

Reputation: 278

Create .mm file in xcode 9.1

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.

Upvotes: 2

Views: 6149

Answers (1)

Yogi
Yogi

Reputation: 3588

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

Upvotes: 7

Related Questions