iOS Tutorial Local Mac Builder Installation

Status
Not open for further replies.

Rokiu86

Member
Licensed User
Longtime User
Hi.
I follow this tutorial: https://www.b4x.com/android/forum/threads/loading-b4i-on-mac-with-parallels-and-windows-7.47247/
And this same thread.

I have two diferents things in my case:
- MAC directory: /Users/userdirectory/Documents/B4i --> Piture1, but when I ejecute B4iBuildServer.jar on the Terminal, I can see --> Picture 2 (userdirectory in blue)
Why AppPath is /users/userdirectory??? How Can I change it???
Accordingly file key.txt, key folder, UploadedProjects folder, and config_example.txt are created on /users/usersdirectory.


In spite for this, I can install b4i-bridge on my device. But when I run my fist APP on the device appear : "Impossible to download B4i-Example app".
I saw in "http://192.168.1.148:port/test" a invalid key, maybe this is the problem.
And I found this thread: https://www.b4x.com/android/forum/threads/invalid-key.48554/
I execute "keytool -list -v -keystore key.jks -storepass 123456"
B4X:
mbpde...:key userdirectory$ keytool -list -v -keystore key.jks -storepass 123456

Tipo de almac?n de claves: JKS
Proveedor de almac?n de claves: SUN

Su almac?n de claves contiene 2 entradas

Nombre de alias: rootca
Fecha de creaci?n: 17-mar-2015
Tipo de entrada: trustedCertEntry

Propietario: EMAILADDRESS=support@basic4ppc.com, CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
Emisor: EMAILADDRESS=support@basic4ppc.com, CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
N?mero de serie: 92425c6446286aef
V?lido desde: Tue Jul 22 09:37:28 CEST 2014 hasta: Fri Jul 19 09:37:28 CEST 2024
Huellas digitales del certificado:
     MD5:  BC:DE:EC:52:AD:15:92:F0:E2:C4:F0:67:03:02:A6:24
     SHA1: EE:99:4D:77:D1:96:B9:05:2E:45:62:C9:2A:E3:4E:77:0C:7E:01:E1
     Nombre del algoritmo de firma: SHA1withRSA
     Versi?n: 3

Extensiones:

#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 6F 9F DF FD 2D 56 17 00   34 02 26 AA 95 33 37 80  o...-V..4.&..37.
0010: 74 79 6A B5                                        tyj.
]
]

#2: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
  CA:true
  PathLen:2147483647
]

#3: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 6F 9F DF FD 2D 56 17 00   34 02 26 AA 95 33 37 80  o...-V..4.&..37.
0010: 74 79 6A B5                                        tyj.
]

[EMAILADDRESS=support@basic4ppc.com, CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL]
SerialNumber: [    92425c64 46286aef]
]



*******************************************
*******************************************


Nombre de alias: jetty
Fecha de creaci?n: 17-mar-2015
Tipo de entrada: PrivateKeyEntry
Longitud de la cadena de certificado: 2
Certificado[1]:
Propietario: CN=192.168.1.148, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
Emisor: EMAILADDRESS=support@basic4ppc.com, CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
N?mero de serie: 4
V?lido desde: Tue Mar 17 13:17:23 CET 2015 hasta: Fri Mar 14 13:17:23 CET 2025
Huellas digitales del certificado:
     MD5:  DE:16:E3:34:4F:5D:E5:A0:3F:60:E2:15:0F:BA:F3:C7
     SHA1: 18:5B:77:6B:8E:6C:3E:C1:F3:27:EE:E0:29:2F:9B:75:E5:90:0F:D6
     Nombre del algoritmo de firma: SHA1withRSA
     Versi?n: 3

Extensiones:

#1: ObjectId: 2.16.840.1.113730.1.13 Criticality=false

#2: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: E8 85 B1 F7 48 9E B7 3E   95 22 57 96 20 E7 0B 7F  ....H..>."W. ...
0010: A0 B4 CF 0A                                        ....
]
]

#3: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
  CA:false
  PathLen: undefined
]

#4: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 6F 9F DF FD 2D 56 17 00   34 02 26 AA 95 33 37 80  o...-V..4.&..37.
0010: 74 79 6A B5                                        tyj.
]

]

Certificado[2]:
Propietario: EMAILADDRESS=support@basic4ppc.com, CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
Emisor: EMAILADDRESS=support@basic4ppc.com, CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
N?mero de serie: 92425c6446286aef
V?lido desde: Tue Jul 22 09:37:28 CEST 2014 hasta: Fri Jul 19 09:37:28 CEST 2024
Huellas digitales del certificado:
     MD5:  BC:DE:EC:52:AD:15:92:F0:E2:C4:F0:67:03:02:A6:24
     SHA1: EE:99:4D:77:D1:96:B9:05:2E:45:62:C9:2A:E3:4E:77:0C:7E:01:E1
     Nombre del algoritmo de firma: SHA1withRSA
     Versi?n: 3

Extensiones:

#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 6F 9F DF FD 2D 56 17 00   34 02 26 AA 95 33 37 80  o...-V..4.&..37.
0010: 74 79 6A B5                                        tyj.
]
]

#2: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
  CA:true
  PathLen:2147483647
]

#3: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 6F 9F DF FD 2D 56 17 00   34 02 26 AA 95 33 37 80  o...-V..4.&..37.
0010: 74 79 6A B5                                        tyj.
]

[EMAILADDRESS=support@basic4ppc.com, CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL]
SerialNumber: [    92425c64 46286aef]
]



*******************************************
*******************************************

Thaks!
 

