Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

foidulus

macrumors 6502a
Original poster
Jan 15, 2007
904
1
I am writing a JNI library as a partial replacement to QTJava(which Apple is abandoning) for an app we have and it works well. As part of that effort I created a Cocoa class with a bunch of static methods that I would also like to use in a Cocoa GUI app. What is the best way of doing this so that there is only 1 copy of the code around. Is it possible to build an XCode project on the command line(I would like to stick with all command line tools if possible)
 
You can use xcodebuild to build but there is no way to add files to targets through the command line.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.