- Notifications
You must be signed in to change notification settings - Fork26
Description
there many things missing in README things like
./genswift.sh your.package your.jar not works for a JAR A which is dependent on JAR B or C.
it's solved by jar merging idea! I decompiled the jar and added to InteliJ !
created artifact JAR and tried swiftJava jar command worked 100% fine! (Credits to the people who helped me)
There are many things missing in README it's really a pain point for beginner to do this with minimal documentation.
macOS development needs following details in README.
after the generating files from JAR files next step for using it inside the XCODE for Running the project will be great!
what I have tried:
- Create sample cocoa swift app from xcode.
2)Placed generated code in the xcode sample project folder. (after ./genswift.sh your.package your.jar)
3)how swiftjava.jar is generated ? we need to runswift build -Xlinker -L$JVM_LIBRARY_PATH -Xlinker -rpath -Xlinker $JVM_LIBRARY_PATH -Xlinker -ljvm ?
4>swiftjava.jar needed configured at xcode?
what are other steps? is there any build command needs to be added to configure while directly adding generated files in xcode cocoa app for connecting with JNI and jar file? where to put JAR file inside project folder structure? what are the frameworks needs to be added?
it will great if we get separated step by step instruction for using SwiftJava for Android, macOS etc!