OC代码转C++文件:
cd到main.m的文件中,执行:
clang -x objective-c -rewrite-objc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk main.m
https://blog.csdn.net/xiong452980729/article/details/70140050