Mac Os App Entitlements

I have been following the instructions for app store distribution in the iOS Developer Program Guide, and I did everything it said to do, but when I try to build the app, it says 'the entitlements file 'path of file/entitlements.plist' is missing.' I tried adding a template entitlements plist and it says
Command /usr/bin/codesign failed with exit code 1, and
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
I don't think this has to do with the certificate because I have followed Apple's intsructions about the certificate, but it doesn't say anything about an entitlements.plist. How do I get my app to work so that I can submit it to the App Store?

Use of entitlements. Access by third-party apps to user information, and to features such as iCloud and extensibility, is controlled using declared entitlements. Entitlements are key-value pairs that are signed in to an app and allow authentication beyond runtime factors, like UNIX user ID.

Ios app entitlements

Mac Os App Entitlements App

Macbook, Mac OS X (10.5.3)

Mac Os App Entitlements Settings

Mac Os App Entitlements

Macos Show App Entitlements

Posted on