fixed the issue. Will look into that further It's related to iCloud and push notifications (on iOS and Mac OS X) and the App Sandbox feature (in OS X only). There is more information in Entitlement Key Reference. App Sandbox is documented in App Sandbox Design Guide:
How to debug "Xcode CodeSign error: The entitlements file Entitlements.plist is missing" in Xcode 4?
Any of those help Copy your Entitlements.plist file into the root directory of your project. If you don't have one anymore, then create one and put it in your default bundle. There's (for once) no magic going on here.
Missing Code Signing Entitlements for resource bundle xcode 6.3
With these it helps The answer to my problem turns out that i had an executable in my resource bundle. By deleting the Compile Source Phase and the Link Binary with Libraries Phase from my Resource target this removed any executables from my resource bundle and fixed my missing entitlement error