I have the same Question like this Xcode: failed to get the task for process. Every time I want to test my app on my iPhone I get the error "failed to get the task for process". The solution of this thread was to change the settings to the developer certificate as far I understand this. Unfortunately this is not the solution for my. Is there an other way to solve the problem?
Edit: I have checked that "Code Signing Identity" is set to iOS Developer (in project) and "Code Signing Style" is set to Automatic (in target) -> in manual my build will crash. I tried to restart Xcode and my iPhones. I tried to install the app while the iPhone is locked and unlocked it later. Nothing worked :(.