I had a strange problem today which took me some time to figure it out ;-)
I always got "
UNABLE TO DOWNLOAD APPLICATION
"B4i-Bridge" could not be installed at this time.
" when I tried to download the bridge app using the iPhones Safari...
After a lot of testing I found out what the problem was:
B4A always used the store certificate/mobileprovision files instead of the development ones.
I have all four files in the "keys" directory.
My (temporary) solution:
I "tricked" B4A now and simply copied the development files and renamed them to the store files (and back again after the bridge app was created and installed on the phone).
So my question is:
How (and where) can I tell B4A which certificate/mobileprovision file to use when creating the bridge app?
1. B4i not B4A.
2. You don't need development certificates at all. Only use a production certificate with an ad hoc provision profile.
3. You can use #ProvisionFile to set the provision profile file: Managing multiple certificates / provision files
1) Yes you are right, typo on my end... I just tried to change the title of the thread but I couldn't find where... Could you change "B4A" to "B4i" please? ;-)
2) I will try to look into this, thanks!
3) I tried to use that setting, but it looks to me that this information is not used when the bridge app is compiled?
I have this in my app:
---
#If RELEASE
#CertificateFile: ios_distribution.cer
#ProvisionFile: xxxx_store.mobileprovision
#Else
#CertificateFile: ios_development.cer
#ProvisionFile: xxxx_dev.mobileprovision
#END IF
---
But that didn't work... Any hints how I can troubleshoot this?