Preference -> Locations 에서 DerivedData의 작은회색경로표시의 화살표 클릭해서 파인더에서 DerivedData지우기
1
Run this command in the project directory if you use cocoapods:
2
Clean Cached Data
Clean the Project -> Cmd+Shift+K
Clean the Build Folder -> Cmd+Shift+Option+K
If you skipped step one: Delete Derived Data Xcode Preferences -> Locations -> Arrow Symbol Takes you to DerrivedData -> Delete Folder
3
Check your Build Phase's Compile Sources.
Every .swift and .m file in the project should be in this list or it won't autocomplete in those files.
4
Optimize your Editor:
Use fileprivate on every class property and function that you can to reduce the scope of the Compilers work per item.
Write modular/OOP code so you have less code for the compiler to read.
Avoid using Type Inferance when the result is a complex calculation, and try to break down complex calculations intolet this = smallerOperationstatements