xcode

Xcode: No Scheme


I recently opened project in Xcode is now saying I have No Scheme: enter image description here

When I try and Manage Schemes I am unable to Autocreate Schemes Now (a separate post but possibly related) and no Schemes are listed: enter image description here

and when I try and add a Scheme I get dialog saying Target None. enter image description here

What's going on and how do I fix my Xcode project?


Solution

  • Close Xcode and delete the folder <username>.xcuserdatad from within <projectname>.xcodeproj/xcuserdata/. Then restart Xcode, the schemes should re-appear.

    EDIT: You may need to delete from .xcodeproj file and .xcworkspace file