This is not necessery an error - just let it to index - You won’t have an IDE features without letting it to index - let it couple of hours just wait…
about an errors mostly they are false errors unless IDE is fully indexed.
it is not about your particular class - Xcode has to index the whole UE4 engine.