Created
November 26, 2019 12:48
-
-
Save qy1010/d6ceac28811d15156889d7e540c8b346 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//将Objective-C代码转换为C\C++代码 | |
xcrun -sdk iphoneos clang -arch arm64 -rewrite-objc OC源文件 -o 输出的CPP文件 | |
如果需要链接其他框架,使用-framework参数。比如-framework UIKit | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment