Xcode can't run with Unreal Engine

I have a question to ask experienced individuals. Xcode opening Unreal Engine issue. I am unable to successfully build my project in Xcode. Xcode indicates an error with my device, even though I have changed the Executable in Edit Scheme and still cannot find my Mac. Additionally, I am unable to open the Unreal Editor project to link it with Xcode. Is there a solution to this problem?

Xcode can't run with Unreal Engine
 
 
Q