XcodeCodingStyle
XcodeCodingStyle copied to clipboard
关于Xcode 9下面 的error nullability specifier '_Nullable' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')
您好 我参考您的博客 CLANG技术分享系列一:编写你的第一个CLANG插件 有两个问题 第一 我没法找到opt/local/lib 目录 ,第二在Xcode下 报错,_error nullability specifier '_Nullable' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')
第一个问题,你可以尝试拿掉opt/local/lib的option,看下有没有问题,链接这个目录是因为我自己有好多macport管理的系统库在这里,第二个问题,是因为xcode9下的clang以及oc规范和llvm39有差异了,你可以尝试用最新的llvm release去看下。其实Xcode自带的clang和llvm的clang并不完全一致的,即便是最新的llvm,也有这个问题。 https://opensource.apple.com/source/clang/ https://en.wikipedia.org/wiki/Xcode 遗憾的是,现在xcode9自带的clang还未开源。
2017-11-14 15:00 GMT+08:00 LanCat [email protected]:
您好 我参考您的博客 CLANG技术分享系列一:编写你的第一个CLANG插件 有两个问题 第一 我没法找到opt/local/lib 目录 ,第二在Xcode下 报错,_error nullability specifier '_Nullable' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kangwang1988/XcodeCodingStyle/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAx6u6JsCx34SUqI-vCkxTDuMurcQ31Lks5s2TqhgaJpZM4Qc4xN .