task.json

外部 include path

需要添加 "-I" 参数

"-I", //option of the compiler for set the library folder
"/Users/kyson/ios-proj/tesla-ble/include",

参考

Using Clang in Visual Studio Code