M Markos Well-Known Member Licensed User Longtime User Mar 23, 2017 #1 Hi All What is an example of using #If/Then Else statement to toggle between Developer Keys and Distribution Keys. And to use a variable to set as True for Distribution and False for Development key. The pseudo code will look like this... #If RELEASE #CertificateFile: ios_distribution.cer #ProvisionFile: ProgwhizProducts.mobileprovision Else #CertificateFile: ios_development.cer #ProvisionFile: ProgwhiziOS.mobileprovision #END IF Where Release is a boolean that I can set in a line before. This will be faster rather than commenting the Keys I dont want to use etc
Hi All What is an example of using #If/Then Else statement to toggle between Developer Keys and Distribution Keys. And to use a variable to set as True for Distribution and False for Development key. The pseudo code will look like this... #If RELEASE #CertificateFile: ios_distribution.cer #ProvisionFile: ProgwhizProducts.mobileprovision Else #CertificateFile: ios_development.cer #ProvisionFile: ProgwhiziOS.mobileprovision #END IF Where Release is a boolean that I can set in a line before. This will be faster rather than commenting the Keys I dont want to use etc
Erel B4X founder Staff member Licensed User Longtime User Mar 23, 2017 #2 Markos said: What is an example of using #If/Then Else statement to toggle between Developer Keys and Distribution Keys. Click to expand... Don't use developer keys at all. They are not needed. You can debug your app with distribution key. Tutorial about multiple keys: https://www.b4x.com/android/forum/t...e-certificates-provision-files.48539/#content Upvote 0
Markos said: What is an example of using #If/Then Else statement to toggle between Developer Keys and Distribution Keys. Click to expand... Don't use developer keys at all. They are not needed. You can debug your app with distribution key. Tutorial about multiple keys: https://www.b4x.com/android/forum/t...e-certificates-provision-files.48539/#content