Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When can you update the new version? #2194

Open
lihaiyang123 opened this issue Sep 27, 2023 · 3 comments
Open

When can you update the new version? #2194

lihaiyang123 opened this issue Sep 27, 2023 · 3 comments

Comments

@lihaiyang123
Copy link

The current 2.8 version does not run on xcode15. Could you please update a version to solve the problem of error when running on xcode15?

@wed9620
Copy link

wed9620 commented Sep 27, 2023

+1

@adil-hussain-84
Copy link
Contributor

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.

@lihaiyang123
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants