Please read through before marking it as a duplicate.
on 2019-03-06, apple came out with a statement about how they have issued certificates with invalid serial nos. because of the EJBCA issue. read more: https://bugzilla.mozilla.org/show_bug.cgi?id=1533655
while they claimed to have resolved the issue, I tried deleting my
developer certificate from the system and with Auto-signing disabled in Xcode.After, I enabled auto-signing so as the have a new certificated
created. to my surprise, I didn't help and I still continue to
struggle as I cant launch my app on my phone and debugger attachment fails.I know the workaround is to check the
ask on launch box
in edit
schema. but, that's a tedious process and want to able to smoothly
launch my app and be able to debug.