'_Prefix/NullabilityCompat.h' file not found

小弟新学,安装Theos后,第一个demo,make时出错,提示如下,我是少装了什么东西吗,找不到NullabilityCompat.h文件呢?

==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (armv7)…
In file included from :349:
In file included from :5:
/opt/theos/Prefix.pch:6:10: fatal error: ‘_Prefix/NullabilityCompat.h’ file not
found
#import <_Prefix/NullabilityCompat.h>
^
1 error generated.

这个问题你解决了吗

请问这个问题怎么解决?

Headers are only created for classes we need, and only methods that we use are added to them. This is due to the large number of classes and methods that are broken in class dumps - this way, we manually set up the headers and they are guaranteed to work.

Feel free to use these (git clone git://github.com/hbang/headers.git $THEOS/include - if you have an existing$THEOS/include directory, rename it) and add on to them.

@wucwu1
我是重新安装了一下theos
git clone --recursive https://github.com/theos/theos.git
(比原来多了个参数–recursive )

可参考:

谢谢,用上面两种方法都能解决问题