I am developing a B4I project for a company. The company's remote team also needs to be able to compile it.
They have their own B4I, an Apple developer account, so can normally generate certificates and build apps.
I've been granted access to their Apple developer account and am able to generate certificates, but...
Here is where I am missing something: they have generated a certificate/provisioning profile for the current app, and can use it normally.
If I try to build the app (using hosted builder)
using their certificates (have tried both options, first only copying the .cer/.mobileprovision files to my keys folder, and later also
replacing the whole keys folder), I always get the same error:
error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: xxxxxxxxx (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')
I have also installed the new certificate in my PC (not sure if it was necessary)
I had done it in the past, but always had generated myself the certificates/provisioning profiles from my PC as the remote team didn't need to build the app.
As I understand it, it should be possible, but perhaps I'm missing something?