title: Error Domain=IDEProvisioningErrorDomain Code=9 - requires a provisioning profile with the App Groups
body: <p>I created a Share extension type app in xcode and embedded it into my delphi (10.3.3.) project. (PlugIn folder)</p>
  <p>In Ad Hoc mode it works,</p>
  <p>In App Store mode</p>
  <p>When I compile for the app store if I add &quot;embedded.mobileprovision&quot;  in deployment configuration then I get this error.</p>
  <p>[PAClient Error] Error: E0776 Error Domain=IDEProvisioningErrorDomain Code=9 &quot;&quot;yashare.appex&quot; requires a provisioning profile with the App Groups feature.&quot; UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription=&quot;yashare.appex&quot; requires a provisioning profile with the App Groups feature., NSLocalizedRecoverySuggestion=Add a profile to the &quot;provisioningProfiles&quot; dictionary in your Export Options property list.}</p>
  <p>I checked the provisionings they﻿ are correct,s .   both (app and extension) supports  group</p>
  <p>If I disable  &quot;embedded.mobileprovision&quot; for appex in deployment  then delphi compiles the ipa correctly, however, when I try to upload IPA files to the store I get this error.</p>
  <p>ERROR ITMS-90164: &quot;Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '4WXQVJ6QJ7.it.diesys.youaddict.yashare' for the key 'application-identifier' in 'Payload/YaApp.app/PlugIns/yashare.appex/yashare'.&quot;</p>
  <p>In xcode everything looks fine</p>