Xcode 10.2 hangt when archiving

Hello, I have updated Xcode to 10.2 and converted my project to Swift 5. The project does built without any issues for the simulator and real device. But when I try to archive the project, it hangs after the first 400 steps. I have never experienced this with previous versions of Xcode. Does someone has a solution? Thanks!

Replies

I'm having this issue too - both my macOS and iOS projects. It's hanging on a "Compile Swift source files" step. It's also happening on Swift 4.2 and Swift 5.

Update: I was able to work around this by EITHER changing my Optimization Level in Release to "No Optimization" OR by changing Compilation Mode from "Whole Module" to "Incremental".

I have the same issue. Everything worked fine in XCode 10.1

We are seeing the same issue in one of our projects.

Same issue! Did you find any solution?

Related Swift bug? https://bugs.swift.org/browse/SR-10209