Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

getting unsatisfied entitlements

When I'm starting my MacOS app, I can see at the console the errors

 com.myAppBundle: Unsatisfied entitlements: com.apple.security.application-groups 
 Disallowing: com.myAppBundle

However, it's seems that the app is working just fine, and I do have entitlements files with those values:

<key>com.apple.security.app-sandbox</key>
    <true/>
<key>com.apple.security.application-groups</key>
    <array>
        <string>$(TeamIdentifierPrefix)group</string>
    </array>

So why I'm getting the "Unsatisfied entitlements" error ?

Edit:

For iOS apps, in addition to the capabilities tab, one need to add App Groups at Apple Developer account. But there is no such option for OSX apps

like image 415
Roee84 Avatar asked Jan 15 '17 15:01

Roee84


Video Answer


1 Answers

Old question but since it got some upvotes recently, I'll add some info that might help: on macOS the app group identifier is prefixed by the Team ID, whereas that’s not the case on iOS.

So for iOS the app group can be something like: group.com.example.aaaa.bbb

and for macOS: V123ABC4ER.com.example.aaa.bbb

like image 189
Roee84 Avatar answered Nov 16 '22 21:11

Roee84