iOS Question [Solved] b4i Bridge cannot be compiled (Error: security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?))

CryoGenID

Active Member
Licensed User
Longtime User
SOLUTION:

Update (hopefully the last one): The installation of openJDK seems to have done the trick :)
Damn JAVA...

So for anybody who also has that problem: use openJDK! :)


Hello everybody,

it has been some time since my last B4i endeavor, now Apple threatens me that they would delete my app from the AppStore, so I need to supply a freshly compiled version ;-)
Which leads me to my problem:
To get B4i running again...
I have followed all the tutorials and videos I could find, but I cannot solve this error:
B4i Version: 7.80
Parsing code. (0.00s)
Building folders structure. (0.01s)
Compiling code. (0.00s)
Compiling layouts code. (0.00s)
Building Xcode project. (0.16s)

icon-store-1024.png is missing from Files\Special. Using default icon.
Preparing project for builder. (0.03s)
Project size: 0.16 MB
Sending data to remote compiler. Error
Error: security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)

I first tried it with the hosted builder --> same error
Then I installed the local builder --> same error
I have multiple times deleted the keys folder, all certificates and profiles in the Apple developer portal and recreated the "Private Sign Key" but I _always_ get the same error...

I do not know what to do, perhaps anybody (or @Erel ) has another idea what to try?

Thanks so much in advance!

Best regards,

Chris
 
Last edited:

CryoGenID

Active Member
Licensed User
Longtime User
Update: I have now installed JDK 8u311 (before I had JDK 17) and since I switched back to JKD 8, that I get this error when I try to generate the keys:
1640759766818.png


Somehow B4i doesn't like me anymore :-(

Any ideas? ;-)

Thanks so much!

Best regards,

Chris
 
Upvote 0

CryoGenID

Active Member
Licensed User
Longtime User
Run your builder !
Oh that already needs the builder to create the keys?
THANKS again!

Now the creation of the keys worked perfectly! :) Thanks again!

I will report back if the certificates etc. work as well ... :)

Best regards,

Chris
 
Upvote 0

CryoGenID

Active Member
Licensed User
Longtime User
Hm... I am collecting errors :-(
Now I get this one:
1640870259943.png


I have already twice re-generated the keys, each time the same error...

Any ideas? :)

Thanks guys!

Best regards,
Chris
 
Upvote 0

CryoGenID

Active Member
Licensed User
Longtime User
I just tried it again from scratch, still the same problem:

1641311517524.png


Can nobody help?
It must be possible to get this working right? ;-)

Thanks to all of you!

Best regards,

Chris
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

CryoGenID

Active Member
Licensed User
Longtime User
Thanks Erel!
Which JAVA Version are you using exactly?
As I have done it in a new VM as well as my normal Windows installation and both times the same error...

Thanks!
 
Upvote 0

CryoGenID

Active Member
Licensed User
Longtime User
Update (hopefully the last one): The installation of openJDK seems to have done the trick :)
Damn JAVA...

So for anybody who also has that problem: use openJDK! :)

Thanks to all of you who helped me out here :)

Best regards,

Chris
 
Upvote 0

Balasubramanian

Member
Licensed User
Longtime User
Recently I upgrade my b4i and mac host builder. when i try to B4i-Bridge app this error was shown, also I delete the key folder and create new one but same error occured. Kindly help me
 

Attachments

  • Image 04-06-23 at 9.19 AM.jpeg
    Image 04-06-23 at 9.19 AM.jpeg
    253.5 KB · Views: 150
Upvote 0
Top