Because a project needs to be tested for someone recently, the ad hoc method is used
First login to the developer's website to configure the certificate
1. Add certificates, get certsigningrequest from your computer and add it in
2. Add the bundle ID and name to debug app in Identifiers app IDs
3. Add the Udid of the phone that you want to test for someone in Devices
The first few steps are the same as the real machine debugging, simple explanation
4. In Provisioning Profiles add Profiles in the time to select Ad Hoc
?? Continue
Select App ID for the app you want to debug
Continue
Select Developer
Continue
Select the phone you want to debug (multiple options available)
Continue
Enter the name of the saved certificate and then generate to download it after the build
5. After saving the certificate, open Xcode, double-click the certificate
6. In xocde-preferences-account Add the developer account that just set up the certificate, if added, skip this step
7. Then add the downloaded Ad hoc certificate to the Provisioning profile inside the project project-build settings-code Signing
If this option is not possible, double-click the generated ad hoc certificate again
Provisioning Profile Developers all choose to set the certificate of the developer account
Connect to the real machine to see if it works
8.Xcode menu Bar Select Product-archive, will pop up organizer window (already Archive can be opened from the menu bar Window-organizer)
Then select Export, select Save for Ad Hoc Deployment, then next
9. A pop-up window allows you to select the developer and select the developer who set up the certificate.
10.
Select Next
11.
1 in the box will display the configured ad hoc certificate, if the display *, then the problem, please log on to the developer's official website to see if the Ad hoc certificate is valid (if invalid edit for valid)
If the display is correct, direct next
12. Then the app's IPA is generated, and the program can be tested for others.
iOS development uses ad hoc for testing