Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 9 - Fix all in Scope greyed out

Tags:

xcode

ios

swift

With Xcode 8 the errors could be fixed using the "Fix all in Scope", but in the latest Xcode 9 that option is always greyed out. Do you have an idea if I have to set up something or if it's just a bug?

code with error

Xcode menu

The Xcode I'm using is the App Store version, build number 9A235, so it's not a beta.

like image 835
Andrea Mario Lufino Avatar asked Sep 06 '25 10:09

Andrea Mario Lufino


1 Answers

Usually it helps to clean "derived data", the project and to restart your mac. Feels like Windows but I have good experiences with this kind of bugs.

Navigate to the deived data folder in Finder. For this open tab Locations in XCode Settings where you will find a link. Delete all data within derived data folder. (No worry - it will be restored by XCode)

like image 132
netshark1000 Avatar answered Sep 09 '25 12:09

netshark1000