mlevi
mlevi

Reputation: 1463

Xcode Project stuck "Compiling Swift source files"

My Xcode project had decided not to build and simple get stuck on "Compiling Swift source files". I'm running a completely Swift project with CocoaPods. I've tried clearing all derived data, cleaning the project, and restarting my computer. I've had no luck. I'm not exactly sure why this is happening. If anyone has any ideas to fix this, it would be greatly appreciated.

Thanks!

Upvotes: 4

Views: 2928

Answers (1)

VojtaStavik
VojtaStavik

Reputation: 2482

In my case, the problem was in a complicated dictionary. I was creating a big dictionary for JSON parsing tests and the compiling never finished.

When I split the big dictionary into smaller pieces, everything worked OK.

Upvotes: 3

Related Questions