iOS Tutorial Installing B4i-Bridge and debugging first app

Status
Not open for further replies.

Adilson Jacinto

Active Member
Licensed User
Longtime User


Hi Erel, I having problems in running this on my device, the strange thing is I can connect to B4i bridge but when I run the debug it does install the app, but no errors are shown, so what am I doing wrong?

Thanks


Adi
 

Mark Turney

Active Member
Licensed User
Longtime User
We've all been there Adi ... Great job figuring it out!

Mark
 

AHilton

Active Member
Licensed User
Longtime User
I'm not able to build the B4i-Bridge App. B4i 2.00, XCode 7.0 beta 6 (7A192o), local builder, made the cer, csr and mobileprovision files. Here's the last bit of the error shown...


/Users/AndrewHilton/Desktop/macserver-2/UploadedProjects/azrctg5/B4iProject/main.m:17:2: error: use of undeclared identifier 'B4I'
B4I* bi = [self valueForKey"bi"];
^
/Users/AndrewHilton/Desktop/macserver-2/UploadedProjects/azrctg5/B4iProject/main.m:17:7: error: use of undeclared identifier 'bi'
B4I* bi = [self valueForKey"bi"];
^
/Users/AndrewHilton/Desktop/macserver-2/UploadedProjects/azrctg5/B4iProject/main.m:18:3: error: use of undeclared identifier 'bi'
[bi raiseUIEvent:nil event"application_fetchdownload" params:nil];
^
3 errors generated.

Error: ** BUILD FAILED **

The following build commands failed:
CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o B4iProject/main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
 

Mark Turney

Active Member
Licensed User
Longtime User
Do you still have Xcode 6 installed? I would see if perhaps it's because of some change in the beta of Xcode 7.
 

umberto_dev

Member
Licensed User
Longtime User
Hello. I bought B4i yesterday. I followed all the information. I have an hosted B4i Mac. When I try to compile to bridge on my iphone Safari I get the following message:
No build is currently available, Refresh the page if you have already compiled the project.
Click here to refresh page.
Of course I tryied to refresh but I got no difference.
On the IDE it says it's OK.
How can I fix it?
 

Attachments

  • idemsg.png
    15.1 KB · Views: 310
Last edited:

umberto_dev

Member
Licensed User
Longtime User
Hello Erel, btw I registered yesterday evening using another email, since I only had a link you sent me by mail when the new B4X was released, and my PayPal account was connected to that email.
I have bought B4i since I like B4A very much and I hope I can port my Android apps to IOS with a minumum effort.
Now I'm a bit in hurry since I have to deploy an app two days ago ;-)
Thank you so much for your precious help and your fantastic results with these producs.
 

Prosg

Active Member
Licensed User
Longtime User
i have the same problem of umberto_dev... how can i fix this ?
 

umberto_dev

Member
Licensed User
Longtime User
i have the same problem of umberto_dev... how can i fix this ?
Hello Prosg,
actually I found it was my fault. I omitted the last letter (the one that represents my VM on the on the hosted Mac Builder) when I typed the URL on my iPhone.
So my advice is to check what you typed on the URL bar on Safari, probably it's just a mistyping.
Good luck
 

Prosg

Active Member
Licensed User
Longtime User
The bai bridge work now... i can see for exemple the designer but when i compile i have an error :

Code Sign error: Provisioning profile does not match bundle identifier: The provisioning profile specified in your build settings (“fitnjob Development”) has an AppID of “com.fitnjob.prosg.*” which does not match your bundle identifier “com.fitnjob.prosg”.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.4'
Error: ** BUILD FAILED **


but i'm really sure i have a wildcar :

in certificats

com.fitnjob.prosg.*

FIX : I revoke & delete all certificats in my keys folder... i create them again and all works now. Regards
 
Last edited:

foakgul

Member
Licensed User
Longtime User
Hello,

I just got B4i and hosted MAC builder (developing on Windows for now)

I followed all steps necessary to build the Bridge app but I keep getting the error message:

B4i version: 2.30
Parsing code. (0.00s)
Compiling code. (0.02s)
Building designer app. (0.01s)
Building Xcode project (0.01s)
Sending data to remote compiler. Error

Steps I took:
0) B4I certificate installed on device
1) created app id at Apple (com.XYZ.*)
2) private key signed
3) created certificate as instructed
4) created mobile provisioning file as instructed
5) test device UDID entered for previous step
6) server settings have been modified with my user ID and "use hosted builder" selected
7) keys folder set
8) app package name has been selected com.XYZ.bridge

I actually did these steps for a second time after deleting all certificates and mobile provisioning files from Apple to start fresh but still does not work.

Anything I'm missing?

Thanks!
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…