iOS Question Problems migrating from B4i 4.01 to B4i 4.81

elpic76

Member
Licensed User
Longtime User
Hi,
I'm porting my second app from B4A to B4i.
In the first app I started from the scratch setting up B4i 4.01 + Hosted Builder from creating a certificate, provisioning profile, installing b4i-bridge and debugging my first app; I was able to develop my app with success.
Now with the second app I upgraded to B4i 4.81 because the hosted builder doesn't support the old version. I'm having some problems:
  1. during compilation in debug mode it was an error like my credential were wrong, I used the same directory of keys I used in the first app; when I enabled "Prefer Secondary" in Build Server Settings the app compiled although sometime the error reappears (I don't log the error because of the success compilation). Is it normal?
  2. I'm using B4i-Bridge of B4i 4.01 that was already installed on my developments device. I was able to install and try for a while my app then I made some changes and the connection with the IDE was very unstable with a message showing "Trying to connect to IDE". I unistalled the app from the iphone and I wasn't able to reinstall it. Do I need to install B4i-Bridge shipped with B4i 4.81 or where am i wrong?
Best regards
 

BillMeyer

Well-Known Member
Licensed User
Longtime User
I would suggest the following:

1. Delete the old app and Bridge from your test device.
2. It's quick and easy - create a new set of certificates from Apple and download them to your keystore.
3. Reboot your device (Phone - not PC)
4. Re-create the B4i Bridge and install it on your device
5. In your IDE --> Tools --> Build Server --> Server Setting --> Choose 64bit
4. Re-compile your app and test on your device

That should do the trick !! (If it doesn't - throw the device in the Dustbin and revert to Android !! :eek:)
 
Upvote 0
Top