Cannot test on physical device ios 15 xcode 13

Hi I can run the app fine on a simulator or from testflight on a device. But when I connect my iPhone and build directly in xcode the app will load and immediately crash. I get the error below from xcode.

Could not launch "App" Domain: IDEDebugSessionErrorDomain Code: 3 Failure Reason: failed to get the task for process -1

Answered by BrooksF in 690507022

I deleted my apple developer certificates under keychain access. That fixed it.

Accepted Answer

I deleted my apple developer certificates under keychain access. That fixed it.

I also faced this problem and resolved on Changing Provisioning Profile from Ad hoc to Development, in my case.

cf.) https://github.com/nishikawa-shi/tatetsu/pull/94/files

Cannot test on physical device ios 15 xcode 13
 
 
Q