Run all of Xcode's "Fix-it"s at once

XcodeIde

Xcode Problem Overview


After upgrading to Xcode 7, to support iOS 9, i have hundreds of fix-it errors and warnings. Is there a one push button to make Xcode run them all rather then individual going through them one by one?

Xcode Solutions


Solution 1 - Xcode

There is actually a solution for this in Xcode 7.21's Editor menu.

enter image description here

This is the shortcut:

+++f

which is

ctrl+alt+cmd+f

1 This is the version I can confirm, might work in earlier versions as well.

Solution 2 - Xcode

XCode's "fix-it" isn't always reliable enough to make the changes that the code needs to run properly. Even if there was such a button, I wouldn't advise using it. The only thing I can think of to make it quicker to go through is to use: Navigate > Jump to Next Issue which would mean you wouldn't have to comb through the code to find all of the errors, Xcode would take you straight to them.

Solution 3 - Xcode

Fix All Issues button in Xcode 10.3

0

Solution 4 - Xcode

control - option - command - f

f

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestioninVINCEableView Question on Stackoverflow
Solution 1 - XcodeHASView Answer on Stackoverflow
Solution 2 - XcodeJGrn84View Answer on Stackoverflow
Solution 3 - XcodedengST30View Answer on Stackoverflow
Solution 4 - XcodeScottyBladesView Answer on Stackoverflow