Comments (3)
+1
from j2objc.
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 thearm64
andx86_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>
wheren
is a number greater than 4.
For more information about how to build J2ObjC from the sources, see here.
from j2objc.
Thanks!
from j2objc.
Related Issues (20)
- iOS 17, beta 1: new exceptions in StreamDecoder HOT 5
- Unable to build J2ObjC with Java 1.8 HOT 2
- Add info about which signing keys will be used for published artifacts. HOT 1
- Is this convert JAVA 11 code? HOT 3
- a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HOT 7
- Facing permission denide issue while converting java code to objective C HOT 1
- The 'build_subset_frameworks.sh' script fails
- CI Workflow Runs are failing HOT 1
- Cannot use JRE.xcframework with Xcode 15 Release Candidate due to code signing issue HOT 13
- JRE_Core.xcframework is missing headers HOT 2
- make dist fails make: *** [jre_emul_jars_dist] Error 2 HOT 9
- Headers information is missing from the XCFrameworks' "Info.plist" files HOT 6
- Encountering "multiple commands produce 'module.modulemap'" error when linking a target with any two of the J2ObjC XCFrameworks HOT 1
- JAVA code is configured with JVM, how do I configure JVM into J2OBJC? HOT 1
- My
- Myself
- Files with same name HOT 3
- Size of JRE.xcframework exceeds 75MB limit of appstoreconnect HOT 2
- bitwise error ( sudo make dist command ). JDK 15 osx Sonoma 14.1.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from j2objc.