Remove auto import or make a setting to be available to disable it.

Originator:yoiiiuk
Number:rdar://FB9816645 Date Originated:21.12.2021
Status:opened Resolved:-
Product:Xcode Product Version:13.1
Classification: Reproducible:true
 
Xcode 13 introduced automatic imports. It works really bad. Want to have a setting to disable it.

https://stackoverflow.com/questions/69839535/xcode-13-turn-off-auto-import-feature/69917221

Comments

well intended but causes more harm than it helps

+100, it's been causing a couple of failures for us as well. Combined with the build system, which often does not actually complain when the app is compiled for tests in our pre-push hooks, this creates long delays in our pipeline.

+100 | Causing build issues for my team

This has resulted in several build issues for my team because XCode assumed a certain dependency which was not even linked to the project. An option to disable this would allow us to not have to double check commits for randomly placed imports.

Thank you.

By Wellington.Moreno at Dec. 30, 2021, 5:54 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!