Search code examples
j2objc

Custom build rule not getting executed for Xcode 6.3


I am trying to get j2Objc working with the XCode build rules setup as explained in the j2Objc Wiki. The problem that I am facing is that the custom build rule which I add for compiling the java files doesn't seem to get executed at all. I have tried to add all kinds of simple build rules which will just echo something but nothing shows up in the build log.

Reference image from my project

The app is a simple single view iOS only application.

Can anyone help me out with figuring out why custom build rules will not work ?


Solution

  • Make sure the Process dropdown has "Java source files" Also, make sure you've added your Java source to the Xcode project. See steps 1 and 7 of the wiki documentation that you referenced for more details.