When I run my app into my iphone I have this Warning:
unable to build chain to self-signed root for signer \"\".
My application Installed
I had the same problem and basically did like posted in the comment:
I saw other answers and attempted to delete my intermediate keychains and root certificate. But Apple doesn't allow to remove Root certs unless you're in recovery mode and I didn't want to try that. Likely you don't have to delete anything either as this solution works without it.
I just thought I'd add an image to clarify things. I ran into this issue when I was poking around in my Keychain and accidentally changed the default settings.