No need when using the hosted builder.I installed the B4i profile, and proceeded to build B4i-Bridge.
B4i Version: 6.80
Parsing code. (0.00s)
Building folders structure. (0.02s)
Compiling code. (0.00s)
Building designer app. (0.01s)
Building Xcode project (0.15s)
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/erel/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: Michel Bujardet (5Q9GY3J7MT)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=62aed3f6-b354-4633-8ad5-30def591b6bd -arch armv7 -arch arm64
Build settings from command line:
ARCHS = armv7 arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Michel Bujardet (5Q9GY3J7MT)
CONFIGURATION_BUILD_DIR = /Users/erel/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = B4i-Bridge
PROVISIONING_PROFILE = 62aed3f6-b354-4633-8ad5-30def591b6bd
note: Using new build system
note: Planning build
note: Constructing build description
error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: Michel Bujardet (5Q9GY3J7MT)" 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 **
error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: Michel Bujardet (5Q9GY3J7MT)" 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: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: Michel Bujardet (5Q9GY3J7MT)" 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 **
This error happens when the certificate and provision profile do not match. Delete all files in the keys folder and start from scratch. It will work.
I assume that you are using the hosted builder.
error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: Michel Bujardet (5Q9GY3J7MT)" 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')
B4i Version: 6.80
Parsing code. (0.00s)
Building folders structure. (0.02s)
Compiling code. (0.00s)
Building designer app. (0.01s)
Building Xcode project (0.13s)
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/erel/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: Michel Bujardet (5Q9GY3J7MT)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=00e1d9f6-563d-4e6b-9f39-a414408f2273 -arch armv7 -arch arm64
Build settings from command line:
ARCHS = armv7 arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Michel Bujardet (5Q9GY3J7MT)
CONFIGURATION_BUILD_DIR = /Users/erel/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = B4i-Bridge
PROVISIONING_PROFILE = 00e1d9f6-563d-4e6b-9f39-a414408f2273
note: Using new build system
note: Planning build
note: Constructing build description
error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: Michel Bujardet (5Q9GY3J7MT)" 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 **
I was just writing the same thing.I'm not sure that it's related but why is your certificate ios_distribution.cer younger than the csr file? From my understanding, the csr file is created first and used to create the distribution certificate.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?