Xcode: failed to get the task for process

前端 未结 13 1284
眼角桃花
眼角桃花 2020-12-02 04:25

I\'ve run in release mode my app on a iPhone with Xcode 4.

Everything worked great until when I switch to the simulator and I switched back to the iPhone. After swit

相关标签:
13条回答
  • 2020-12-02 04:42

    Having the developer code signing id is correct for sure, but also make sure you device is added to the Member Center via organizer, or through the developer portal.

    A few days ago I reset my device list, and today I was suddenly getting this for an iPod I debug with all the time. About 15 mins later I realized the problem.

    0 讨论(0)
  • 2020-12-02 04:52

    I switched back to "Automatic" on the build settings provisioning profile for "Debug" and left the release certificate profile unchanged, mine worked. Tried the other answers. nothing worked. Didn't want to have to reconfigure my certificates. Automatic on the provisioning profile did the trick

    0 讨论(0)
  • 2020-12-02 04:52

    Just get the same problem by installing my app on iPhone 5S with Distribution Profile

    -> my solution was to activate Capabilities wich are set in Distribution Profile(in my case "Keychain Sharing","In-App Purchase" and "Game Center")

    Hope this helps someone...

    0 讨论(0)
  • 2020-12-02 04:53

    Just had the same problem - app was being installed OK, but won't run from Xcode with the "process launch failed: failed to get the task for process".

    Turns out my development certificate expired during the night. Regenerating the certificate and the provisioning profiles solved the problem.

    0 讨论(0)
  • 2020-12-02 04:59

    If you've set the correct code signing certificate under Build Settings->Code Signing, then make sure you are also using the correct provisioning profile for Debug/Release mode as well.

    I was having this issue because I was using an Ad-Hoc provisioning profile for both Debug/Release modes, which doesn't allow for a development profile to be used when doing a debug build.

    0 讨论(0)
  • 2020-12-02 05:00

    To anyone who comes across this: After reading this, I attempted to solve the problem by setting the Debug signing to my Development certificate only to find that deployment was still failing.

    Turns out my target was Release and therefore still signing with the distribution certificate - either go back to Debug target or change the release signing to Development temporarily.

    0 讨论(0)
提交回复
热议问题