iOS Question SecKeychainDelete: The specified keychain could not be found


Well-Known Member
Licensed User
Longtime User

I am not sure what I have done wrong and hoping someone might know where I have gone wrong..

I first had everything working some time ago, but deleted all the files in the 'Keys' folder and started again (as I had different issue in the past, and I deleted the files while I was trying to fix the issue).

I have everything working fine when developing the app on my iPhone, but now trying to upload the app to the App Store.

I followed the tutorial:

I also looked at the video tutorial.

However I couldn't work out what I had to do as the Apple developer console now look different than what it shows in the videos.

I gave it ago based on what I though was correct..

I created an Apple Distribution certificate.
Choose CSR which I generated from the B4i IDE
Downloaded the file to my Keys folder

I then created an Ad Hoc Distribution profile.
Downloaded the file to the Keys folder.

When I compile it in release mode I get the following error..

B4i Version: 6.00
Parsing code. (0.40s)
Building folders structure. (0.04s)
Compiling code. (0.83s)
Compiling layouts code. (0.14s)
Building Xcode project (0.50s)
Sending data to remote compiler. Error
Failed to parse certificate file.Error: security: SecKeychainDelete: The specified keychain could not be found.

Anyone know what the error message means, or did I do it wrong ?

I am using the local Mac builder.
Xcode 10.3
B4i Version 6.00

Is there any new videos or tutorials ?


B4X founder
Staff member
Licensed User
Longtime User
Upvote 0