iOS Question Unable to create new keystore file (I'm connected to the builder)

Mike1970

Well-Known Member
Licensed User
Longtime User
Hi everyone, I'm trying to work my past iOS app but nothing is going in the right way... every step I do to solve a problem and more generates...
I had a problem with my Local Mac Builder that I explained and solved in this post

Now I want to create a new Private Sign Key from B4i but i get this error

B4X:
[IDE message - 11:15:04]
An error occurred.
Error creating keystore file.
Error creating key: Error: Error outputting keys and certificates
408FADE901000000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:342:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()

I wish to RESET EVERYTHING and start from scratch

Edit: I found this answer online talking about the "oldness" of the algorithm used to encrypt

Thanks in advance
 
Last edited:

Mike1970

Well-Known Member
Licensed User
Longtime User
First step is to try it with the hosted builder. I will send you a temporary id.

Note that you only need to create the private key once.
Ok with the hosted builder I managed to create a new Key, but when I compile i get the following crash
 

Attachments

  • B4i_LocalBuilder_Fail_2.txt
    4 KB · Views: 53
Upvote 0

Mike1970

Well-Known Member
Licensed User
Longtime User
Are you able to compile with the hosted builder?
No Erel, same error
B4i Version: 8.51
Parsing code. (0.25s)
Building folders structure. (0.06s)
Compiling code. (0.59s)
Compiling layouts code. (0.02s)
Compiling debugger engine code. (0.03s)
Building Xcode project. (0.14s)
Preparing project for builder. (0.58s)
Project size: 0.95 MB
Sending data to remote compiler. Error
Error: security: SecKeychainDelete: The specified keychain could not be found.

Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release PRODUCT_NAME=TankYou CONFIGURATION_BUILD_DIR=/Users/administrator/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: Michele Barbone (XA5N2D8CMD)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=7a868ec0-d333-4f27-b505-c0e7881c7b64 -arch arm64

User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Michele Barbone (XA5N2D8CMD)
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = TankYou
PROVISIONING_PROFILE = 7a868ec0-d333-4f27-b505-c0e7881c7b64

note: Using codesigning identity override: iPhone Distribution: Michele Barbone (XA5N2D8CMD)
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
Target 'B4iProject' in project 'B4iProject' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -x objective-c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --print-asset-tag-combinations --output-format xml1 /Users/administrator/Documents/UploadedProjects/<user id>/Images.xcassets

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details

Build description signature: 22319bf318c9c71d4d2140236279507b
Build description path: /Users/administrator/Documents/UploadedProjects/<user id>/build/XCBuildData/22319bf318c9c71d4d2140236279507b.xcbuilddata
/Users/administrator/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 17.4.99. (in target 'B4iProject' from project 'B4iProject')
/Users/administrator/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj: error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: Michele Barbone (XA5N2D8CMD)" in the keychain. To sign with this signing certificate, install its private key in your keychain. If you don't have the private key, select a different signing certificate for CODE_SIGN_IDENTITY in the build settings editor. (in target 'B4iProject' from project 'B4iProject')

Error: ** BUILD FAILED **
 
Upvote 0
Top