• 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
Creating Frameworks, Xcode 2.5 vs. Xcode 3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating Frameworks, Xcode 2.5 vs. Xcode 3


  • Subject: Creating Frameworks, Xcode 2.5 vs. Xcode 3
  • From: Bob Clark <email@hidden>
  • Date: Wed, 19 Nov 2008 15:09:45 -0800

The (lengthy) build process for my application includes a step where I build a framework; then, in a later step, I use that framework.

Using Xcode 2.5 (and the 10.4u SDK), this all works fine. But using Xcode 3 (and the 10.5 SDK), my link (in the later step) fails.

Using nm, I can see that the symbols on the 2.5-generated (working) framework look like this:

S _Foo

and on the 3-generated (failing) framework they look like this:

s _Foo

... and, indeed, if I use an exported symbols file to specifically export symbol Foo, the nm output for the Xcode 3 generated framework looks like this:

S _Foo

and successfully links. (And if all I cared about was a single symbol, maybe I'd go ahead with this exported-symbols kludge and get back to work, but there are a lot of symbols and multiple frameworks involved, so I'd better pay attention to the queasiness in my gut warning me that I should probably understand what's going on.)


Was there a change from 2.5 to 3.0 that changed how frameworks are created? Or from the 10.4u SDK to the 10.5 SDK? It feels like there should be an obvious thing that I'm overlooking, but my google-fu is weak today; I'd welcome any pointers.


--Bob


-- Bob Clark Lead Software Development Engineer RealPlayer Mac/Unix RealNetworks, Inc.


_______________________________________________ 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: Changes in Framework Linking from 10.4 to 10.5
  • Next by Date: get rid of warning "suggest parenthesis around assignment used as truth value"
  • Previous by thread: Changes in Framework Linking from 10.4 to 10.5
  • Next by thread: get rid of warning "suggest parenthesis around assignment used as truth value"
  • Index(es):
    • Date
    • Thread