The main types
- Development: installs on registered test devices from Xcode.
- Ad hoc: for limited outside testers, with device IDs registered in advance.
- App Store: for uploads to App Store Connect and TestFlight.
- Enterprise: for in-house distribution under a separate program.
Why it causes trouble
Profiles and certificates expire, usually after a year, and a build made after expiry will not sign. Adding a new device means regenerating the ad hoc profile. Entitlements such as push notifications or Associated Domains must be enabled in the identifier and mirrored in the profile.
Ways to reduce pain
Use Xcode's automatic signing for day-to-day work, keep one named owner of the Apple developer account, store certificates in a shared secure place, and put renewal dates in a calendar. Tools such as fastlane match can keep a team's certificates in sync.
Questions, answered
The business, in its own name, never an agency or freelancer's personal account.
Expired certificates invalidate profiles; renew them and rebuild.