j2objc

j2objc eclipse plugin is not working

╄→尐↘猪︶ㄣ 提交于 2020-01-05 07:46:44
问题 I am trying to use the J2objC plugin to convert a working java project. I have downloaded the latest version of the plugin and am using Eclipse Juno. I've got J2objC 0.8 on my machine. I have set an output path and have tried a few different settings within the plug-in. However, no files of any kind are written/copied/exported anywhere when I run the plug-in. The console reads as follows: J2OBJC Conole Source Directory: /Users/name/Desktop/folder/Workspace/projectfolder Destination Directory:

Can Google's j2objc process and convert binary JAR files?

人盡茶涼 提交于 2020-01-04 05:08:11
问题 I'm looking to get started with mobile development (specifically iOS), and while I'm usually pretty good at learning languages, Objective-C confounds me at almost every turn. So, looking at j2objc (because I already know Java), I think it might fit the bill in terms of what I'm looking for. My question, though, is pretty simple: can the converter properly handle a situation where my source code references, say, Apache Commons code in a binary-only (bytecode) JAR file? 回答1: No, j2objc requires

J2Objc Translator not generating files in Eclipse Luna

笑着哭i 提交于 2019-12-25 01:24:32
问题 I am using Eclipse Luna in Mac of version 10.10. I tried installing J2Objc plugin from Eclipse Market Place. The following are the configurations to J2Objc preference, properties, Output folder and Output. But the files are not generated in respective directory. Kindly prefer a solution. J2Objc preference Properties Output folder Output 回答1: Finally I found a solution: J2Objc in Eclipse Market place installs the master package. Referencing it's root in j2Objc Preference(1st image) fails

j2objc Compile error: Undefined symbols for architecture arm64:

人盡茶涼 提交于 2019-12-25 01:22:01
问题 i get the following error when i run j2objcc -o blssmibi BLSSMIBI.o Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_Curve", referenced from: objc-class-ref in BLSSMIBI.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) what should i do to fix this? 回答1: There's no Curve class anywhere in j2objc's libraries, so my guess it's a dependency from the Java file that you used to generate BLSSMIBI (maybe that's

XCode mvn: No such file or directory

◇◆丶佛笑我妖孽 提交于 2019-12-12 01:55:37
问题 I have installed Maven on my Mac OSX Yosemite, maven -version on terminal displays the version. Initially I tried with brew even that was successful but it did not resolve the issue in XCode. I am new to Mac OSX as well as XCode, so please step by step guide is much appreciated. I am not sure if any plugin is required to build the project Building j2objc annotations mvn generate-resources dependency:sources make[1]: mvn: No such file or directory make[1]: *** [/Users/salmansiddiqui/Documents

maven - j2objc - No goals have been specified for this build

巧了我就是萌 提交于 2019-12-11 12:34:46
问题 I am trying to build j2objc but get the next error when I issue a make dist command: [ERROR] No plugin found for prefix 'dependency' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/lera/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to

资源分享-开发工具-Java2ObjC

和自甴很熟 提交于 2019-12-04 18:32:41
本文来自我我的博客: https://www.lwxshow.com/soft/resource-sharing-tools-java2objc.html 今天为大家推荐一款:java转objective-c代码工具. 大家都想直接将java代码转成objective-c代码,手工很麻烦,怎么办咧!这个工具就很好。google出品,必属精品呀! 1.下载j2objc https://code.google.com/p/j2objc/ 1.1需要安装java 7版本或者更高. 去oracle官网下载java 7 2.编译安装. 引用官方原文: 项目新闻 (2013年6月6日)我们很高兴地宣布释放J2ObjC 0.8。这些变化包括: 全文翻译支持 Java 7的新的语言特性 ,包括尝试与资源,捕捞多,在switch语句中的字符串,二进制文字,并强调了在数字文字。 的cycle_finder集成到JRE构建,消除在该库中的所有周期。 进口改进的检测和生成。 的ARC构建支持JRE仿真库。 大量的bug修复和代码生成的改进。 我们感谢J2ObjC社会的支持和贡献。我们期待着继续改善现有的项目,并扩大它在未来提供的工具和库 什么J2ObjC J2ObjC是一个开源的命令行工具,从谷歌的Java代码转换的Objective-C 的 ios (iPhone / iPad的)平台。