Macbook generate Xcode project goes straight to trash

I’m trying to generate an Xcode project from my uproject file on my macbook so I can simulate my app on iPad.

If I right click the uproject file and select “Generate xcode project” it generates the xcode project inside the trash.

  1. Where is the xcode project file supposed to be located when it’s generated?
  2. How do I make it stop generating the xcode project into the trash?

If I drag the xcode project file to the desktop to restore it then try opening it I get this error:
“… cannot be opened because it is missing its project.pbxproj file.”

I dont see any reason why this should be happening… unless… wait, are you trying to work on another Call of Duty game?