1. Click the "Add" button in "Provisioning Profiles".
2. In "What type of provisioning profile does you need?" Page, select "Ad Hoc" under "Distribution" and click the "Continue" button, as
3. In the "Select App ID." Page, select "App ID" and click the "Continue" button.
4, in "Select Certificates." page, select the certificate and click the "Continue" button.
5, in "Select devices." page, select the name of the phone you want to test and add it to "Devices" if none. Click on the "Continue" button.
6. In "Name this profile and generate." , enter a filename and click the "Generate" button.
7. Download the profile, double-click to open and refresh the configuration file in Xcode, if the phone is connected to the computer will automatically mount the phone, you can use the phone on Apple's production server to test the push function.
Remote push implementation in iOS-test the push notifications feature on Apple's production environment