We have a very strange issue where our share extension is failung BUT only when run once a build has been exported for distribution.
It builds fine & runs fine when run in a simulator, and if you just choose to run on a connected device in xcode
Everything appears to be signed correctly with app groups etc appropriately set. We click on a photo on the device > choose share > choose our app icon and nothing happens.
If we export the archive & then debug it attached to xcode, then we can see it falls over on the following line:
filemanager.default.containerurl(forsecurityapplicationgroupidentifier: "group.com.blah.blahshareext") //returns nil
Anyone seen anything like this before?