美文网首页
Objc4 818 源码编译中出现的各种问题汇总

Objc4 818 源码编译中出现的各种问题汇总

作者: LV大树 | 来源:发表于2021-05-04 12:41 被阅读0次

机器:MacOS big Sur V11.0.1
Xcode 12.2
Objc 818 源码

这里要下载的其它库,即在上面的链接:
Libc,dyld,libauto,libclosure,libdispatch,libpthread,xnu,libplatform
缺失的文件直接用搜索,记得解压哦。

带internal全删除

error: unable to find sdk 'macosx.internal' (in target 'objcdt' from project 'objc')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'objcdt' from project 'objc')

凡是出现这个问题,把编译的build settings带internal的全部删除

找不到的文件要下载其它库查找 找不到的文件要下载其它库查找 找不到的文件要下载其它库查找 找不到的文件要下载其它库查找 找不到的文件要下载其它库查找 image.gif
image.gif
image.gif
image.gif 找不到的文件要下载其它库查找 image.gif
image.gif
image.gif
image.gif
image.gif

注释掉cambria

image.gif
image.gif
image.gif

build setting 中找到lcrashReporterclient 并删除

image.gif

build setting 中找到loah 并删除

image.gif

build phrase 中找到.internal 并删除

image.gif image.gif

最后,我们终于见到 Build Succeeded了。

相关文章

网友评论

      本文标题:Objc4 818 源码编译中出现的各种问题汇总

      本文链接:https://www.haomeiwen.com/subject/gaecdltx.html