“Entitlements are not valid” iOS error

I’ve spent numerous hours trying to figure out how to solve this “Entitlements are not vlaid” error, when trying to sync my “Hello” Air iOS application. After checking out a few blog posts, I came across the answer.

Steps to check
1. Check the setting Development Provisioning Profile settings in the Developer portal. Make sure you have the right device chosen.

2. In Flash, make sure your appID matches the one in the Development Provision Profile in the Developer Portal. This was the reason why my application wouldn’t sync with iTunes. I used the wrong appID. I thought I was suppose to use the appID that was in bold, but it ended up being the text after the ‘.’.