Giter Club home page Giter Club logo

Comments (3)

wed9620 avatar wed9620 commented on June 23, 2024

+1

from j2objc.

adil-hussain-84 avatar adil-hussain-84 commented on June 23, 2024

The maintainers of the J2ObjC library no longer produce regular releases of J2ObjC and expect users of J2ObjC to build it from the sources and for us to specify what architectures we want to build for. (See this comment by @tomball for a demonstration of this expectation.) In order to build J2ObjC from the sources, check first that your machine meets the Requirements. Then:

  1. Clone the google/j2objc project with your Git tool of choice.

  2. Navigate to the cloned project in Terminal.

  3. Run the following commands to produce a dist folder which contains the J2ObjC translator and supporting files for the architectures that you require (in code example below, I'm building for the arm64 and x86_64 architectures):

    export JAVA_HOME=$(/usr/libexec/java_home -v 11)
    export J2OBJC_ARCHS="iphone64 simulator64 simulator"
    make -j4 clean
    make -j4 dist
    cd jre_emul
    ./build_subset_frameworks.sh

    If you want to increase the number concurrent tasks that are run as part of the build, change the -j4 option from -j4 to -j<n> where n is a number greater than 4.

For more information about how to build J2ObjC from the sources, see here.

from j2objc.

lihaiyang123 avatar lihaiyang123 commented on June 23, 2024

Thanks!

from j2objc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.