Run all of Xcode's “Fix-it”s at once

前端 未结 4 1047
无人及你
无人及你 2020-11-30 21:08

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 goi

4条回答
  •  一整个雨季
    2020-11-30 21:52

    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.

提交回复
热议问题