r/iOSProgramming • u/Oxigenic • 24d ago
Question Why is my run button crossed out on Xcode 27.2? Literally nothing online helps point out what this means.
The hint when hovering is no different, the action it performs is the exact same, I'm so lost.
12
Upvotes
22
u/beclops Swift 24d ago
Do you have the correct scheme selected?
15
u/JDad67 24d ago
Downloads for simulators done?
9
u/MojtabaHs 24d ago
Xcode now has a two-stage download for the iOS 27.2 SDK.
Go to Settings → Components and click “Update.”
If it says “Get,” download the first part, then install the second update afterward (it may start automatically).
6
u/dynocoder 24d ago
You probably don't have a run device selected. That's either the simulator or a real device for testing.
3
u/MKevin3 24d ago
That showed same way for me until I updated to 27.2. Everything still worked with no issues so I just ignored it
1
u/bbatsell 24d ago
Unfortunately there isn't enough information here to help you much. It could be any number of things. I'm surprised the hover hint isn't helpful; I feel like it has been for me in the past when I've run into this.
If I were in your place, I would:
1
u/SnowPudgy 24d ago
Do you have the command line tools installed? Usually they show up automatically but sometimes you have to restart your machine for them to show up or just grab them from developer.apple.com.
1
u/Ashanmaril 23d ago
Mine has been like that since I installed 27.2 as well. Idk, it still works so I just ignore it haha
1
u/monsair_dubois 23d ago
Mine had been crossed out in the beta too, but pressing it still worked lol.
It should mean there is no valid destination for your project but sometimes just closing and reopening Xcode will fix that if there should be.
Or just click it and see if it still works, like for me
1
u/Dogukanko 23d ago
That crossed out run button usually means there's no valid run destination, which after an Xcode update is often because the simulator runtime hasn't finished downloading. Check Settings > Components and see if the iOS platform shows as installed. If it's missing, install it there and then pick a simulator in the destination menu next to the scheme.
1
u/xezmarbles 21d ago
when you say it works the same, does it still hit breakpoints? If not, check whether “Debug executable” is enabled under Product → Scheme → Edit Scheme → Run → Info