I went step-by-step for about 5 hours through the process of adding an Distribution configuration to xcode.
After that, I keep getting this error even when I build with my Debug Configuration:
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
The only weird thing I had to do was this: I've added an strange "Entitlement" file the way Apple said in the Provisioning Portal. Did exactly what they said.
I can build my app and it runs on the device, but I get that warning. Now what? Any way to solve this, or must I start from scratch for another 3 days?