I followed your steps and added the Entitlements.plist file to my project. I also added the get-task-allow field and set it to a boolean and unchecked the box. I go to build
When you submitted to AppStore, you changed Code Signing values, so now if you want to continue developing, you have to change them back.
The following steps fixed it for me: - Click on your project name under PROJECT (just above TARGETS) - Select the tab Build Settings - In the section Code Signing change the values for Debug and for Release to be "iPhone Developer" instead of "iPhone Distribution"