Xcode: Failed to Get the Task for Process

Xcode: failed to get the task for process

I am betting that your release mode includes compiling with your distribution certificate, which disallows this behavior (you wouldn't want some random fool hooking into your app after downloading it from the app store). Compile with the development certificate instead. You can change this in the building settings under code signing.

Xcode : failed to get the task for process

I have not accepted the answers above as there was a chain of issues that I needed to resolve:

  1. Third party SDK not set as a distribution.
  2. Third party SDK not set to arm64, which I think I caused as I in vain to fix the issue compiled to arm64.
  3. Needed to complete clear out any old certificates and add new ones from Apple. Good thing to do.
  4. Xcode 5 hides the certs and profiles in preferences now I think, which added frustrations.
  5. Then making sure the correct provision profiles are selected across the debug and release settings in your Build settings.

As always thanks for peoples help.

xcode build and error process launch failed: failed to get the task for process 5747

You need to use a Development Provisioning profile to run your app on a device...

For more info you can check this thread:

"process launch failed: failed to get the task for process 2282" How to solve this?

or this

Xcode 5: failed to get the task for process

How to resolve error failed to get the task for process 2196 when trying to run app on device

I think you need to create separate developer provisioning profile with enable inApp Parchase. I think you are trying to use same testing developer provisioning profile with your current app. Follow this step:-

  • Create a new App ID in the Provisioning Portal
  • Create a Development Provisioning Profile using the new AppID
  • Create a new App in iTunes Connect. Enter the basic info but Do Not upload a binary. Do Not click the 'Ready to Upload Binary' button.
  • Create an In App Purchase Product for the App. The status for the Product should be 'Approved by Developer'
  • In iTunes Connect, return to the App Details and add your new In App Purchase Product to the In App Purchases section of the App Details.
    Run the project from XCode, using the Development Provisioning Profile you created.

iPhone Debugging: How to resolve 'failed to get the task for process'?

I have had problems debugging binaries on the device via XCode when the app includes an Entitlements.plist file, which is not necessary to install onto the device for debugging. In general, then, I have included this file for release builds (where it is required for the App Store) and removed it for debugging (so I can debug the app from XCode). That may be your problem here.

Update: As of (at least) August 2010 (iPhone 4.1 SDK) the Entitlements.plist is no longer necessary to include in your application in many cases (e.g., distribution through the App Store.) See here for more information on the cases when Entitlements.plist is required:

IMPORTANT: An Entitlements file is generally only needed when building for Ad Hoc Distribution or enabling Keychain data sharing. If neither of these is true, delete the entry in Code Signing Entitlements. (emphasis mine)



Related Topics



Leave a reply



Submit