Xcode "Run" / "Compile" Button is Deactivated

Hi, I'm trying to write" Objective-C "codes using Xcode on my Macbook Pro 2018 13" model computer, but when I want to try the code I type, the "Run" button is deactivated. I wonder Can you suggest a solution about this? I have the same problem in "Visual Studio".

If you long press on the right pointing arrow at the very top left, do you get a popup menu ?


If yes, what's in it ?


What is the selected device (click on button right to the app's name just on the right of the right pointing arrow and the black square) ?

You have to select a device or a simulator.

Xcode "Run" / "Compile" Button is Deactivated
 
 
Q