Group folder is nil on iOS 11 simulators

The groups folder is always nil on iOS11 simulators. For example when I call the following:

fileManager.containerURL(forSecurityApplicationGroupIdentifier: "group.my.group.here")


The result is always nil on iOS11 simulators but works fine on iOS 11 devices and earlier iOS simulators. What gives? Obviously this makes testing our app in the new simulators a bit problematic.

Replies

I have the same issue and it has been driving me crazy. I reset all the entitlements and verified the identifier string but the function always returns nil. Until this is fixed im stuck testing on iOS 10 simulators.

Same issue, is there any known fix for this other than using older simlators or not using app groups for simulator builds?


Has this issue been acknowledged by apple?

Turns out it is related to the app id. If the app id does not contain periods, this behavior occurs in the simulators. I hope apple will fix this. We are forced to create a new app id for testing/development purposes. See my other post on stack: https://stackoverflow.com/questions/46207266/cannot-get-groups-folder-on-ios-11-simulators

And here's the radar I filed https://bugreport.apple.com/web/?problemID=35617944