iOS Question Compile Apps with older Builder

Discussion in 'iOS Questions' started by Blueforcer, Nov 8, 2018 at 9:47 PM.

  1. Blueforcer

    Blueforcer Active Member Licensed User

    After a year break I wanted to work with B4i again. Unfortunately my license expired in January.
    So I'm still using B4i 4.81.
    Is it still possible to create apps without a license with an older B4i version? Because since I don't have access to the Hosted Builder I downloaded the build server (4.6) from the same email as B4i 4.81 from January and ran it on my Mac.
    Unfortunately I get the following message when compiling:
    Code:
    /Users/Blueforcer/UploadedProjects/<user id>/B4iProject/b4i_main.h:1:9: fatal error: 'iCore.h' file not found
    Im using the latest Xcode 10.1 on MacOS 10.13.6
    All Libraries are available in the lib folder next to the Builder jar.
    If i open the project in Xcode it also tells me that iCore.h is missing.
     
  2. jahswani

    jahswani Active Member Licensed User

  3. Blueforcer

    Blueforcer Active Member Licensed User

    I think this doesnt belong to me.
    Im already use much higher versions of all programms.
    But cant find similar Thread for ios 12.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Download Xcode 9. Xcode 10 requires a newer version.
     
  5. Blueforcer

    Blueforcer Active Member Licensed User

    Is Xcode 9.1 (Build 9B55) still too high? got the same error with it.
    You can find the whole error message in the attachment
     

    Attached Files:

    Last edited: Nov 10, 2018 at 10:55 AM
  6. Erel

    Erel Administrator Staff Member Licensed User

    1. I've sent you a temporary id for the hosted builder. Please try it.

    2. B4i v4.8 is compatible with Xcode 9.1.

    3. What do you see when you start the builder server?
     
  7. Blueforcer

    Blueforcer Active Member Licensed User

    1. I have no iPhone at the moment (its on repair). Because i can't use hosted builder without an existing phone, i want to use the simulator first. but thats only possible with a own build server

    this is the server output:
    Code:
    Stephans-MBP:~ Blueforcer$ java -jar /Users/Blueforcer/B4iBuildServer/B4iBuildServer.jar
    Build 
    server version: 4.6
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2018-11-11 13:02:06.930:INFO::main: Logging initialized @411ms to org.eclipse.jetty.util.log.StdErrLog
    Loading default configuration 
    file.
    AppPath=/Users/Blueforcer
    Mac version: 10.13.6
    Xcode 
    path: /Applications/Xcode.app/Contents/Developer
    Xcode version: Xcode 
    9.1
    Build version 9B55

    2018-11-11 13:02:07.319:INFO:oejs.Server:main: jetty-9.4.z-SNAPSHOT
    2018-11-11 13:02:07.381:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
    2018-11-11 13:02:07.381:INFO:oejs.session:main: No SessionScavenger set, using defaults
    2018-11-11 13:02:07.383:INFO:oejs.session:main: Scavenging every 660000ms
    2018-11-11 13:02:07.394:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@9d5509a{/,file:///Users/Blueforcer/www,AVAILABLE}
    2018-11-11 13:02:07.404:INFO:oejs.AbstractNCSARequestLog:main: Opened /Users/Blueforcer/logs/b4j-2018_11_11.request.log
    2018-11-11 13:02:07.439:INFO:oejs.AbstractConnector:main: Started ServerConnector@37271612{HTTP/1.1,[http/1.1]}{0.0.0.0:51041}
    2018-11-11 13:02:07.803:INFO:oejus.SslContextFactory:main: x509=X509@932bc4a(jetty,h=[192.168.178.38],w=[]) for SslContextFactory@d29f28(file:///Users/Blueforcer/key/key.jks,null)
    2018-11-11 13:02:07.804:INFO:oejus.SslContextFactory:main: x509=X509@2fd1433e(rootca,h=[],w=[]) for SslContextFactory@d29f28(file:///Users/Blueforcer/key/key.jks,null)
    2018-11-11 13:02:07.966:INFO:oejs.AbstractConnector:main: Started ServerConnector@6bd61f98{SSL,[ssl, http/1.1]}{0.0.0.0:51042}
    2018-11-11 13:02:07.967:INFO:oejs.Server:main: Started @1457ms
    Build server is ready
    https://192.168.178.38:51042
    http://192.168.178.38:51041
    Build server version: 4.60
    success: true, 65
    13:02:31| Compilation time: 2846, a46nen2, queue: 0, success: false
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    The libraries path should be: /Users/Blueforcer/Libs

    Do you see the libraries there? Do you see iCore.h?
     
  9. Blueforcer

    Blueforcer Active Member Licensed User

    Wait...must the lib folder one folder below the server path?
    Now the path to the iCore is /Users/Blueforcer/B4iBuildServer/Libs
    the Server Jar ist in /Users/Blueforcer/B4iBuildServer
    Bildschirmfoto 2018-11-11 um 16.56.53.png
     
  10. Erel

    Erel Administrator Staff Member Licensed User

    I see the problem. You should go to /Users/Blueforcer/B4iBuildServer and start the server from this folder.
     
  11. Blueforcer

    Blueforcer Active Member Licensed User

    well...thank you!
    thought running the jar directly with the given path is the same.. thanks for the hint!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice