title: iOS App Groups no longer working
body: <p>Just over a year ago I signed up for a free Apple developer account. All went well, I was able to build apps and deploy on my iPhone.</p>
  <p>One of the apps also has an a Today extension and I created an app group to share data. The provisioning profiles I generated expired, and I can no longer deploy the app on device. It works fine on Simulator, of course.</p>
  <p>When I build, I get this error:</p>
  <blockquote>
  <p>None of the valid provisioning profiles allowed the specified entitlements: com.apple.security.application-groups.</p>
  </blockquote>
  <p>If I click &quot;Fix issue&quot;, I get this:</p>
  <blockquote>
  <h3>Communication with Apple failed</h3>
  <p>Your account does not have sufficient permissions to modify containers.</p>
  </blockquote>
  <p>Going to Capabilities (both the app and the extension have the same issue), in App Groups, I see <a href="https://i.imgur.com/nIPuU83.png?1" rel="noreferrer">this error</a></p>
  <p>Again, &quot;Fix issue&quot; doesn't do anything. Completely disabling App groups works, but I need this.</p>
  <p>I opened the expired .mobileprovision files and noticed that under Entitlements-&gt;com.apple.security.application-groups, the group is there, while in the new files, the array is empty. And the most weird part is that somehow the group is there since it appears in XCode and I can select it, but just not in the right place, and this is probably why I get those errors.</p>
  <p>I tried cleaning and building the project, deleting all provisioning files, certificates, I created a new project, I tried to create a new group but it didn't work (it just appeared in red), but I'm all out of options.</p>
  <p>When I log in to developer.apple.com, anything I do redirects me to purchasing the membership for enrolment.</p>