First of all, let us first explain that we are most likely to misunderstand or understand the error: P12 certificate.
In fact, the most direct use of P12 certificate, we have generated a CER certificate on a computer, if the use of the developer account (regardless of company or individual) to the IPA packaging and shelves, CER certificate is essential.
However, the CER certificate can only be generated on a single computer, if you want to co-develop more people, P12 certificate helps a lot, as long as we generate a CER certificate, packaged together into P12, exported to other people on the team to use, you can install the CER certificate.
Remember: In a team, the CER certificate can be generated as long as one of the computers, no need to do the same steps, and then other computers, as long as the use of the exported P12 certificate.
How to debug a real machine:
This is what we care about most. In fact, as long as the preparation of two things can fully meet our needs: 1, the developer account (paid) 2, mobileprovision configuration file
As long as these two things can be, the rest of the non-packaged IPA, or shelves, are not required.
Here's how:
1, will prepare the developer account (regardless of the team assigned, or personal, as long as can use the line) added to the account management of Xcode, add in; At this time, the network request, the use of the "certificate" automatically identified.
2, in the developer background download back to mobileprovision configuration file, directly run this file, you can complete.
In these two steps, you can directly create any project to do real-machine debugging. The above is the experience of Xcode, first recorded in this, hope that the future less detours.
Something: In fact, Apple since the announcement Xcode 7 no need to use the developer account (to more than 99 knives) will be able to debug the real machine, now has a beta version, you may wish to try.
Apple developer Account How many people collaborate for development and real-machine debugging Xcode