Self-sign an iPhone app to debug it on device
1. Create a code sign certificate in KeyChain tool.
4. Add the following key/value in info.plist
a. Keep the validation period as 365 days. (3000 days obviously won't work...)
b. Trust the certificate after you created it
2. Add two user-defined settings in project settings PROVISIONING_PROFILE_ALLOWED = NO
PROVISIONING_PROFILE_REQUIRED = NO
3. Change "Code Signing Identity" in project settings to your certificate4. Add the following key/value in info.plist
SignerIdentity = Apple iPhone OS Application Signing