iOS Question Build B4i-Bridge app failing

IamTrying

Active Member
Licensed User
I made certificate and then uploaded the CSR. But when i Build B4i-Bridge app i get following:

B4X:
B4i Version: 4.30
Parsing code.    (0.00s)
Compiling code.    (0.05s)
Building designer app.    (0.02s)
Building Xcode project    (0.10s)
Sending data to remote compiler.    Error
Out: Build settings from command line:
    ARCHS = armv7 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-Bridge
    PROVISIONING_PROFILE = 447c7941-a5f4-4d2b-87f9-xxx

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

Check dependencies
Provisioning profile "b4idevelopment" doesn't include signing certificate "iPhone Developer: Sxxxxxxxxxxxx".
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)

From browser when i open B4I-Bridge page i get following in safari:

 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Based on the error message the provision profile doesn't match the certificate.

Note that you don't need a development certificate. Only a production certificate with an ad hoc provision profile.

I recommend you to start with the hosted builder. Once you get it working switch to the local builder. I can send you a temporary id if you don't have one.
 
Upvote 0

IamTrying

Active Member
Licensed User
@Erel: Very confusing i must be missing something.

in my apple developer console.
- i have old certificates and old provision profiles (with team) and also old published app using objective-C in past.
- how can i use them (Existing certificates) instead of making absolutely new once?

FYI. i am trying to use Hosted builder. Hosted builder is running http://192.168.1.17:51041/, as you posted above screenshot
 
Upvote 0

IamTrying

Active Member
Licensed User
OK

- I did exactly like tutorial but still failing
- i was confused local and hosted. so i have license for the local. How can i get testing "Hosted builders" to see how the whole process works. After that
i will move to local builders.
 
Upvote 0

IamTrying

Active Member
Licensed User
- I have received the CODE twice today (via email) and the time when i purchased my license (via email).
- Now i used that CODE (Hosted) as below:


And retried the same way.
But still its failing with same error: when i go to > Tools > Build Server > Build B4i-Bridge App

B4X:
B4i Version: 4.30
Parsing code. (0.00s)
Compiling code. (0.05s)
Building designer app. (0.02s)
Building Xcode project (0.10s)
Sending data to remote compiler. Error
Out: Build settings from command line:
 ARCHS = armv7 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-Bridge
 PROVISIONING_PROFILE = 447c7941-a5f4-4d2b-87f9-xxx

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

Check dependencies
Provisioning profile "b4idevelopment" doesn't include signing certificate "iPhone Developer: Sxxxxxxxxxxxx".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)
 
Upvote 0

IamTrying

Active Member
Licensed User
It worked.

- I removed my certificates, provision profile, wildcards
- i removed all the keys from C:\...B4I
- And then recreated them all after that i can see as following:



- After run all went fine.


 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…