iOS Question Why do I get an multiple cer files error?

davepamn

Active Member
Licensed User
Longtime User
ERROR MESSAGE 1:
Multiple cer files found. You should either rename one to default.cer
or explicitly set the file with #CertificateFile or #ProvisionFile.

I rename my ios_development.cer to default.cer


ERROR MESSAGE 2:

Now I get the error message

Parsing code. 0.02
Compiling code. 0.08
Compiling layouts code. 0.01
Compiling debugger engine code. 0.86
Building Xcode project 0.02
Sending data to remote compiler. Error
Error: import "ios_distribution.cer" "-k" "b4i_default" "-A"
security: Error reading infile ios_distribution.cer: No such file or directory

How do I get the iOS_distribution.cer?
 
Last edited:

davepamn

Active Member
Licensed User
Longtime User
In my keys directory
b4i.keystore
b4i.p12
certSigningRequest.csr
iOS_development.cer
IOS_Team_Provisioning_Profile_.mobileprovision

B4X:
Parsing code.                           0.06
Compiling code.                         0.25
Compiling layouts code.                 0.05
Compiling debugger engine code.         1.19
Building Xcode project                  0.12
Sending data to remote compiler.        Error
Multiple cer files found. You should either rename one to default.cer
or explicitly set the file with #CertificateFile or #ProvisionFile.

The previous b4i release did not generate this error

How do I explicitly set the file with the #Certificatefile or #Provisionfile

Is this down in the b4i tool or in code
 
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
I was able to build a release version

Why is the debug version trying to connect the ide with a different ip address than the one provided in the mac app builder

How do I start b4i bridge at a specific IP address
 
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
The server app ip address is xx.xx.102.32
the device IP Address is show xx.xx.103.6

I have the b4i Device IP Address set to xx.xx.103.6

B4i compile and debug says, "Make sure the b4i-Bridge is started (xx.xx.103.6)

I have b4i-bridge started, but it does not communicate with the debug app

I don't think bridge is talking with the app

I install the app using iTunes

if I install the release version, the app runs.

If I install the debug version it waits to communicate with the ide and nothing happen, even when bridge is open. If I click on the app then the debug halts on the ide, so communication is occurring.

The safari install does not work. Nothing happens. It worked at one time.

The safari install process can communicate with the app server, but when you click install app, nothing happens
 
Last edited:
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
Yes
Ping is sending packets to the iPad device

I can start Bridge on the iPad

Bridge debug did work, at one time.

The b4i certificate shows "verified"

How does Bridge authenticate with the IDE?
 
Last edited:
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
I installed b4i-bridge using iTunes

If I try install it from the ide, I get the following error

tools->Build Server->Build b4i bridge app

B4X:
Building designer app.                  0.04
Building Xcode project                  0.03
Sending data to remote compiler.        Error
Multiple cer files found. You should either rename one to default.cer
or explicitly set the file with #CertificateFile or #ProvisionFile.

I need a b4i-bridge app that can be install from the app store
 
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
B4X:
#CertificateFile: ios_development.cer

My release app work ok. I deploy the app to the iPad using iTunes

I am trying to get my debug to work.
 
Upvote 0
Top