I got this warning in XCode today when I start running my app on my iPad.
Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)
It is saying that the app's provisioning profile was not signed with a distribution certificate. But I just submitted my app yesterday and switched back my distribution provisioning profile to development provisioning profile. XCode shouldn't think I am still building for distribution. I can still run my app but I can't see any debugging information now. How can I resolve this problem?