Xcode 7.1 hangs while archiving swift ios app Xcode 7.1 hangs while archiving swift ios app xcode xcode

Xcode 7.1 hangs while archiving swift ios app


For anyone else facing the same issue. After trying and failing everything else, it was fixed by restarting the mac :D


Log out, log back in. Faster than restarting your mac!


If you are not planning to release on AppStore and only creating an ad hoc build for testing, then do the following:

In Xcode 7, Goto Product -> Scheme -> Edit Scheme From the left menu select "Archive" and Select "Distribution" from the "Build Configuration" drop down.

enter image description here