Hello
I would like your opinions/expertise on this… I submitted an app to the macOS App Store recently and it got rejected with this feedback:
Your app incorrectly implements sandboxing, or it contains one or more entitlements with invalid values… bla bla…
com.apple.security.application-groups
However, my App makes use of NSPasteboard (read and write) and IOPMAssertionCreateWithName for preventing the screen going to sleep… To my understanding, I do not need “com.apple.security.application-groups”. Am I correct?
Am I right in assuming that the problem is the entitlements-file containing “com.apple.security.application-groups” but without any values? So removing that “empty” key fixes the issue?
In xCode you have to check the use of sandboxing.
If i’m not mistaken they gave you a link for information about sandboxing.
Had the same issue and solved it by the given link.
My needs none of those capabilities. Sandbox is enabled, but no checkbox marked. As described in the respective guide provided by Apple.
According to the automated error message, it must be related to “com.apple.security.application-groups”, which is again a capability my app does not need. And is disabled, but looking into the entitlements-file, I have seen there is the “com.apple.security.application-groups” but without a value… that would match the “invalid value” error message… but I am not sure.
so, turned out be in act related to a “com.apple.security.application-groups” tag without value in the entitlements-file. I removed the complete tag from the file and re-submitted… passed.
Looks like that Xcode doesn’t clean up the entitlements-file properly in every case when adding and removing entitlements…