Xcode Autocomplete Not Working


So as the title states, Xcode autocomplete is not working for me. I have scoured the internet for any solutions and the rare ones that I have found do not work (including changing the install directory to have no spaces and following the steps shown in this link:

Does anyone know a fix for this?

I am using Unreal Engine 4.26.2, Xcode 12.5.1, macOS Big Sur 11.4, and an M1 chip (Unreal Engine runs perfectly fine).