The build/run icon is disabled for a project in a workspace

I have a workspace with a Hello-world project. The Start icon is disabled. When I try to create a new scheme (Product -> Scheme -> New Scheme), the Target field shows None.

May I ask how I get the Start icon active, so I can build/run the project in the workspace?

Xcode Version 15.0 (15A240d)

Thank you.

Answered by atluutran in 770531022

I found the cause to this issue. When adding a project to the workspace, I need to select the file with the extension xcodeproj. Previously, I selected the project folder, and that was the reason.

Accepted Answer

I found the cause to this issue. When adding a project to the workspace, I need to select the file with the extension xcodeproj. Previously, I selected the project folder, and that was the reason.

The build/run icon is disabled for a project in a workspace
 
 
Q