Xcode 11 jumps to every desktop in Mac Os Catalina

I recently updated my macOS Catalina (10.15) and also updated my Xcode to version 11.1 and I'm having issue with the window. Suppose I switch from Desktop-1 to Desktop-2, the Xcode also automatically moves to the current(focused) desktop. P.S Only Xcode is showing such kind of behaviour.


Solution 1:

If you right click on the application icon on the dock, you can select Options > and change the "Assign To" from All Desktops to None.