Code signing your app assures users that it is from a known source and the app hasn’t been modified since it was last signed. Before your app can integrate app services, be installed on a device, or be submitted to the App Store, it must be signed with a certificate issued by Apple. For more information on how to request certificates and code sign your apps, review the App Distribution Guide.
To avoid potential issues with common tasks involving code signing, follow these best practices:
Signing and Running Development Builds
Essential Guides and Documentation
- App Distribution Guide
- Code Signing Troubleshooting
- Troubleshooting Push Notifications
- Developer ID and Gatekeeper (OS X)
- Code Signing Guide (OS X)
Frequently Asked Questions
- How do I transfer my code signing certificates and provisioning profiles to another Mac?
Review the instructions in Exporting and Importing Certificates and Provisioning Profiles.
- What does “Valid Signing Identity Not Found” mean and how do I resolve it?
Follow the steps outlined in Your Certificates Are Invalid Because You're Missing Private Keys.
- How do I resolve a code signing build error?
See the list of published solutions in Build and Code Signing Issues.
- How do I revoke or delete my certificates and start over?
Use the process outlined in Re-Creating Certificates and Updating Related Provisioning Profiles.
- Do I need to define a custom Code Signing Entitlements file in Xcode?
To understand when entitlements are required and how to configure them properly, see Adding Capabilities.