Xcode9: Editor- Fix All In Scope is always disabled
How can I enable it ?
control + option + command + F or Control ⌃ + Option ⌥ + Command ⌘ + F . This will fix all the fixable errors in current scope. This might sound like too much for normal project, but look at it as if you have project with thousands of LOC.
In general, it's safe to assume that the “Cannot find '…' in scope” refers to a variable, function, type or other symbol that doesn't exist. If you want to solve this error, and fix the bug, start with what doesn't exist and work your way from there (i.e., text).
By default Xcode will search your entire project but you can change this by clicking on the bottom left button of the Find UI. This reveals any custom search scopes you have defined and your project's folder/group layout. Clicking on a custom search scopes or project group restricts the search to those files.
Updated in new Xcode Version 9.2 (9C40b), works like charm :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With