iOS Question How in Manifest to use if then to toggle between keys

Markos

Well-Known Member
Licensed User
Longtime User
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
Upvote 0
Top