I have a OS X application which previously worked. I'm not sure I have added J2ObjC correctly to my project. First I convert my Java code to Objective-C. Next I add the code to my project. Finally I follow these steps which previously worked. Any help would be greatly appreciated.
1. Download J2ObjC from GitHub, create a target directory then extract the contents of the zip file.
2. From the Project navigator view, click on the HelloClient node then select the Build Settings tab. Make the following changes (substitute the directory you extracted the J2ObjC files too for $distribution-path):
a.In User Header Search Paths, add $distribution-path/include
b.In Library Search Paths, add $distribution-path/lib.
c.In Other Linker Flags, add -ljre_emul. (jre_emul is J2ObjC's JRE emulation library).
Finally, select the Build Phases tab, open the Link phase and add:
a.The libz.dylib library, needed to support java.util.zip.
b.The Security Framework, to support secure hash generation.
c.The libicucore.dylib library, needed to support java.text.