This is for an existing app that compiled and distributed multiple times. Since updating to Xcode 5 I have this error popping.
The odd circumstances I am compiling to compile to iOS 6.1 so I can run on my iPhone 3GS - the base is SDK iOS 7? Could this be an issue? I just need to test it before finding a newer phone to before change it to iOS 7.
This error tends to appear when you pick an ad-hoc provisioning profile. Make sure that your code signing is for development.
This error happens if you have used a Distribution Provisioning Profile for debugging to device.
Go to Build Settings
> Provisioning Profile
and set to 'None' for Debugging
.
When your device is connected to your computer with a cable and you Build + Run your app, your device will try to debug. Debugging is only permitted for Development profiles.
If you build + run with a Development Profile + Development Signing Code, everything will be OK
If you build + run with an AppStore Distribution profile + Distribution Signing Code, the app will not even reach your device. This build is only for uploading to AppStore
If you build + run with an AdHoc Distribution profile + Distribution Signing Code, you'll get the "failed to get the task for process..." error, but the app will get installed in your device. Unplug the device and run the app from your device. It's running in distribution environment. Enjoy :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With