• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Finding library build product outside of Xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Errors linking against libLLVMCore
  • Next by Date: Re: Errors linking against libLLVMCore
  • Previous by thread: Re: Errors linking against libLLVMCore
  • Next by thread: Missing English.lproj folder - is this a necessity?
  • Index(es):
    • Date
    • Thread