I must to include *.jar files in my Xcode project so I decided to use j2objc to translate them into Objective C. I tried to configure my project with no success so I just downloaded a sample project from here and here. All of them cannot compile becouse of the same error
J2OBJC_HOME not correctly defined in Settings.xcconfig, currently set to '../j2objc-dist' Command /bin/sh failed with exit code 1
looks like I am using the wrong path, this is my Settings.xcconfig
J2OBJC_HOME = ${HOME}/j2objc;
HEADER_SEARCH_PATHS = "${J2OBJC_HOME}/frameworks/JRE.framework/Headers"; FRAMEWORK_SEARCH_PATHS = "${J2OBJC_HOME}/frameworks";
I tried many different paths but no success My j2objc folder path at this point is :/Users/username/j2objc
Thanks for any advice