[quote='826809022, Moleskyth, /thread/775022?answerId=826809022#826809022, /profile/Moleskyth']
Could you please list all the steps you took to recreate the certificates and profiles on the Apple Developer website?
[/quote]
This is how I did it:
Add correct app group capability
Go to https://developer.apple.com/account/resources/identifiers/list and open the identifier belonging to your app/extension (you have to do follow all of these steps for every target included in your app)
Enable the 'App Groups' capability, click 'Configure', and enable the app group that you need. Then save.
Generate provisioning profile
Go to https://developer.apple.com/account/resources/profiles/list, click the plus button next to the Profiles title
Select 'macOS App Development', then continue
Select the correct App ID, then continue
Select the development certificate that you use in Xcode, then continue
Select your device, then continue
Give the profile a name, then click 'Generate'
Download the certificate
Select provisioning profile in Xcode
Go to the 'Signing & Capabilities' tab of the target settings
Disable 'Automatically manage signing'
In the macOS section of Signing, select the dropdown next to Provisioning Profile, select 'Import Profile', and select the profile you just downloaded
[quote='826809022, Moleskyth, /thread/775022?answerId=826809022#826809022, /profile/Moleskyth']
did you upload the archive using those newly created certificates, or did you switch back to using automatic ones afterward? Did you have to remove any existing certificates to get it to work?
[/quote]
You have to upload using the new certificates, because those are the only ones with the right entitlements. If you're already using a custom certificate I guess you have to unselect those in Xcode, but otherwise, no need to go around and explicitly delete stuff.
Topic:
Code Signing
SubTopic:
Entitlements
Tags: