I\'m getting the following error toward the end of the build:
error: could not read data from \'/Users/myname/Library/Developer/Xcode/DerivedData/myapp-ftieubjjfkuwy
In my case, I resolved this by setting the Deployment Target to iOS 9.0 from iOS 8.0, as I had a UIStackView, which is not supported before iOS 9.0