문제

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