Finding library build product outside of Xcode?
Finding library build product outside of Xcode?
- Subject: Finding library build product outside of Xcode?
- From: Rick Mann <email@hidden>
- Date: Wed, 26 Dec 2012 02:27:11 -0800
I'm working on a Java project that has a JNI library. I've got Xcode building the library and everything works, but it's not very portable (to other Macs). I need to bundle the built library (a dylib) into my Java build product, a .jar. That's built with an ant script outside of Xcode.
Unfortunately, my ant script doesn't know where the built library is after Xcode runs (it doesn't have access to Xcode's build settings). So, I'd like to just copy the library to a spot relative to the Xcode project, because that will always be in the same place relative to the ant build script.
What's the right way to do that? Just add a script that runs after building? Or does Xcode support that operation directly.
I could just redirect Xcode to put its build products locally, but I'd rather not pollute that space with everything else.
--
Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden