For me it was the Wi-Fi connection. It seems that Xcode 8 tries to go out to the Internet for signing frameworks / apps and if that connection is really slow it takes a lot of time (for me up to 15 minutes). As soon as I changed the Wi-Fi network it built and ran in under 5 seconds.