Generate the java and cpp sources in Xcode.