Xcode: failed to get the task for process

前端 未结 13 1446
眼角桃花
眼角桃花 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: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.

提交回复
热议问题