1. 我们需要下载 objc-781 的源码
下载地址: https://opensource.apple.com/release/macos-10151.html

2. 配置objc-781 的源码
打开项目,编译后会提示:
unable to find sdk'macosx.internal'


编译后:

说明缺少文件reason.h文件
路径: https://opensource.apple.com/source/xnu/xnu-6153.41.3/bsd/sys/reason.h.auto.html
网友评论