终端cd文件目录输入
clang -rewrite-objc xxx.m
或者
clang -x objective-c -rewrite-objc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk xxx.m
终端cd文件目录输入
clang -rewrite-objc xxx.m
或者
clang -x objective-c -rewrite-objc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk xxx.m
本文标题:iOS中.m 生成.cpp文件
本文链接:https://www.haomeiwen.com/subject/tkrqfltx.html
网友评论