You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Clone the google/j2objc project with your Git tool of choice.
Navigate to the cloned project in Terminal.
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.
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?
The text was updated successfully, but these errors were encountered: