• 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
Unable to directly link against dynamic library libicucore
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to directly link against dynamic library libicucore


  • Subject: Unable to directly link against dynamic library libicucore
  • From: Sam Krishna <email@hidden>
  • Date: Sun, 30 Mar 2008 16:49:30 -0400

(Running XCode 3.0 + Leopard 10.5.2 on intel)

I'm trying to use RegexKitLite to add some simple regex support for a Foundation tool. I've followed the instructions listed here to add the libicucore dynamic library to the 'External Frameworks and Libraries' folder (located at /Developer/SDKs/MacOSX10.5.sdk/usr/lib/ libicucore.dylib).

After adding it, I've tried to build the tool, and I keep getting this warning:

warning: skipping file '/Developer/SDKs/MacOSX10.5.sdk/usr/lib/ libicucore.dylib' (unexpected file type 'compiled.mach-o' in Frameworks & Libraries build phase)

Now, I can workaround this by putting in the '-licucore' flag in the "Other Linker Flags" in the Build Inspector, but it seems kinda bogus.

Two Qs:

(1) Why would I get the above warning, given that 'compiled.mach-o' is the native binary format on X?
(2) How do I directly link against said library w/o modifying the "Other Linker Flags"?


Thanks!


_______________________________________________ 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: Xcode not running my build products
  • Next by Date: C++ templates: no support for 'export' ?
  • Previous by thread: iPhone 2.0 && Xcode 3.1
  • Next by thread: C++ templates: no support for 'export' ?
  • Index(es):
    • Date
    • Thread