One of my AppStore macOS apps uses CFBookmark (SecurityScope bookmarks) and always worked fine.
I yesterday uploaded a new version and it was suddenly rejected because I use the com.apple.security.files.user-selected.read-write entitlement.
It seems this isn’t allowed anymore (or things changed how to use them). Which would be odd.
Some things:
- Code regarding handling the CFBookmark was not changed
- I uploaded the previous version in November 2024 and was accepted.
Anyone seeing this too when using com.apple.security.files.user-selected.read-write entitlement?
I am going to uploaded it again and see if another Apple guy rejects it too.
I’am currently waiting for a review of one of my apps which is using the com.apple.security.files.user-selected.read-write entitlement. It was last updated on Dec. 29 without any problems…
Mine was accepted in November too. But now rejected.
Are you using one bookmark or more in your app?
I am reading about it right now and it seems it is officially only allowed to use one bookmark at once. If you need 2, you need first to remove the first before activating the second.
But that doesn’t explain why it was reject purely for com.apple.security.files.user-selected.read-write, I guess.
I’am using one bookmark.
Reviews on weekends are currently slower, so it may take some time until I get a response…
Mine is ‘In review’ … fingers crossed!
Some thought I had: If I am not mistaken, when you upload your .pgk, they automatically do several checks (including entitlements) for sure. If com.apple.security.files.user-selected.read-write is not accepted anymore, that should already be catched with that check, I guess.
Mine was rejected by the reviewer. That’s odd.
It is accepted for sure, not deprecated, what’s not accepted are some kinds of wrong uses, but those should be being blocked since forever, because the app should crash trying to; like opening a file that creates temporary files while you try to use them, your read/write permission was for the selected file only.
Update:
Rejected again. But I now know why. If you use 2 or more bookmarks, rejection is what you get.
I got no answer why it was accepted before.
Anyhow, I have now changed some things and use only one bookmark. It is in review now.
… what? That doesn’t make any sense. Why would you only be allowed a single bookmark? There’s something we’re missing here.
Please post the exact wording of the rejection.