I'm implementing APNS (iOS5, Xcode4) into an application and I'm getting the error:
"The executable was signed with invalid entitlements."
Research on SO and google is telling me to use Entitlements.plist but I already have Appname.Entitlements, the keys seem to be pretty much identical, and unless I'm missing something adding an Entitlements file is gone from the new file templates.
So What is the difference between these two? Do I need to just add a plist name "Entitlements"?
Also to verify:
-- My provisioning profile supports APNS. -- I am using the correct Distribution profile. -- I'll be doing an Enterprise distribution.