iOS Question Missing private key for signing certificate

Leandro Vaufran Stievano

Member
Licensed User
good evening,
I installed the B4i and managed to compile a small example using the Emulator, but I would like to use the physical iPhone for testing, I get the error message below
Has anyone ever experienced this?
I have a developer account with Apple.
I have a local account.

error:

B4i Version: 7.00
Parsing code. (0.01s)
Building folders structure. (0.04s)
Compiling code. (0.14s)
Building designer app. (0.02s)
Building Xcode project. (0.64s)
Preparing project for builder. (0.19s)
Project size: 0.23 MB
Sending data to remote compiler. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release PRODUCT_NAME=B4i-Bridge CONFIGURATION_BUILD_DIR=/Users/leandroesteves/Documents/Desenvolvimento/B4iBuildServer/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: Volpecom Sistemas e Consultoria Ltda ME (5YCAXP7PFX)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=24559aa9-338a-4206-96ec-cfd9f2f461d2 -arch armv7 -arch arm64

Build settings from command line:
ARCHS = armv7 arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Volpecom Sistemas e Consultoria Ltda ME (5YXXXP7XXX)
CONFIGURATION_BUILD_DIR = /Users/leandroesteves/Documents/Desenvolvimento/B4iBuildServer/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = B4i-Bridge
PROVISIONING_PROFILE = 244459aa9-338a-4206-96ec-cfd9f2f461d2

note: Using new build system
note: Using codesigning identity override: iPhone Distribution: Volpecom Sistemas e Consultoria Ltda ME (5YXXXP7XXX)
note: Planning build
note: Constructing build description
error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: Volpecom Sistemas e Consultoria Ltda ME (5YXXXP7XXX)" 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')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'B4iProject' from project 'B4iProject')


Error: ** BUILD FAILED **
 

Attachments

  • 1613998409022.png
    1613998409022.png
    312 bytes · Views: 167

Leandro Vaufran Stievano

Member
Licensed User
Hi !
Tank´s for your help, but same error :

B4i Version: 7.00
Parsing code. (0.09s)
Building folders structure. (0.13s)
Compiling code. (0.35s)
Building designer app. (0.05s)
Building Xcode project. (1.60s)
Preparing project for builder. (0.93s)
Project size: 0.23 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=B4i-Bridge CONFIGURATION_BUILD_DIR=/Users/erel/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: Volpecom Sistemas e Consultoria Ltda ME (xxxxx)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=99999999999 -arch armv7 -arch arm64

Build settings from command line:
ARCHS = armv7 arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Volpecom Sistemas e Consultoria Ltda ME (5YCAXP7PFX)
CONFIGURATION_BUILD_DIR = /Users/erel/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = B4i-Bridge
PROVISIONING_PROFILE =

note: Using new build system
note: Using codesigning identity override: iPhone Distribution: Volpecom Sistemas e Consultoria Ltda ME (XXXX)
note: Planning build
note: Constructing build description
error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: Volpecom Sistemas e Consultoria Ltda ME (XXXXXX)" 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')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'B4iProject' from project 'B4iProject')


Error: ** BUILD FAILED **
 
Upvote 0
Top