How can I change my .m file to a .mm file?

I'm getting the error: cassert file not found

I have researched and found that I need to change my files to .mm?

How can I do this?

有帮助吗?

解决方案

If you are in XCode you can simply select the file in the Project Navigator, after selecting it, wait a moment, click on it again and the filename will automatically be selectable. You can then change the filename to '.mm'

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top