Xcode 8.3 Indexing & Building Extremely Slow

Viewed 1658

I am posting this after reading many similar posts on here regarding this issue and none of the solutions that worked for other people not working...

  • Xcode Version 8.3.3 (8E3004b)

  • Swift 3.1


Things I tried

  • Deleting Derived Data folder
  • Deleting Workspace File
  • Cleaning Build Folder
  • Cleaning Build
  • Reinstalled Xcode (after complete removal)

I also looked for Swift Issues:

  • Removed all concatenating strings
  • Cleaned up Swift arrays and dictionaries
  • Added Whole module optimizations

This all started happening after last Xcode update of 8.3.3. My project was compiling within seconds and now I have to wait at least 15 mins for it to index, then 5 minutes to compile after everything I change even something small in code.

When Building, it get stuck in "Compiling Swift source files". Is there way for me to look in to where it is actually getting stuck?

BIG UPDATE

I tried pretty much everything. Read every article, post, ect. NOTHING worked. My project was created right after 10.0.

Solution Creating a new project and copying each file worked! It used to take 8-9 minuted to build. Now less than 2 seconds!

2 Answers
Related