I receive the following error when trying to run the app on my device.
error: failed to launch \'/Users/michael/Library/Developer/Xcode/DerivedData/Build/Pro
I also had this problem after changing from a lower XCode and iOS version to the current XCode and iOS version.
I fixed this problem by changing th iOS Depolyment Target to a lower version, since my Device is not updated to the latest iOS yet. You can do this by clicking the project inside the Info tab.