Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode9: Fix All In Scope is always disabled

Tags:

xcode

xcode9

Xcode9: Editor- Fix All In Scope is always disabled

How can I enable it ?

like image 466
Wendy Xiao Avatar asked Jul 05 '17 03:07

Wendy Xiao


People also ask

How to fix error in Xcode?

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.

Can not find in scope?

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).

Where is the scope in Xcode?

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.


1 Answers

Updated in new Xcode Version 9.2 (9C40b), works like charm :)

like image 163
Dominik Bucher Avatar answered Sep 28 '22 06:09

Dominik Bucher