1. Xcode creates the certificate, where the distribution certificate is selected. (Ps: Note that in step 5, creating a profile for publishing can only select publishing certificates, and developing can only select development certificates, so you also need to create a development certificate — just repeat step 1.)
2. Log in to Apple Development and go to Certificates, Identifiers&Profiles; After the first step, a certificate is generated as follows:
3. Next create the identifier.
4. Add a test device. This is easy, so I won’t take screenshots.
5. Create a profile
6. After completing the above steps, open Xcode to select a profile.
And that’s what I want to share. You’re welcome to like it. Thank you very much!