iOS Question compilation problem with B4i-Bridge (sorry, I was wrong, it's for B4i)

voxel

Member
Licensed User
Hello,

I have a compilation problem with B4i-Bridge (with Buid-Release it works fine).
I am with version 8.30 of B4i.
Here is the error during compilation:

B4X:
B4i Version : 8.30
Analyse du code.    (0.71s)
Building folders structure.    (0.04s)
Exécution d'une action personnalisée.    (0.04s)
Compilation du code.    (0.46s)
Etablissement de l'application 'designer'.    (0.01s)
Etablissement du projet Xcode.    (0.09s)
Préparation du projet pour le générateur    (0.08s)
    Taille du projet: 0.25 MB
Envoi de données au 'Remote Compiler'.


....

/Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/main.m:17:2: error: use of undeclared identifier 'B4I'
        B4I* bi = [self valueForKey:@"bi"];
        ^
/Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/main.m:17:7: error: use of undeclared identifier 'bi'
        B4I* bi = [self valueForKey:@"bi"];
             ^
/Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/main.m:18:3: error: use of undeclared identifier 'bi'
        [bi raiseUIEvent:nil event:@"application_fetchdownload" params:nil];
         ^
3 errors generated.

warning: unexpected C compiler invocation with specified outputs: '/Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/main.m' (for input: '/Users/administrator/Documents/UploadedProjects/<user id>/main.m') (in target 'B4iProject' from project 'B4iProject')

Error: ** BUILD FAILED **


The following build commands failed:
    CompileC /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
(1 failure)


Thanks for your help.
 

voxel

Member
Licensed User
It's OK with a new project.

I found the problem. When i put "main.m" in folder Special, i have the problem.
Sorry
 
Last edited:
Upvote 0
Top