iOS Question Multiple errors while trying to compile bridge app

kozbot

Member
Licensed User
Longtime User
I'm trying to create a bridge app so I can edit an old app of mine and reupload it to the store.
I'm using the hosted builder, which I purchased yesterday.
I've updated to java jdk 19.0.1 but I'm using a slightly older version of b4i.

I just keep getting an error saying this on my laptop:

B4X:
B4i Version: 7.50
Parsing code.    (0.02s)
Building folders structure.    (0.54s)
Compiling code.    (0.74s)
Building designer app.    (0.33s)
Building Xcode project.    (0.41s)
Preparing project for builder.    (0.61s)
    Project size: 0.33 MB
Sending data to remote compiler.    Error
Communication error: Internal error: Bytes to be written to the stream exceed the Content-Length bytes size specified.

OR I try another computer and get this:

B4X:
B4i Version: 7.80
Parsing code.    (0.02s)
Building folders structure.    (0.01s)
Compiling code.    (0.10s)
Building designer app.    (0.02s)
Building Xcode project.    (0.10s)
Preparing project for builder.    (0.47s)
    Project size: 0.33 MB
Sending data to remote compiler.    Error
Error: security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)

I've updated the password MULTIPLE times and have had no success, I just keep getting the wrong password error.
I've deleted the keys 3 or 4 times and followed Erels video to set them up 3 or 4 times, but I'm just at my wit's end. Any help you can give me would be great. Thank you.
 

kozbot

Member
Licensed User
Longtime User
Just went back and reinstalled Java jdk1.8.0_341 and I'm getting the last error message consistently. I am very confused.
 
Upvote 0

kozbot

Member
Licensed User
Longtime User
I've now RE-created the certificates and profiles and identifiers as in Erels video and I'm getting a new error which is something I suppose:

B4X:
B4i Version: 7.50
Parsing code.    (0.02s)
Building folders structure.    (0.22s)
Compiling code.    (0.72s)
Building designer app.    (0.34s)
Building Xcode project.    (0.42s)
Preparing project for builder.    (0.18s)
    Project size: 0.33 MB
Sending data to remote compiler.    Error
Error: security: SecKeychainItemImport: Unknown format in import.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

kozbot

Member
Licensed User
Longtime User
Thank you for your help, unfortunately, the same error is coming up. I've used OpenJDK 11 plus added the certificates.
Here are screenshots:
2022-11-17 09 25 21.png

2022-11-17 09 16 03 (2).png

2022-11-17 09 16 03 (3).png



2022-11-17 09 16 03 (4).png

2022-11-17 09 16 03 (5).png

2022-11-17 09 16 03 (6).png


I'm now just getting the wrong password error every time. I have set the password multiple times and nothing changes.
Thanks again.
 

Attachments

  • 2022-11-17 09 16 03.png
    2022-11-17 09 16 03.png
    11.2 KB · Views: 62
Upvote 0

kozbot

Member
Licensed User
Longtime User
The java version is wrong. I don't know whether it is related or not but please carefully follow the instructions.
That's the version that I downloaded from your post earlier.
I've updated it now to the latest and I still get the "wrong password" error.

2022-11-18 15 33 08.png
 
Last edited:
Upvote 0

kozbot

Member
Licensed User
Longtime User
Thanks for all your help, it's still getting error after error... Can you tell me what this means?

B4X:
B4i Version: 7.50
Parsing code.    (0.02s)
Building folders structure.    (0.19s)
Compiling code.    (0.71s)
Building designer app.    (0.32s)
Building Xcode project.    (0.39s)
Preparing project for builder.    (0.37s)
    Project size: 0.33 MB
Sending data to remote compiler.    Error
Communication error: Internal error: Bytes to be written to the stream exceed the Content-Length bytes size specified.
 
Upvote 0

kozbot

Member
Licensed User
Longtime User
Yeah I'm moving back and forth to see if anything helps. I paid for the latest update for b4i so now that is standard, and I'm changing OpenJDK all the time because that's apparently the issue. I have no idea why this is happening.
Can you please tell me what java version I should have? I downloaded the one you linked, but it is still apparently different?
 
Upvote 0

Sandman

Expert
Licensed User
Longtime User
This is just an amateur guess so take it with a grain of salt: It seems to me that you might have different versions of java installed, and the wanted one isn't set as default. Assuming this might be correct, I would start uninstalling every single version of java you have. When you think you're done, check the java version from the command line again to make sure you get a message about java not being installed.

Then reboot and re-install B4i according to the exact instructions given and try again.

If that doesn't work, I have no idea what to do next. Sorry.
 
Upvote 0

kozbot

Member
Licensed User
Longtime User
View attachment 136201

And the latest version of B4i is 8.10.
This is my last post in this thread. If you like start a new thread don't try to do anything except what I ask you to do.

If I hadn't tried this OVER AND OVER again, I wouldn't have messed around trying to see if other JDK's worked because the instructions would've worked. But it's fine. I'll uninstall everything and try again just in case.

I'll report back once I do it.
Thank you all for your help.
 
Upvote 0

kozbot

Member
Licensed User
Longtime User
Uninstalled everything...
Reinstalled everything...
It gives the same error message:

B4X:
B4i Version: 8.10
Parsing code.    (0.02s)
Building folders structure.    (0.01s)
Compiling code.    (0.11s)
Building designer app.    (0.02s)
Building Xcode project.    (0.09s)
Preparing project for builder.    (0.07s)
    Project size: 0.33 MB
Sending data to remote compiler.    Error
Error: security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)

2022-11-21 10 38 27.png


2022-11-21 10 39 10.png


1668987935609.png


2022-11-21 10 40 04.png
 
Upvote 0
Top