I Had the same issue, but resolved it by following simple following steps :
- Make sure you have selected debug rather than release.
- In Debug configurations, in project settings, you should have selected developer's profile & no need of specifying the entitlements plist.
- Also same setting are there under: Targets: , if not manuall change them to the above for the debug config. It will work.
All the best.