The S4A IDE Mac app store app used to use a group container to communicate between the main app and the XPC service that did the build, so it could share files for the build. It's time to hand over the app to a friend but I was blocked from transfer because the App Store says I was using a shared group container. I rewrote the main app and XPC service to pass a security-scoped URL via bookmark from the main app to the XPC and removed all entitlements for the group container. Cleaning out all containers and restarting the app, it still works but I can see no group container is created in ~/Library/Group Containers (it used to be with the old app).
However, when I uploaded this app, after it passed app review I was still unable to transfer it, with the same error message.
I then looked at the app id on developer.apple.com and realised the app id still had group containers even though I'd removed the entitlement from all entitlement files being used in the Xcode project. So I removed it from the app id on the developer portal too, and recreated the provisioning profile the app was using, then rebuild the app again and did another app submission. That's approved and on the App Store but I'm still seeing the message that I can't transfer the app due to a group container. Getting a bit confused now why the App Store still thinks I'm using group containers and is blocking this?
edit: I scoured the code and found this code still in an obscure part of the app...
let container = FileManager.default.containerURL(
forSecurityApplicationGroupIdentifier: sharedGroupContainer) {
...although I think this probably returns a nil and just does nothing with it, the App Store might be seeing this API being used and think I'm still using group containers?
Carl
footnote: unfortunately I've also got locked out of my account temporarily due to a billing issue, so I can't try much until I resolve that, but it would be great to get some ideas what to try once I get back in.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect