Issues In Xcode

No code completion, Errors in code even though it builds the project. what do i do?
Also it appears to me that unreal engine is installed in users/abhinav/desktop/Epic Games/UE_4.16/

You should let Xcode to index the files - it can take up to a hour or even more depends on the project’s size.

Also make sure that the Indexing target is built - otherwise no auto completion at all.

So the problem has nothing to do with a whitespace in the path problem?

And can you please elaborate more on indexing target i built, sorry I am new to unreal engine and C++

Good question - I think it was fixed in 4.16 - but you can define an alias to eliminate the white-space.

Does Xcode it try to index your project ?

To fix White-Space issue try this in terminal

cd users/abhinav/desktop

mv “Epic Games” EpicGames

ln -s EpicGames “Epic Games”

yes xcode is indexing my project which is taking such a long time

Well then there is nothing to do - it will take a lot of time - but once it succeed you will have a working IDE with Auto completion.

what happens if I disable Indexing

Will it Disable AutoCompletion

Okay so Disabling Indexing did disable autocomplete.
I have turned it back on but it indexing taking whole lot of time

I have got new issues

Here is the Header File

I basically created a class of type actor component and named it position report

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.

It ended indexing, AutoCompletion is up and running but these errors still exist.

It should build fine if u press CMD + B errors will probably remain