Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cannot link directly with WebCore..




Hi,

I haven't built an app with an embedded webkit for awhile and in doing so today I got this linker error:

ld: cannot link directly with /Users/tthomas/Developer/Common-Builds/ Release/WebCore.framework/WebCore. Link against the umbrella framework 'WebKit.framework' instead.


I've gone through the following steps to embed the frameworks in my app:
- built yesterday's WebKit using build-webkit
- opened each project in XCode 3 and altered the 'install directory' to be '@executable_path/../Frameworks' and rebuilt the frameworks (JavascriptCore/Glue, WebCore, WebKit).
- I checked each framework using otool -L to make sure that all the embedded frameworks were point to @executable_path
- I then duplicated my app target, added the embedded frameworks to the project, added a copy/build phase to copy the frameworks into the app and built the app. It fails on the linker.


I looked through the WebCore target options to see if there was a 'umbrella framework' setting but I didn't see anything. What do I need to do to WebCore.framework such that I can link against it?

[While writing this email I was also messing around with building my app and found if I removed WebCore.framework from the 'Link Binary with Libraries' phase of my target then the app was able to build and run without error. This seems like the wrong way to go solve the problem though]


Thanks,

todd


--- Todd Thomas email@hidden http://tsquaredsoftware.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.