Remote Push implementation in iOS-test the Push Notifications function and iosnotifications in Apple's production environment
1. Click "Add" in "Provisioning Profiles.
2. What type of provisioning profile do you need ?" Select "Ad Hoc" under "Distribution" and click "Continue", as shown in figure
3. On the "Select App ID." Page, Select "App ID" and click "Continue.
4. On the Select certificates. Page, Select the certificate and click "Continue.
5. On the "Select devices." Page, Select the name of the phone you want to test. If not, add it to "Devices. Click "Continue.
6. In "Name this profile and generate.", enter the file Name and click "Generate.
7. Download the configuration file and double-click it to open and refresh the configuration file in Xcode. If the mobile phone is connected to the computer, the mobile phone is automatically loaded, you can use the mobile phone to test the Push function on Apple's production server.