Attachments

  • Picture 1.png
    28.8 KB · Views: 511
  • Picture 2.png
    101.3 KB · Views: 548

Rokiu86

Member
Licensed User
Longtime User
Hi.

I can download and install "B4i - Example", really 32 bit option wasn't selected. Thanks!

It's important AppPath? And SSL key?
 

susu

Well-Known Member
Licensed User
Longtime User
Where is B4i-Builder? I can't see it anywhere.
 

susu

Well-Known Member
Licensed User
Longtime User
Thanks Erel.
It will be helpful if you mention it in first post.
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
hello
I just bought B4I, I downloaded everything and configured as the instructions, took the test builder, but the following error.
where am I wrong?
thanks


 

Roberto P.

Well-Known Member
Licensed User
Longtime User
Sorry, but I can not understand! I just installed environment and I still practice.
where I find the file mobileprovision?
thanks
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
I followed all the steps. now comes this error message

 

Roberto P.

Well-Known Member
Licensed User
Longtime User
It'setting
I Think That The problem is The x code compiler

Thanks
 

JanPRO

Well-Known Member
Licensed User
Longtime User
Ok, then check if the server works correctly an open the following page: http://YourServerIP:51041/test

The compiler can't be the problem, because your are even not connected to the server, so there was no real compile process yet.
 

tufanv

Expert
Licensed User
Longtime User
Hello,

I have done everything written. I can navigate to test page and firewall is off . it displays:
B4X:
B4i Build Server

Build server is running.
Version: 2.01
Server time: 14:09:14
Mac SSL Key

Key IP: 192.168.0.104
SSL port: 51042
h files

iAd: 1.00
iAdMob: 1.21
iArchiver: 1.01
iBarcode: 1.03
iBLE: 1.25
iCore: 2.01
iDebug: 1.60
iDesigner: 1.20
iDropboxSync: 1.00
iEncryption: 1.02
iGoogleMaps: 1.01
iHttp: 1.01
iHUD: 1.00
iJSON: 1.0
iLeadbolt: 1.00
iLocation: 1.20
iMedia: 1.20
iNet: 1.20
iNetwork: 1.10
iPhone: 1.41
iRandomAccessFile: 1.25
iReleaseLogger: 1.00
iSideMenu: 1.01
iSQL: 1.01
iStore: 1.0
iStringUtils: 1.00
iTableView: 1.21
iWebSocket: 1.00
iXmlBuilder: 1.00
iXmlSax: 1.10
a files

libCore, size=3291136, modified=07/08/2015 08:03:20
libiAd, size=36880, modified=06/28/2015 10:14:38
libiAdMob, size=66208, modified=06/28/2015 10:14:46
libiArchiver, size=245120, modified=06/28/2015 10:15:06
libiBarcode, size=148616, modified=06/29/2015 07:10:14
libiBLE, size=136048, modified=06/29/2015 07:10:06
libiDebug, size=1022464, modified=06/30/2015 05:15:48
libiDesigner, size=849256, modified=06/29/2015 07:10:30
libiDropboxSync, size=80960, modified=06/29/2015 07:11:16
libiEncryption, size=67752, modified=06/29/2015 07:11:24
libiGoogleMaps, size=157696, modified=06/29/2015 07:11:34
libiHttp, size=121800, modified=06/28/2015 10:06:24
libiHUD, size=285496, modified=06/28/2015 10:13:58
libiJSON, size=53320, modified=06/29/2015 07:08:38
libiLeadbolt, size=11328, modified=06/29/2015 07:11:54
libiLocation, size=122192, modified=06/29/2015 07:12:00
libiMedia, size=250376, modified=06/29/2015 07:12:06
libiNet, size=532392, modified=06/29/2015 07:12:12
libiNetwork, size=260200, modified=06/29/2015 07:12:18
libiPhone, size=269104, modified=06/29/2015 07:12:26
libiRandomAccessFile, size=364864, modified=06/29/2015 08:41:04
libiReleaseLogger, size=49976, modified=06/29/2015 07:13:18
libiSideMenu, size=504704, modified=06/29/2015 07:08:56
libiSQL, size=360544, modified=06/29/2015 07:08:46
libiStore, size=51224, modified=06/29/2015 07:09:02
libiStringUtils, size=55328, modified=06/28/2015 10:14:08
libiTableView, size=194152, modified=06/29/2015 06:53:56
libiWebSocket, size=391936, modified=06/29/2015 07:12:50
libiXmlBuilder, size=151200, modified=06/29/2015 07:12:58
libiXmlSax, size=61888, modified=06/29/2015 07:13:02
libLeadboltOverlay, size=3721828, modified=12/01/2014 10:03:42

But i get the error on my computer while tring to compile. On terminal i see the operation begins and at the end it displays the compilation time and success:false
I can compile with hosted builder with no problems.
 
Last edited by a moderator:

pezhooman

Member
Licensed User
Longtime User
hi erel
i get an error since yesterday

Building designer app. 0.01
Building Xcode project 0.01
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = armv7
CODE_SIGN_IDENTITY = iPhone
CONFIGURATION_BUILD_DIR = /Users/mostafapezhooman/Desktop/Macserver/UploadedProjects/username/Payload
OTHER_CODE_SIGN_FLAGS = --keychain username
PRODUCT_NAME = B4i-Bridge
PROVISIONING_PROFILE = e4499e5b-bc8b-4f3e-b2e8-b97b57aefd47

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

Check dependencies
Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“Mostafa Pezhooman”) were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'


Error: ** BUILD FAILED **


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

what i shuld do?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…