27

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.

Andrea Mario Lufino
  • 7,921
  • 12
  • 47
  • 78
  • 1
    Is it a duplication of https://stackoverflow.com/questions/44916484/xcode9-beta2-fix-all-in-scope-is-always-disabled? – Ahmad F Oct 12 '17 at 08:48
  • 3
    It's not. I'm not talking about a beta version. – Andrea Mario Lufino Oct 12 '17 at 08:49
  • 1
    Unfortunately it look like a bug, moreover know issue. In the comments you can read that someone raise it to the Apple and Apple mark as duplicate https://stackoverflow.com/questions/44916484/xcode9-beta2-fix-all-in-scope-is-always-disabled – Mateusz Oct 12 '17 at 08:51
  • some news from the feature! it's completely fixed in early versions of Xcode but new bugs appeared! ;) – Mor4eza Jun 28 '22 at 12:53

3 Answers3

0

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)

netshark1000
  • 7,245
  • 9
  • 59
  • 116
0

look for and select the page you have error and there is the word fix enter image description here

and go Editor >>>> Fix All Issues

Grenoblois
  • 503
  • 1
  • 5
  • 19
0

I have encountered this problem multiple times! Occasionally, it occurs when there are multiple solutions to rectify an error. Once you identify the error and select a solution, the "Fix All In Scope" feature will be reactivated.

Mor4eza
  • 265
  • 3
  • 12