iOS Question Problem compilation

FerGeoRi

Active Member
Licensed User
Hello
I am now registered with the developer account.
When I compile my application, the following error message appears:

B4i Version: 5.00
Code analysis. (0.14s)
Compilation of the code. (2.63s)
Compilation of the layout code. (0.12s)
Compile debugger code. (6.80s)
Establishment of the Xcode project (0.87s)
Sending data to the 'Remote Compiler'. error
mobileprovision file not found.

Can you tell me what to do?
A big thank you for your answers
Cordially.
FerGeoRi
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
There is a problem if you are running iOS 12.x because it requires device management profiles to be installed over a HTTPS connection. It seems that get.udid.io isn't HTTPS, or the site certificate isn't valid. It doesn't work on my iPhone 5S running iOS 12.1 either.

- Colin.
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
The UDID is required by Apple to register a test device. Try Erel's suggestion here - I tried it & it worked.

Another way to register test devices is through Xcode.

- Colin.
 
Upvote 0

FerGeoRi

Active Member
Licensed User
good evening
I managed to recover UDID from my iPhone with iTunes.
Many thanks to Computersmith64 (Colin).

By applying the Erel tutorial, I arrive on the page:
https://developer.apple.com/account/#/overview/........
And as input I have the following message:
There is no credit/debit card on the Apple Online Store associated with your Apple ID to auto-renew your membership.
Add a credit/debit card to maintain membership benefits and keep your apps available on the App Store.
I must therefore inform AppStore of bank details.

If I understand correctly, to obtain a Certicat to be able to develop with B4i under Windows, I have to go through Xcode?
If so, should Xcode be installed on Windows?
Thank you for your answers.
Cordially.
FerGeoRi
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
I don't think it's required to add credit card / bank details. I think you can renew manually. That's what I used to to, but I changed it to auto-renew a couple of years ago - so things might have changed since then & they might make it a requirement now.

You can't install Xcode on Windows - it only runs on Mac OS. I'm pretty sure the tutorial Erel gave you a link for tells you how to get your certificate. Did you watch the entire video?

- Colin.
 
Upvote 0

FerGeoRi

Active Member
Licensed User
Good evening.
I do not master the English language at all and that's why I'm struggling so much.
For writing I use the Google translator.

I will review in detail Erel's video.
Thanks again.
FerGeoRi
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
Good evening.
I do not master the English language at all and that's why I'm struggling so much.
For writing I use the Google translator.

I will review in detail Erel's video.
Thanks again.
FerGeoRi

Yes - it is difficult when you don't understand the language. :)

If you watch the video from 3:55, that is the part that shows you how to create a certificate.

- Colin.
 
Upvote 0

FerGeoRi

Active Member
Licensed User
good evening
Thanks for your understanding.

So I managed to create the certificate.
See the detail on image 01

Then I run the compilation is a first error message appears.
See image 02

And then a second error message:
See image 3

FerGeoRi
 

Attachments

  • 01.png
    01.png
    8.6 KB · Views: 231
  • 02.png
    02.png
    8.3 KB · Views: 256
  • 03.png
    03.png
    26.9 KB · Views: 227
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
Errr - sorry, I don't use B4i so I'm not sure where this error is coming from, but it looks like there's a mismatch between your provisioning profile & the certificate you created. Hopefully someone who is a B4i user (or Erel) can help.

- Colin.
 
Upvote 0

FerGeoRi

Active Member
Licensed User
Hello
So I deleted the certicate and I recreated it.
The compilation ended successfully.

But I have the following message:
Make sure B4i-Bridge is running (192.168.0.2).

In the editor B4i, I do not have the drawing of the iphone on the right.
Or do I have to find the executable that will be created?
Thank you for your patience.
FerGeoRi
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
Hello
So I deleted the certicate and I recreated it.
The compilation ended successfully.

But I have the following message:
Make sure B4i-Bridge is running (192.168.0.2).

In the editor B4i, I do not have the drawing of the iphone on the right.
Or do I have to find the executable that will be created?
Thank you for your patience.
FerGeoRi

Did you follow the video tutorial Installing B4i-Bridge and debugging first app?

The "drawing" of the iPhone isn't part of the IDE - it is a screen capture of Erel's test device. You need an actual iOS device (or simulator) to test on.

- Colin.
 
Upvote 0

FerGeoRi

Active Member
Licensed User
Hello

I'm looking at your tutorial.

I run Tools / Build Server / Build B4iBridge App
Here is the message that appears:

B4i Version: 5.00
Code analysis. (0.00s)
Compilation of the code. (2.62s)
Establishment of the 'designer' application. (0.63s)
Establishment of the Xcode project (0.99s)
Sending data to the 'Remote Compiler'. (21.87s)
Open Safari and navigate to: builder2.b4x.com:51041/xxxxxx
Click the Install button.
troubleshooting:
1. Make sure the B4I certificate is installed and trusted (www.b4x.com/ca.pem).
2. Ensure that the provisioning file includes the UDID of the target device.
3. Check the link for typos.
Successfully completed.


On iphone 5C, I run Safari and come back builder2.b4x.com:51041/xxxxxx
The "Install App" button appears and I press it.

He goes into research:
IP address 192.168.0.222 Waiting for IDE to connect to B4i-Bridge.
He does not find.

The iPhone must be connected by USB to the PC?
Thank you for your reply.
FerGeoRi
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
On iphone 5C, I run Safari and come back builder2.b4x.com:51041/xxxxxx
The "Install App" button appears and I press it.

He goes into research:
IP address 192.168.0.222 Waiting for IDE to connect to B4i-Bridge.
He does not find.

The iPhone must be connected by USB to the PC?
Thank you for your reply.
FerGeoRi

OK - so are you doing the step at 1:57 in the video? You need to go into the B4i IDE & go into Tools->Device IP Address & select your device.

You don't need the USB connected because you are connecting via your WiFi.

- Colin.
 
Upvote 0
Top