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]
_______________________________________________
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