iOS Tutorial Installing B4i-Bridge and debugging first app

Status
Not open for further replies.

ilan

Expert
Licensed User
Longtime User
my iphone 5s is running version: 10.3.3 (14G57)

and when i checked the Certificate Trust Setting, B4i was also turned off so i turned it on and its working now but only Hosted builder! the local builder still doesnot work!

ps: my hosted builder will expire soon so it would be very nice if we could get an update for the local builder

btw the hosted builder ip is: 63.135.170.51
 

ilan

Expert
Licensed User
Longtime User
Check the ip address printed when the builder is started. It is probably incorrect. If so then follow the instructions on explicitly setting the ip address: https://www.b4x.com/android/forum/threads/46402/#content

this is what i get when i start the builder:


the ip that i use is: 192.168.14.106
 
Last edited by a moderator:

ilan

Expert
Licensed User
Longtime User
Can you install other apps (not B4i-Bridge)?

Sorry i dont understand your question.

I can install the bridge via hosted builder and then install apps from b4i (debug and release) but with local builder i get an error msg that i cannot connect to ip...

Even if i install the bridge via hosted builder and then try to connect to the local builder i get the same error.

Can you maybe put a download link to the hosted builder with ip: 63.135.170.51

Maybe its a different jar file that was sent via b4i v4.01 mail??

I need to mention that i had the same error with the hosted builder but when i enabled b4i certificate in settings the hosted builder start working but not the local. And i also can run debug with simulator so the local builder is building the project and i can connect to it and run on simulator but with my iphone i get "cannot connect to ip"
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The problem is not in the builder program.

I need to mention that i had the same error with the hosted builder but when i enabled b4a certificate in settings the hosted builder start working
This is expected.

Try to delete the keys folder in the Mac, change the user name under Tools - Build Server (to any value you like) , restart the Mac builder and test it again.
 

ilan

Expert
Licensed User
Longtime User
The problem is not in the builder program.


This is expected.

Try to delete the keys folder in the Mac, change the user name under Tools - Build Server (to any value you like) , restart the Mac builder and test it again.

Ok i will try it when i get to my pc and let you know. Thank you
 

ilan

Expert
Licensed User
Longtime User
Try to delete the keys folder in the Mac

done!

hange the user name under Tools - Build Server (to any value you like)

done!

restart the Mac builder

done!

test it again



@Erel, i really think there is a problem with the .jar file. everything worked in the previous version.
i also am able to build the project and run it on the simulator (with the local builder) and if i use the hosted builder i can run my project on my iphone
i only cannot connect my iphone with the local builder!!

btw i am not the only one with this issue, @JanPRO has the same issue and others here too. and it started with version 4.01.
 
Last edited:

ilan

Expert
Licensed User
Longtime User
ok, ok, ok , ok..... i found the reason!!!!

b4i doesnot like if the date and time on the iphone is not correct!!!

i am not using my iphone a lot and the date was june 2017 and not july. setting the right date/time (go to setting - date & time - Set Automatically) fixed the issue!

so if someone has the same issue check the date & time on your iphone! i have no idea why the bridge is date/time sensitive but setting the right date/time fixed the issue!! thanks a lot for your help @Erel
 

JanPRO

Well-Known Member
Licensed User
Longtime User

hongbii khaw

Member
Licensed User
Longtime User
Hi all,
i got this error message:
Check dependencies
Provisioning profile "SCloud Development" has app ID "com.<user id>.scloud.*", which does not match the bundle ID "com.<user id>.scloud".
Code signing is required for product type 'Application' in SDK 'iOS 10.3'
Anything I did wrong?
Thank you.
 

b4xscripter

Member
Licensed User
Longtime User
Hi,
first of all, many thanks for your support!
I have the issue related to the hosted Mac Builder. I select Build B4i-Bridge App:



That was compiled successfully:



Now, I put the url on Safari with my user: 208.52.154.96:51041/XXXXXX

I get this message:



And when I click o Install App, I always get "can't connect to 208.52.154.96":




I have B4X certificate installed on my Ipad, as required.

Could someone please explain what is the problem and how to sort it out?

Thanks in advance!
 

Attachments

  • upload_2017-10-1_16-11-4.png
    94 KB · Views: 535

b4xscripter

Member
Licensed User
Longtime User
Hi, Erel!
Thank you! It is true... I needed to enable the certificate. But now, when I try to open the installed app, I get this error:




The translation from spanish is something like "You need to update B4i Example, the developer must update this app to be compatible with this iOS version.
I have the version iOS 11.0.1

Best regards
 

stingrae

Member
Licensed User
Longtime User
I've gone through the instructional at least 10 times, with 3 or 4 different apps but cannot get past this bit:

"Build B4i-Bridge: Tools -> Build Server -> Build B4i-Bridge". I get this error below.

I've got my Android app working well, and now want to replicate in iOS but can't get a "hello world" app to compile :-(

Please help

 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…