iOS Question [SOLVED] Can't build anymore

JordiCP

Expert
Licensed User
Longtime User
Sure I have done something wrong, but don't know what, and this time I am in a real hurry :(:(

Some weeks ago I made all the steps to set up certificates, provisioning profiles, build bridge ... and started to develop an app which I was translating from B4A. Then I stopped it for some weeks.
Today I went back into it because I must show it to my customer, and decided to use B4i 4.00.

I have debugged some things, and the I have built a release version.
Then I wanted to build again a debug version, and gave me an error, don't remember which.

Now comes the drama: just to check, I went to the menu>Tools>Private sign key, entered again the ones I had used before, and clicked "Create New". Since then, nothing works
As I had a zip copy of all my key/certificates I put them again in the B4i/Keys folder and reinstalled in windows, just in case...but didn't work

Whatever I do, I always get this error

B4X:
B4i version: 4.00
Parsing code.  (0.00s)
Compiling code.  (0.04s)
Compiling layouts code.  (0.00s)
Compiling debugger engine code.  (0.84s)
Building Xcode project  (0.05s)
Sending data to remote compiler.  Error
Out: Build settings from command line:
  ARCHS = arm64
  CODE_SIGN_IDENTITY = iPhone
  CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
  OTHER_CODE_SIGN_FLAGS = --keychain <user id>
  PRODUCT_NAME = B4i Example
  PROVISIONING_PROFILE = 88cca262-b7eb-4627-863e-b472687cf320

=== BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===

Check dependencies
Provisioning profile "Development profile" doesn't include any certificate for which the matching private key is installed in the keychain.
Code signing is required for product type 'Application' in SDK 'iOS 10.1'


Error: ** BUILD FAILED **


The following build commands failed:
   Check dependencies
(1 failure)

Any ideas? Pls help
 

JordiCP

Expert
Licensed User
Longtime User
Could solve it after searching the forum (what else? ;))

Restoring the correct files was just a part, but an additional step was needed
B4X:
Tools - Private Sign Key - Set Password.

back into it, the night will be long :)
 
Upvote 0
Top