if it does not take a lot of effort, then these compiler options would be very helpful.
So far I always have to uncomment the #CertificateFile, depending on the compiling option.
With these 2 new compilation options, the work would be much easier.
1. Release-Private = App will be installed on your own device
2. Release-Store = IPA-File is created and downloaded.
What @Filippo intended, I suppose, is that sometimes it is compiled in Release but with the developer certificate and not distribution, for private use.
Other times it is necessary to create a Release with distribution certificate, to publish on the Store.
To do this, the lines are commented to load the developer certificate both for debug and for Release.
I deconment the lines to compile and distribute in the Store.
In my case I have a Lite and Pro version, so should the configuring look like this?
B4X:
#CertificateFile: ios_distribution.cer
#if DEBUG OR Relaese-Lite OR Relaese-Pro
#ProvisionFile: developer.mobileprovision
#End If
#if STORE-Lite OR STORE-Pro
#ProvisionFile: store.mobileprovision
#End If
Hi,
I have to ask again, because I still do not understand it.
How or what do I have to set so that I compile a Relaese-version for my device and a Relaese-version for the Apple Store?
B4X:
#If DEBUG
#CertificateFile: ios_development.cer
#ProvisionFile: developer.mobileprovision
#End If
#If RELEASE
#CertificateFile: ios_distribution.cer
#ProvisionFile: store.mobileprovision
#END IF